What do you mean by endpoints in WCF?

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. We expose endpoints for making our service to be consumed.
Each endpoint consists of four properties:
  • Address: The address uniquely identifies the endpoint and tells potential consumers of the service where it is located. We mainly use URL as address.
  • Binding: The binding specifies how to communicate with the endpoint like transport protocol, encoding for messages and necessary security requirements. WCF uses by default wsHttp binding. 
  • Contracts: The contract outlines what functionality the endpoint exposes to the client.There are many contracts like service, operation, data, fault and message contracts. A contract specifies:
    • What operations can be called by a client.
    • The form of the message.
    • The type of input parameters or data required to call the operation.
    • What type of processing or response message the client can expect.
  • Behaviors: We can use endpoint behaviors to customize the local behavior of the service endpoint. Endpoint behaviors achieve this by participating in the process of building a WCFruntime.