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
- Service Contract: One-Way
Shows how to implement a one-way service contract.
- Service Contract: Duplex
Shows how to implement a duplex contract.
- Service Contract: Session
Shows how to implement a service contract that requires a session.
- Service Contract: Asynchronous
Shows how to implement an asynchronous operation in a service.
- Service Contract: Stream
Demonstrates the use of streaming transfer mode communication.
- Service Contract: Fault Contract
Demonstrates the use of the FaultContractAttribute attribute to specify SOAP faults in a service contract.
Related Sections
Send comments about this topic to Microsoft.
© Microsoft Corporation. All rights reserved.