Developers, Technology Evangelists, Bros.

Introducing MVC Validation Extensions

I’m a big fan of MVC especially all of the native features and conventions built in.  One of my favorite features has always been how easy it is to set up client and server side validation within MVC via some simple attributes on my models.  While there are a lot of built in validations I find myself writing custom validation for many of the same scenarios over and over…so why not share that with everyone!

I’m proud to introduce the MVC Validation Extensions nuget package.  This package provides additional validation attributes with client side and server side support starting with the following 5:

  • GreaterThan
  • GreaterThanEqualTo
  • LessThan
  • LessThanEqualTo
  • RequiredIf

For more details and examples head on over to the project page.  If you have any suggestions additional attributes let us know!


Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.