Click here to Skip to main content
15,886,799 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
Why and when to use .mdf file is asp.net c#.What is the advantages and disadvantages of .mdf file and What is difference between .mdf file and orignal sqlserver database?
Posted

1 solution

MDF is the extension for all SQL database files, it does not matter if it attached to some remote SQL server or you have it locally (or even embedded)...
When you directly attach your application to some local MDF file you are using an embedded version of the SQL server engine (that have some limitations). This kind of usage is good for small databases, in which case you do not want the user to install the whole SQL server pack, but you provide him with an embedded version during installation...
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900