1878 Views
All WCF services operations need some level of parameter validation to ensure that the data passed to the operation is present and correct. Two popular methods are manual checking and the Validation Application Block (VAB) from Enterprise Library. This article discusses another option - using the validation features from System.ComponentModel.DataAnnotations.
2 comments
dpeterson
1/4/2012 10:27:05 AM
Seems like a no-brainer since the package is on Nuget. Nice work.
vijayst
1/4/2012 8:17:17 PM
Validations using Data annotations is an excellent feature to extend WCF.