Muokkaa

Jaa


Windows Communication Foundation Endpoints

All communication with a Windows Communication Foundation (WCF) service occurs through the endpoints of the service. Endpoints provide clients access to the functionality that a WCF service offers.

For an overview about how to create an endpoint, see Endpoint Creation Overview. Each endpoint contains:

  • An address that indicates where to find the endpoint.

  • A binding that specifies how a client can communicate with the endpoint.

  • A contract that identifies the methods available.

For descriptions about how to specify these individual parts of an endpoint, see:

In This Section

Endpoint Creation Overview
Describes the structure of an endpoint and outlines how to define an endpoint in configuration and in code, as well as how to use the default endpoints, bindings, and behaviors provided by the runtime.

Specifying an Endpoint Address
Describes how communication with a WCF service occurs through endpoints.

How to: Create a Service Endpoint in Configuration
Demonstrates how to create a service endpoint in configuration.

How to: Create a Service Endpoint in Code
Demonstrates how to create a service endpoint in code.

Publishing Metadata Endpoints
Demonstrates how to publish metadata by publishing metadata endpoints in configuration and in code.

Reference

EndpointAddress

Basic Programming Lifecycle