.net - WCF 命名管道 : Across network? 真的吗?

标签 .net wcf named-pipes

很多人似乎think this it is possible ,但在 this document 中很明显边界被声明为进程间,在我看来这意味着“没有网络”。

Another document是完全明确的:

The named pipe transport has very little reach; it can only connect to services running on the same machine



那么为什么这里有这么多海报说它可以工作呢?

最佳答案

我认为您需要区分 命名管道 和 WCF 绑定(bind)实现 NETNamedPipeBinding .

NetNamedPipeBinding 是 WCF 的预定义绑定(bind),用于机器上的通信。

Provides a secure and reliable binding that is optimized for on-machine communication.



但是,如果您查看 MSDN documentation关于命名管道,您可以看到可以跨网络设置命名管道。

Named pipes can be used to provide communication between processes on the same computer or between processes on different computers across a network

关于.net - WCF 命名管道 : Across network? 真的吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1284683/

相关文章:

c# - 如何访问另一个程序集的 .resx?

c# - 是否值得从我的文件中删除 "using System"?

c# - 与 WCF 服务共享领域模型

.net - 流式传输 WCF - 400 错误请求

linux - Linux/BASH 中完全健壮的消息队列

Excel VBA : Communicating via named pipe

c# - .NET 能否在运行时检测到 "irrelevant"代码并对其进行垃圾回收?

.net - Azure Batch 服务任务退出代码错误

.net - 多个同时保存导致 WCF/NHibernate "Row updated by another transaction"

C#命名管道,如何检测客户端断开连接