WCF Service Samples

The samples in this section cover service hosting, behaviors, and error handling in a Windows Communication Foundation (WCF) service.

In This Section

  • Service: Behaviors Samples
    Covers samples that show how to configure the instancing behavior and concurrency, and use attributes to define permissions.
  • Service Hosting Samples
    Covers samples that show services that are self hosted, Web hosted, and hosted as an NT Service.
  • Multiple Contracts
    Demonstrates how to implement more than one contract on a service and how to configure endpoints for communicating with each of the implemented contracts.
  • Addressing
    Demonstrates a how to specify endpoints using relative or absolute addressing.
  • Service Description
    Demonstrates how a service can retrieve its service description information at runtime.
  • ConcurrencyMode Reentrant
    Demonstrates the necessity and implications of using ConcurrencyMode.Reentrant on a service implementation.

Set Up Instructions

Client Samples

Contracts Samples

Binding Samples

Management Samples

© 2007 Microsoft Corporation. All rights reserved.