Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

Model Validation in ASP.NET MVC

, 15 Apr 2014 CPOL
In this article we will see how to apply basic validations to a model and also we will see how to create custom validations by implementing the ValidationAttribute class or IValidatableObject interface.



Compare Revision Minor Date Status Editor
8 - publicly available No 15-Apr-14 10:21 Available Sean Ewington
Updates in content.
7 No 15-Apr-14 3:41 Pending After2050
Updates in content. Changes: 179
5 No 24-Sep-12 5:24 Pending After2050
Updates in content. 1062 changes had been made.
3 No 16-Sep-12 7:02 Pending After2050
Updates in content. 13 changes had been made.
2 No 17-Jul-12 14:44 Available Smitha Vijayan
Updates in content. 109 changes had been made.
1 No 16-Jul-12 22:24 Draft After2050


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Software Developer Trigent Software Private Limited
India India
I'm a software developer from south tip of India. I spent most of the time in learning new technologies. I've a keen interest in client-side technologies especially JavaScript and admire it is the most beautiful language ever seen.
I like sharing my knowledge and written some non-popular articles. I believe in quality and standards but blames myself for lagging them.
I believe in small things and they makes me happy!
Follow on   Twitter

| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.150123.1 | Last Updated 15 Apr 2014
Article Copyright 2012 by After2050
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid