WCF contract samples

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

In This Section

Data Contracts
Demonstrates data contracts in WCF.

Message Contracts
Demonstrates message contracts in WCF.

Service Contracts
Demonstrates service contracts in WCF.

DataContractResolver
Demonstrates how the serialization and deserialization processes can be customized by using the DataContractResolver class.

KnownAssemblyAttribute
Demonstrates how to dynamically add known types during serialization and deserialization.

Using DataContractSerializer and DataContractResolver to Provide the Functionality of NetDataContractSerializer
Demonstrates how to use DataContractSerializer with an appropriate DataContractResolver provides the same functionality as NetDataContractSerializer.