Adam Schroder

Its Schotime.com!

Browse by Tags

All Tags » MVC » C# (RSS)
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 database has a suppliers table...
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 to inherit from ValidationAttribute...
Posted: Mar 10 2009, 09:12 PM by schotime | with no comments
Filed under: , , , ,
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 new open source...
Posted: Mar 05 2009, 09:50 PM by schotime | with 9 comment(s)
Filed under: , , ,
Custom Authorization With Asp.net MVC
The whole advantage with MVC over webforms is extensibility at every point. Extensibility, Extensibility, Extensibility. Authorization is a very important and every web project has there own needs and requirements. Full customisation is paramount. Here...
Posted: Feb 17 2009, 09:27 PM by schotime | with 1 comment(s)
Filed under: , ,
More Posts