#003: Data Annotations for validation

I think the data annotations (sometimes known as System.ComponentModel.DataAnnotations) is a great idea; in the past I have played around with custom validation rules, but it was always difficult to find out how to trigger the validation event when you weren't in an asp.net page (webforms or mvc)
I was playing with this tonight, and quite liked how simple it all is:

Read More