Click here to Skip to main content
12,356,774 members (64,427 online)
Click here to Skip to main content

Stats

19.4K views
9 bookmarked
Posted

Model level validation using ASP.NET MVC

, 18 Feb 2010 CPOL
The benefit of putting validation in the model layer is that, the validation rules will be enforced everywhere in the application that accesses the database. It also means that we can change the validation rule in one place and every UI element inside our app will automatically get updated.

Revisions


  

Compare Revision Minor Date Status Editor
5 - publicly available No 18-Feb-10 18:05 Available Smitha Nishant
4 No 18-Feb-10 18:04 Composing Smitha Nishant
3 No 18-Feb-10 15:23 Composing Somnath Mondal
2 No 18-Feb-10 15:19 Composing Somnath Mondal
1 No 18-Feb-10 15:15 Composing Somnath Mondal

License

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

Share

About the Author

Somnath Mondal
Technical Lead
India India
No Biography provided

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.160621.1 | Last Updated 18 Feb 2010
Article Copyright 2010 by Somnath Mondal
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid