Models and Model Binding

Learning Objectives

After completing everything in this chapter, you should be able to do the following:

  1. Understand the role of models in MVC applications
  2. Use model binding to efficiently create objects during form processing

Key Terminology

On each page of the reading, make note of the following key terms and their definitions.

Models in MVC

  1. model
  2. business logic

Creating a Model Class

  1. POCO

Models and Data

  1. uid
  2. unique identifier
  3. get-only auto-implemented property
  4. readonly
  5. data layer

Model-Binding

  1. model binding
  2. [FromForm]