3

I'm working on an ASP.NET project using MVP architecture. We would like to use an object validation framework in the domain, but are not that familiar with available frameworks other than the Castle.Components.Validator namespace.

Does anyone have experience with any other light-weight object validation frameworks. If not, what approach do you use to validate in the domain (no ASP.NET validator control answers please)?

1
  • This question was asked 33 minutes ago and is already in Google...wow Oct 20, 2008 at 18:59

3 Answers 3

3

Validation Application Block in the Enterprise Library
.NET Validation Framework on CodePlex
EViL - Entity Validation Library on CodePlex
Validation Everywhere on CodePlex

2
  • Validation Application Block isn't actually 'light-weight', but I do really like it.
    – Steven
    Feb 9, 2010 at 11:41
  • Except VAB, the other three are no longer actively developed. Spring.NET seems to have some validation framework. Fluent Validation, as @ilmatte mentions, is still active.
    – Narayana
    Nov 24, 2011 at 18:14
1

I like the easy approach of the Fluent Validation framework. You find it on codeplex at:

http://fluentvalidation.codeplex.com/

You can gain the separation between entities and validators that you cannot get with Annotations (e.g.: Enterprise Library).

Hope it helps

0

I'm not very familiar with the MVP pattern, but this guy seems to know what he's doing. Here's how he handles validation with MVP.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.