Browse by Tags
All Tags »
C# »
.NET (
RSS)
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...
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...
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...
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...
In my previous post I used custom sql query and transformed the results into a nested class. However you may have overlooked way I got the data into a class. It quite easy and will work with all database connectors that implement IDbConnection. Here is...
With Linq now standard in .NET 3.5, there is no reason why we shouldn't use it. After all its full of features that can be used by any object that inherits the type IEnumberable. With such power at our fingertips, sorting, filtering, manipulation etc...
More Posts