Hello,
I just wanted to announce that I posted a new blade to the source for
Fluent Validation integration. If you add a reference to
MvcTurbine.FluentValidation.dll, the blade will:
1.) Register all of your IValidator implementations with the service
locator, and
2.) Plug Fluent Validation into the MVC pipeline.
When MVC sees that you have a validator defined for an input model, it
will use your validator to validate the data and set model state. It
might sound like a lot, but there's hardly any code to it at all.
If you're interested in Fluent Validation, you can get more
information at the address below. I think it's a pretty nice library
that produces some very readable, testable validation code.
http://fluentvalidation.codeplex.com/
The code is up Github, currently at:
http://github.com/lozanotek/mvcturbine/tree/master/src/Blades/Fluent_Validation/
Let me know if you have any questions or comments, enjoy!
Darren