The MDF in App_Data folder works for websites and web applications and only works with SQL Server Express (2005, 2008, 2008 R2). This is the version that is usually installed with Visual Studio, and which works great in the development environment.
SQL Server Express has several limitations on
- number of CPUs used (1)
- Max. database size (4 GB for 2005/2008, 10 GB for 2008 R2).
- Max. The amount of RAM used (not more than 1 GB).
and much more. This is a great and free way to get into SQL Server development.
If you need the SQL Server performance level, then you are probably going to use the full version â Web, Workgroup, Standard, Enterprise, or any edition of the highest level DataCenter.
There's a fairly comprehensive Compare Microsoft SQL Server 2008 R2 editions - go check it out!
The programming experience should also be identical - in fact it is just a question about the ADO.NET connection string (and whether you need to have an instance of SQL Server Express installed locally).
The format of the database file is completely identical, so you can absolutely start with the .mdf file in the App_Data folder, and then move up to the full version of SQL Server - just attach the MDF file to the server instance, and now use this database. It works smoothly.
marc_s
source share