Export (0) Print
Expand All

Message Contracts

This section contains samples that demonstrate message contracts in Windows Communication Foundation (WCF).

In This Section

Default Message Contract
Demonstrates a service where a custom user-defined message is passed to and from service operations.

Untyped Request/Reply
Demonstrates how to define operation contracts that use the Message class.

Unwrapped Messages
Demonstrates unwrapped messages. By default, the message body is formatted such that the parameters to a service operation are wrapped.

Setting the Use and Style Properties
Demonstrates how to use the Use and Style properties on the XmlSerializerFormatAttribute and the DataContractFormatAttribute.

XmlReader Sample
Demonstrates the processing of a message body using an XmlReader.




Build Date: 2011-06-25

Community Additions

ADD
Show:
© 2014 Microsoft