0
我正在閱讀WCF .NET 4常見問題。我不確定以下問題的答案。 問:WAS中託管的WCF服務需要wcf客戶端。該服務的配置如下:Windows進程激活服務(WAS)中的WCF服務
<service name="abc">
<endpoint binding="netTcpBinding" contract="IMainService">
</service>
服務位於URL http://servername/wcfservice/abc.svc
哪些配置設置應該被添加到system.serviceModel/client
元素?
答:
<endpoint binding="netTcpBinding" contract="IMainService" address="net.tcp://servername/wcfservice/abc.svc"
不應該在client
部分地址開始http
?或者服務應該暴露在net.tcp
?或者服務中的綁定應該是http
?我需要來自社區的意見。你們有什麼感想?