Language

The basics of using Entity Framework 6 to display and edit data in an ASP.NET MVC 5 application.

  1. Creating an Entity Framework Data Model

    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

    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

    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. Connection Resiliency and Command Interception

    By Tom Dykstra|

    In this tutorial you configure a retry policy to be used when you deploy the database to Windows Azure SQL Database, and you set up code that intercepts SQL commands sent to the database, for testi...

  5. Code First Migrations and Deployment

    By Tom Dykstra|

    In this tutorial you configure Code First Migrations and you use Migrations to deploy the database to Windows Azure SQL Database.

  6. Creating a More Complex Data Model

    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.

  7. Reading Related Data

    By Tom Dykstra|

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

  8. Updating Related Data

    By Tom Dykstra|

    In this tutorial you learn how to update related data.

  9. Async and Stored Procedures

    By Tom Dykstra|

    In this tutorial you learn how to use the asynchronous programming model with Entity Framework 6, and how to use stored procedures with insert, update, and delete options.

  10. Handling Concurrency

    By Tom Dykstra|

    This tutorial shows how to handle concurrency.

  11. Implementing Inheritance

    By Tom Dykstra|

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

  12. Advanced Entity Framework Scenarios

    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.

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