This documentation is archived and is not being maintained.

Service Contract Samples

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

In This Section

One-Way
Shows how to implement a one-way service contract.

Duplex
Shows how to implement a duplex contract.

Session
Shows how to implement a service contract that requires a session.

Asynchronous
Shows how to implement an asynchronous operation in a service.

Stream
Demonstrates the use of streaming transfer mode communication.

Fault Contract
Demonstrates the use of the FaultContractAttribute attribute to specify SOAP faults in a service contract.

Related Sections


© 2007 Microsoft Corporation. All rights reserved.
Show: