What is an “endpoint” in WCF?

后端 未结 7 609
抹茶落季
抹茶落季 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:21

    Endpoints in WCF
    WCF Service is a program that exposes a collection of Endpoints. Each Endpoint is a portal for communicating with the world. End point consists of three components.
    1) Address :
       Defines where a service is located
       ex - http://www.test.com:8001/MyService
    2) Bindings :
       A binding that specifies how a client can communicate with the endpoint.
       ex - BasicHttpBinding,WSHttpBinding,WSDualHttpBinding etc
    3) Contracts :
       A contract that identifies the operations available

    Endpoints will be mentioned in the web.config file on the created service.

    0 讨论(0)
提交回复
热议问题