Service Contracts

Service Contracts

.NET Framework (current version)
 

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.

833db946-f511-4f64-a26f-2759a11217c7

Demonstrates how a client can access a service operation asynchronously and how a service can implement its operations asynchronously.

XmlSerializer Faults

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

Show:
© 2016 Microsoft