Data Contract Samples

The samples in this section show how to configure a data contract for a Windows Communication Foundation (WCF) service.

In This Section

Basic Data Contract

Demonstrates how to implement a data contract.

Known Types

Demonstrates how to specify information about derived types in a data contract.

DataContractSerializer Sample

Demonstrates the DataContractSerializer, which performs general serialization and deserialization services for the data contract classes.

Related Sections

Footer image

Send comments about this topic to Microsoft.
© Microsoft Corporation. All rights reserved.

Community Additions

ADD
Show: