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.
You can define one or more endpoints for a service by using a combination of relative and absolute endpoint addresses, or if you do not define any service endpoints, the runtime provides some by default for you.
Each endpoint consists of four properties:
•An address that indicates where the endpoint can be found.
•A binding that specifies how a client can communicate with the endpoint.
•A contract that identifies the operations available.
•A set of behaviors that specify local implementation details of the endpoint.
You can specify the endpoint for a service either imperatively using code or declaratively through configuration.
http://msdn.microsoft.com/en-us/library/ms734786.aspx
没有评论:
发表评论