What is “mexHttpBinding”?

前端 未结 3 1092
傲寒
傲寒 2020-12-07 18:17

What is \"mexHttpBinding\" in WCF? When should this binding be used in preference to other bindings?

3条回答
  •  余生分开走
    2020-12-07 18:42

    mexHTTPBinding allows to use WS-MetadataExchange over HTTP. You don't need it unless you implemented policies which may change over time and you need to discover your service with UDDI for example

    Many people says it's needed for creating client side proxies. This is not true. For client side proxies you need to publish WSDL. You can do that by specifying in your service behavior.

    Shortly, you don't know it -> you don't need it.

提交回复
热议问题