Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

NHibernate Validator and ASP.NET MVC 4

We're looking at upgrading a large-scale project currently implemented using ASP.NET MVC 2 with xVal providing the glue between NHibernate Validator and client-side validation.

When I was looking for resources on using the new "unobtrusive" client side validation used in MVC 3/4 with NHibernate Validator, I was only able to locate a single (and nearly 3 year-old) blog post about this.

Has anyone successfully used NHibernate Validator for client-side validation in MVC 3/4? If so, what has your experience been?

like image 557
DanP Avatar asked Nov 03 '22 23:11

DanP


1 Answers

Although I don't have any experience directly with NHibernate, FluentValidation (a validation framework worth considering itself) has an MVC 3/4 adapter extension project which would serve as an excellent guide to creating an NHibernate Validator implementation.

like image 56
Patricia Avatar answered Nov 15 '22 06:11

Patricia