Monthly Archives: March 2009

Integrating xVal Validation with Linq-to-Sql

In a previous post I showed you how you can use xVal and the IDataErrorInfo class to add validation to your Asp.net MVC website. In this post I will extend that to Linq-to-Sql and the classes it generates. The northwind … Continue reading

Posted in .NET | Tagged , , , , , | Leave a comment

Custom Validation Attributes

In my last post I showed you how to use Validation attributes on your model for validation. Today I will show how you can create your own attributes that can provide custom validation for you. To accomplish this we need … Continue reading

Posted in .NET | Tagged | 1 Comment

Validation with Asp.net MVC, xVal & IDataerrorInfo

I’ve been playing around with lots of different Validation concepts recently and I think I have come up with something that will be very useful. Hopefully you will also find it useful. Firstly I have been looking at Steve Sanderson‘s … Continue reading

Posted in .NET | Tagged | 10 Comments