All communication with a Windows Communication Foundation (WCF) service occurs through the endpoints of the service. Endpoints provide clients access to the functionality offered by a WCF service.
A WCF service endpoint has three basic elements, i.e. Address, Binding and Contract (ABC).
- Address: It defines “WHERE”.
Addressis the URL that identifies the location of the service. - Binding: It defines “HOW”.
Bindingdefines how the service can be accessed. - Contract: It defines “WHAT”.
Contractidentifies what is exposed by the service.