Fluent validation with reflection, lambda, and expression magic

added by dpeterson
8/6/2011 10:44:03 AM

280 Views

Jeremy Likness shares his take on a fluent validation framework much like http://fluentvalidation.codeplex.com/ . While even more alternative exist, there's value in the methods Jeremy employs to create his framework. These methods can be applied to other problems in this domain, where perhaps other solutions do not exist or do not meet your needs.


1 comments

vijayst
8/9/2011 8:56:41 AM
Is there a basic article / post that describes how the validation framework using DataAnnotations work? I have used it quite a bit without understanding how these helpers work. I am specially interested in the client side programming.

How can the styles be changed from the default style whenever an error pops up? The default styles work fine. But, because I have really not explored the framework, I do not know how to modify the styles.