Use Schemas to Validate Messages, Using Message Inspectors

- J.D. Meier, Carlos Farre, Jason Taylor, Prashant Bansode, Steve Gregersen, Madhu Sundararajan, Rob Boucher

If you need to validate parameters, message contracts or data contracts passed to operations, use schema validation with message inspectors. Message inspectors are extensibility points that are plugged to the WCF behaviors that allow inspecting messages during message exchange. Schema validation can happen on client and service. You use schema validation with message inspector to validate messages without need to write validation code. Additionally schema validation will allow validating complex types, message contracts and data contracts, passed to operations that will not result in complex validation logic.

Additional Resources

Last edited Jun 12, 2008 at 10:16 PM by prashantbansode, version 1

Comments

No comments yet.