Working with ASP.NET MVC Models


Overview/Description
Target Audience
Prerequisites
Expected Duration
Lesson Objectives
Course Number
Expertise Level



Overview/Description
Models are the basic building block of any MVC application, as they represent how the application can manage and interact with data. In this course, you will learn how to add a model to an ASP.NET MVC application, how to implement business logic in a model, how to create and add a SQL Azure database, and how to validate user input with data annotations. You will also learn how to create and use default and custom model binders, as well as how to create databases and administer access to model classes using Entity Framework. This course is one of a series in the Skillsoft learning path that covers the objectives for the Microsoft MCSD exam 70-486.

Target Audience
Web developers seeking an introductory guide to developing efficient, secure, distributed web applications with adaptive user interfaces using the ASP.NET MVC 4 framework in Visual Studio 2013; individuals preparing for exam 70-486: Developing ASP.NET MVC 4 Web Applications

Prerequisites
none

Expected Duration (hours)
2.4

Lesson Objectives

Working with ASP.NET MVC Models

  • start the course
  • create a model class and access data from class properties in an ASP.NET MVC web application
  • implement a relationship between two model classes in an ASP.NET MVC web application
  • instantiate an MVC model class object from a controller class action and display object property values in a view in an ASP.NET MVC web application
  • use the DisplayName annotation on a model class object property to customize property label display in an application view in ASP.NET MVC web application
  • use the DataType data annotation on a model class object property to affect how the property value gets displayed in an MVC view
  • use the DisplayFormat data annotation on a DateTime field in order to customize the display format in an ASP.NET MVC view
  • validate user input data by applying data annotations to a model property in an ASP.NET MVC view
  • create a custom data validation attribute and apply it to a model class property in an ASP.NET MVC web application
  • use the jQuery Validation plugin to carry out client-side validation in an ASP.NET MVC web application in Visual Studio 2013
  • customize validation error messages in ASP.NET MVC view
  • use the default MVC model binder to pass HTTP request parameters to a controller action method in an ASP.NET MVC web application in Visual Studio 2013
  • create and use a custom model binder to pass HTTP request parameters to a controller action using form field values in an ASP.NET MVC web application in Visual Studio 2013
  • generate a strongly-typed view in an ASP.NET MVC web application in Visual Studio 2013
  • understand how to create and manage application databases and model classes in an ASP.NET MVC web application
  • Course Number:
    wd_dwap_a03_it_enus

    Expertise Level
    Intermediate