What is an “endpoint” in WCF?

后端 未结 7 629
抹茶落季
抹茶落季 2021-01-30 08:49

I was under the impression that an endpoint was defined in a config file as the list of possible clients but that makes no sense (in the sense that I assumed it said what comput

7条回答
  •  死守一世寂寞
    2021-01-30 09:03

    I'm going to cite Juval Lowy's Programming WCF Services here:

    Every service is associated with an address that defines where the service is, a binding that defines how to communicate with the service, and a contract that defines what the service does. This triumvirate governing the service is easy to remember as the ABC of the service.

    WCF formalizes this relationship in the form of an endpoint. The endpoint is the fusion of the address, contract, and binding.

    Every endpoint must have all three elements, and the host exposes the endpoint.

提交回复
热议问题