Project DescriptionASP.NET MVC Validation Library addresses the need of validating data rules for business entities at both server-side and client-side.
The library uses the Validation Application Block (VAB) included in the
MS Enterprise Library 4.1 to perform server-side validations for entities annotated with validation attributes. On the client-side, the default client-script generator will base on the same attributes to generate JavaScript validation code targeting the
jQuery validation plugin.
The code download include a sample application which helps you to understand how to use the library. The library code is commented well so you should be able to understand the API very quickly. If you don't want to read the source code to find out what it offers, check out the API information
here.
CreditThis library is is inspired by a similar
library by Emad Ibrahim. His library is built for Castle's Validation framework and has a couple of other differences from mine (check out
my blog post for details).