相关疑难解决方法(0)

使用NetNamedPipe的WCF多个应用程序

我试图在同一台机器上运行多个WCF服务托管应用程序.

我想在一个应用程序中运行多个应用程序 - 而不是多个服务.

var host = new ServiceHost(typeof(MyClass1), new Uri[] { new Uri("net.pipe://localhost") });
host.AddServiceEndpoint(typeof(ISomeInterface),  new NetNamedPipeBinding(), "FOO");
host.Open();
Run Code Online (Sandbox Code Playgroud)

我为每个应用程序更改"FOO",但仍无法启动多个服务.猜猜它很简单,但我卡住了:(

问候

c# wcf named-pipes netnamedpipebinding

9
推荐指数
1
解决办法
4259
查看次数

标签 统计

c# ×1

named-pipes ×1

netnamedpipebinding ×1

wcf ×1