Language

Getting Started with EF using MVC

In this chapter, you'll learn:
The basics of using Entity Framework to display and edit data in an ASP.NET MVC application.

  1. Creating an Entity Framework Data Model for an ASP.NET MVC Application (1 of 10)

    By Tom Dykstra|

    This tutorial introduces the Contoso University application that you will build and walks you through creating the sample database.

  2. Implementing Basic CRUD Functionality with the Entity Framework in ASP.NET MVC Application (2 of 10)

    By Tom Dykstra|

    In this tutorial you review and customize the CRUD (create, read, update, delete) code that the ASP.NET MVC scaffolding automatically creates for you in controllers and views.

  3. Sorting, Filtering, and Paging with the Entity Framework in an ASP.NET MVC Application (3 of 10)

    By Tom Dykstra|

    In this tutorial you add sorting, filtering, and paging functionality to the Students Index page, and you create a page that does simple grouping.

  4. Creating a More Complex Data Model for an ASP.NET MVC Application (4 of 10)

    By Tom Dykstra|

    In this tutorial you add more entities and relationships and make use of data annotation attributes to control the behavior of the model classes.

  5. Reading Related Data with the Entity Framework in an ASP.NET MVC Application (5 of 10)

    By Tom Dykstra|

    In this tutorial you'll read and display related data — that is, data that the Entity Framework loads into navigation properties.

  6. Updating Related Data with the Entity Framework in an ASP.NET MVC Application (6 of 10)

    By Tom Dykstra|

    In this tutorial you learn how to update related data.

  7. Handling Concurrency with the Entity Framework in an ASP.NET MVC Application (7 of 10)

    By Tom Dykstra|

    This tutorial shows how to handle concurrency.

  8. Implementing Inheritance with the Entity Framework in an ASP.NET MVC Application (8 of 10)

    By Tom Dykstra|

    This tutorial will show you how to implement inheritance in the data model.

  9. Implementing the Repository and Unit of Work Patterns in an ASP.NET MVC Application (9 of 10)

    By Tom Dykstra|

    In this tutorial you'll see some ways to use the repository and unit of work patterns for CRUD operations.

  10. Advanced Entity Framework Scenarios for an MVC Web Application (10 of 10)

    By Tom Dykstra|

    This tutorial discusses a variety of topics, including how to work more directly with SQL queries, work with proxy classes, and disable validation during save operations.

  11. ASP.NET Data Access Content Map

    By |

    This topic provides links to documentation resources about how to access data in ASP.NET web applications, primarily by using the Entity Framework and SQL Server.

ASP.NET MVC Books

Microsoft's Jon Galloway recommends these books for learning ASP.NET MVC:

Pro ASP.NET MVC 4

Pro ASP.NET MVC 4

by Adam Freeman

Professional ASP.NET MVC 4

Professional ASP.NET MVC 4

by Jon Galloway, Phil Haack, Brad Wilson, K. Scott Allen