Chapter 8. Validating MVC

In this chapter, we will cover:

  • Basic input validation
  • Data annotations
  • Client-side validation with jQuery
  • Custom validators
  • Remote validation with jQuery

Introduction

ASP.NET MVC provides a simple, but powerful, framework for validating forms. In this chapter, we will be building upon what has been learned in the previous two chapters. We'll start by creating a simple form, and then incrementally extend the functionality of our project to include client-side validation, custom validators, and remote validation.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset