The Contoso University Web sample app demonstrates how to create an ASP. NET MVC application using EF technology. The Contoso University in the example is fictitious. Applications include features like student registration, course creation, and teacher assignment.
This series of tutorials shows the steps to create a Contoso university app. You can download the complete program, or follow the tutorial step by step to create it, this tutorial uses C # for demonstration, the downloaded code contains both C # and VB implementations. If you have issues that are not directly related to this tutorial, you can post them to the ASP. NET Entity Framework Forum or the Entity framework and the LINQ to Entities forum.
This tutorial assumes that you know how to develop an ASP. NET MVC program using Visual Studio, and if not, the basic ASP. NET MVC Tutorial is a good starting point. If you have used Web Form development before, you can first look at the Getting Started with the Entity Framework and the continuing with the Entity Framework tutorial.
Before you begin, be sure that the following software is installed on your computer:
- Visual Studio SP1 or Visual Web Developer Express SP1 (if you use these two links, the following items will be automatically installed)
- ASP. NET MVC 3 Tools Update
- Microsoft SQL Server Compact 4.0
- Microsoft Visual Studio SP1 Tools for SQL Server Compact 4.0
The series consists of 10 parts:
1-Create EF data Model for ASP. 2-use EF to implement basic Add, delete, change, and check functions in MVC 3-sorting, filtering and paging 4-creating more complex data models 5-reading associated data 6-updating associated data 7-handling concurrency 8 -Implement inheritance 9-realize warehousing andOperation Unit Mode10-Advanced EF application Scenarios
Contoso University-using EF Code first to create an MVC application, an instance walkthrough