Exposing WCF/TCP Endpoints from Service Fabric with WS-MetadataExchange for external clients and WcfTestClient

六月ゝ 毕业季﹏ 提交于 2019-12-04 19:17:38

You can customize the ServiceHost before the communication listener is opened by accessing the host property.

https://docs.microsoft.com/en-us/dotnet/api/microsoft.servicefabric.services.communication.wcf.runtime.wcfcommunicationlistener-1#Microsoft_ServiceFabric_Services_Communication_Wcf_Runtime_WcfCommunicationListener_1_ServiceHost

By default the code adds few behaviors including service debug and throttling behavior, so if you remove that the client side stack for WCF provided in the SDK may not function correctly.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!