Month: December 2016

Connection strings in ASP.NET MVC 5

Connection strings in ASP.NET MVC 5 When you start a new ASP.NET MVC 5 Web Project you’ll see a connection string in your Web.config xml like so:   This default connection string connects your code base with a local database (LocalDB) file with a name that, in the above case, looks like this: aspnet-WebApplication-20150706073844.mdf. Lets look at the components in… Read more →

Entity Framework Database with ASP.NET MVC

Entity Framework Database with ASP.NET MVC: Creating the Web Application and Data Models Using MVC, Entity Framework, and ASP.NET Scaffolding, you can create a web application that provides an interface to an existing database. This tutorial series shows you how to automatically generate code that enables users to display, edit, create, and delete data that resides in a database table.… Read more →