Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Options for asp.net MVC Validation Framework

I'm thinking of two options right now for model-base validation for an ASP.net project I'm starting:

xVal (Steve Sanderson's project) and the Enterprise module that Stephen Walther uses on this page

I don't really know enough to talk about the preferences as I haven't used either of them yet. Any ideas?

Update Using LinqToSql for ORM right now, but am open to changes.

like image 730
KevDog Avatar asked Mar 22 '26 08:03

KevDog


1 Answers

One difference I see in reviewing the two is that Stephen Walther's blog post describes a library which does only validation in the Web server, where as xVal works with jQuery validators to do in-browser validation, as well. This feature, incidentally, is almost completely automatic.

like image 170
Craig Stuntz Avatar answered Mar 23 '26 21:03

Craig Stuntz



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!