Validation Components in ASP.NET MVC

added by kalyanms1
5/7/2013 12:15:00 AM

2 Kicks, 108 Views

Validating the user input and showing a user-friendly error message is an important step in Web Application development. ASP.NET MVC framework provides validation features which helps developer to validate model values. The validation features in MVC allows you to write the validation using attributes which is called data annotations. This post outlines the data annotation features that you can use in ASP.NET MVC application development.Data Annotations attributes can find in System.ComponentModel.DataAnnotations namespace.