• Online, Self-Paced
Course Description

In this course, you will learn how to administer basic MVC unit tests, how to add a model to an ASP.NET MVC application, how to implement business logic in a model, and how to validate user input with data annotations in Visual Studio 2017.

Learning Objectives

MVC Unit Testing

  • start the course
  • create a unit test project for an ASP.NET MVC web application in Visual Studio 2017
  • implement basic unit tests for an ASP.NET MVC web application in Visual Studio 2017
  • add a new unit test to an ASP.NET MVC unit test project in Visual Studio 2017
  • use the unit test Assert class in Visual Studio 2017
  • locate and fix unit test errors in an ASP.NET MVC web application in Visual Studio 2017

MVC Model Classes

  • 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 data annotation on a model class object in an ASP.NET MVC web application

Validating Application Data

  • 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 2017
  • customize validation error messages in ASP.NET MVC view

Practice: Creating an MVC Model Class

  • create a new MVC model class in an ASP.NET MVC web application

Framework Connections

The materials within this course focus on the NICE Framework Task, Knowledge, and Skill statements identified within the indicated NICE Framework component(s):

Specialty Areas

  • Software Development