[training]Getting Started with ASP.NET MVC 5 – Creating a Connection String and Working with SQL Server LocalDB

>Entity Framework(often referred to as EF):
>a .NET Framework data-access technology to define and work with model classes.
>By default, the Entity Framework looks for a connection string named the same as the object context class (MovieDBContext for this project).

>Entity Framework is default to using LocalDB.

>LocalDB is a lightweight version of the SQL Server Express Database Engine
>LocalDB runs in a special execution mode of SQL Server Express that lets you work with databases as .mdf files.
>Typically,, LocalDB database files are stored in the App_Data folder of a web project.

>SQL Server Express is not recommended for use in production web applications.
>LocalDB specifically should not be used in production with a web application because it is not designed to work with IIS. However,, a LocalDB database can be easily migrated to SQL Server or SQL Azure.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.