O'Reilly logo

ASP.NET MVC 4 in Action: Revised edition of ASP.NET MVC 2 in Action by Foreword by Phil Haack, Jeffrey Palermo, Jimmy Bogard, Eric Hexter, Matthew Hinze, and Jeremy Skinner

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 6. Validation

 

This chapter covers
  • Implementing Data Annotations
  • Extending the ModelMetadataProvider
  • Enabling client-side validation
  • Creating custom client side validators

 

We covered models in the previous chapter, and we’ll continue our examination of the M in MVC by looking at advanced scenarios related to models enabled by ASP.NET MVC. The framework provides support for rich and extensible user input validation. Validation support in the framework is important because user feedback is a common requirement in web applications. It makes sense for the framework to enable things most projects need.

Validation is a big feature in ASP.NET MVC, but it has grown over time. In the first version of the framework it was absent, and integrating ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required