Language

Models (Data)

In this chapter, you'll learn:
How to define the data model, how to write code for CRUD operations, and how to validate data.

  1. Creating an EF Data Model

    In this comprehensive 10-part tutorial you'll learn how to use the Entity Framework with ASP.NET MVC, including filtering, paging, working with related data, and concurrency.

  2. Working with Data: EF

    This Pluralsight video shows how to work with the Entity Framework.

  3. Working with Data: Validation and Mapping

    This Pluralsight video shows you how to validate and map data.

  4. Validating Data Using Attributes

    This tutorial illustrates how to use attributes from the System.ComponentModel.DataAnnotations namespace to specify validation for individual fields in the data model.

  5. Implementing Remote Validation

    This tutorial illustrates how to implement remote validation in ASP.NET MVC

  6. ADO.NET Entity Framework

    Collection of information about the Microsoft ADO.NET Entity Framework, which is an Object/Relational Mapping (ORM) framework that enables developers to work with relational data as domain-specific objects, eliminating the need for most of the data access plumbing code that developers usually need to write.

  7. ASP.NET MVC Content Map

    See "Working with data and the Entity Framework" and "Validation" in the ASP.NET MVC Content Map.

  8. ASP.NET Data Access Content Map

    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