Posts about Validation

How to dynamically modify model meta data in ASP.NET MVC

Normally you just add the [Required] attribute to a view model to make it required. But I needed a way to configure whether a field should be required or not.…

Making custom DataAnnotation attributes work with MVC client side validation

In a previous blog entry I showed you an easier approach to localized DataAnnotation attributes.

Introducing a validation library

I’ve made a validation library which is focusing on model validation. Why another one when there are a few good ones like EntLib Validation Application Block…