In this recipe, we will work through a full MVC 3 application, using patterns and the Entity Framework to give a solid basis for any enterprise application.
We will be using the
NuGet Package Manager to install the Entity Framework 4.1 assemblies.
The package installer can be found at http://nuget.codeplex.com/.
We will also be using a database for connecting to the data, and updating.
Open the Improving MVC 3 Applications solution in the included source code examples.
ControllerTestswith the following code:
using System.Collections.Generic; ...