WCF命名管道:在整个网络?真? [英] WCF named pipes: Across network? Really?
问题描述
许多人似乎认为这有可能 ,但显然在 边界这个文件指出进程间这在我的脑海里的意思是无网。
Many people seem to think this it is possible, yet clearly in this document the boundary is stated as inter-process which to my mind means "no network".
另一份文件是完全明确的:
命名管道运输具有非常小的范围;它只能连接到同一台机器上运行的服务
The named pipe transport has very little reach; it can only connect to services running on the same machine
那么,为什么还有那么多的海报在这里说,它可以工作?
So why are so many posters here saying it can work?
推荐答案
我认为你需要做的命名管道和WCF绑定实现 NETNamedPipeBinding 之间的区别。
I think you need to make a distinction between Named Pipe and WCF binding implementation NETNamedPipeBinding.
该NetNamedPipeBinding是predefined的WCF对机器的通信结合。
The NetNamedPipeBinding is a predefined binding for WCF for on-machine communication.
提供一个安全可靠的结合被优化用于在机器的通信
Provides a secure and reliable binding that is optimized for on-machine communication.
但如果你查看 MSDN文档有关命名管道,你可以看到,它可以设置通过网络命名管道。
But if you check the MSDN documentation about Named Pipes, you can see that it is possible to setup a named pipe across network.
命名管道可以被用于提供在网络上的同一台计算机上的进程之间或在不同的计算机进程之间的通信
Named pipes can be used to provide communication between processes on the same computer or between processes on different computers across a network
这篇关于WCF命名管道:在整个网络?真?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!