top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

What is Endpoint and Binding in WCF ?

+2 votes
394 views
What is Endpoint and Binding in WCF ?
posted May 30, 2014 by Vikram Luthra

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

A binding defines how an endpoint communicates to the world. A binding defines the transport (such as HTTP or TCP) and the encoding being used (such as text or binary). A binding can contain binding elements that specify details like the security mechanisms used to secure messages, or the message pattern used by an endpoint.

Every service must have Address that defines where the service resides, Contract that defines what the service does and a Binding that defines how to communicate with the service. In WCF the relationship between Address, Contract and Binding is called Endpoint.

answer Jun 9, 2014 by Swati Arora
...