There are many validation frameworks out there but sometimes you need to build one your own. Let’s see how easy it is to build a simple validation framework in TDD style using functionalities in System.ComponentModel.DataAnnotations. This is a rather new assembly introduced in .NET Framework 3.5, mainly used to define metadata for ASP.NET Dynamic Data controls. We’re going to use the validation attributes containing in this assembly to validate our entities and models. Continue reading

  • page 1 of 1
Author's picture

Hadi Eskandari

Developer, amateur photographer, coffee snob, husband and father.

Sydney