validation of request

Feb 6, 2008 at 1:42 PM

What is the best way to validate and check that request has all required mandatory fields? Or do I have to check in each operation for the request before processing?

Thanks & Regards,
Feb 6, 2008 at 4:42 PM
You can use the validation framework included in EntLib 3.1 and in particular "Microsoft.Practices.EnterpriseLibrary.Validation.Integration.WCF" library (for WCF apps) or "Microsoft.Practices.EnterpriseLibrary.Validation.Integration.AspNet" library (for ASMX apps). You may also find examples that show the usage.