Main Contents

Archives: March 2009

Integrating xVal Validation with Linq-to-Sql

Schotime @ March 31, 2009

.NET | Comments (0)

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 database has a suppliers table. The info contained below is using that table with linq-to-sql.
After [...]


book mark Integrating xVal Validation with Linq-to-Sql in del.icio.us submit Integrating xVal Validation with Linq-to-Sql to digg.com


Custom Validation Attributes

Schotime @ March 11, 2009

.NET | Comments (0)

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 to inherit from ValidationAttribute. We’ll create an attribute today that will only [...]


book mark Custom Validation Attributes in del.icio.us submit Custom Validation Attributes to digg.com


Validation with Asp.net MVC, xVal & IDataerrorInfo

Schotime @ March 5, 2009

.NET | Comments (8)

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 new open source project xVal and decided that it was a good place to start. I [...]


book mark Validation with Asp.net MVC, xVal & IDataerrorInfo in del.icio.us submit Validation with Asp.net MVC, xVal & IDataerrorInfo to digg.com



Feed
6,652 spam comments
blocked by
Akismet