对于使用WebHttpBinding运行的基于REST的服务,我可以在与NetNamedPipeBinding相同的机器上添加服务间通信功能,以便更快吗?
谢谢!
发布于 2012-08-19 04:20:17
如果我正确理解了您的问题,您希望添加多个具有不同绑定的端点。
例如:
<service name = "MyService">
<endpoint
address = "http://localhost:8000/MyService"
binding = "wsHttpBinding"
contract = "IMyContract"
/>
<endpoint
address = "net.tcp://localhost:8001/MyService"
binding = "netTcpBinding"
contract = "IMyContract"
/>
<endpoint
address = "net.tcp://localhost:8002/MyService"
binding = "netTcpBinding"
contract = "IMyOtherContract"
/>
</service>https://stackoverflow.com/questions/11957897
复制相似问题