Service Contracts

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

In This Section

Duplex Demonstrates how to define and implement a duplex contract.

Fault Contract Demonstrates how to communicate error information from a service to a client.

One-Way Demonstrates a service contact with one-way service operations.

Session Demonstrates how to implement a contract that requires a session.

Stream Demonstrates the use of streaming transfer mode communication.

XmlSerializer Faults Demonstrates how to communicate error information from a service to a client using the XmlSerializer.