Chapter 15: Viewmodels and Model Validation
Major Concepts
By the end of this chapter, you should understand:
- What
ViewModels
are and why we should use them. - How and why to validate model data in ASP.NET.
- How to use C# validation attributes.
- How to employ good error handling when bad data is entered.
Key Terminology
ViewModels and Passing Data Between Views
- ViewModel
Server-Side Validation
- Validation
- Client-Side Validation
- Server-Side Validation
Validation and Views
- Unobtrusive Validation