如何在IIS中托管启用了网络命名管道绑定的WCF应用程序? [英] How to host net named pipe binding enabled wcf application in iis?

查看:159
本文介绍了如何在IIS中托管启用了网络命名管道绑定的WCF应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的wcf服务中具有以下配置

I have a following configuration in my wcf service

    <endpoint address="" binding="netNamedPipeBinding" 
          contract="WcfWithNamedPipe.IService1" 
          bindingConfiguration="WcfWithNamedPipe.netNamedPipeBinding">
    </endpoint>

有人可以建议我如何使用netNamedPipe绑定在iis中托管此wcf服务吗?

can any one suggest me how to host this wcf service in iis using netNamedPipe binding?

推荐答案

要使命名管道在IIS上运行,必须在IIS上启用Windows进程激活服务(WAS)并配置要用于允许命名管道的站点.

To get Named pipes to work on IIS you must enable Windows Process Activation Service (WAS) on IIS and configure the site that you are using to allow named pipes.

有关详细信息,请参见: http://msdn.microsoft.com/en-us/library/ms752253 .aspx

For details see: http://msdn.microsoft.com/en-us/library/ms752253.aspx

就像Cyber​​max在评论中说的那样,让它首先与基本的http绑定一起工作是个好主意.

Like Cybermax says in the comment it is a good idea to get it to work with basic http binding first.

如果您认为自己已经正确设置了所有内容,但仍然无法正常工作,请检查防火墙设置.

If you get to the point where you think that you have setup everything correctly and it still does not work, check the firewall settings.

这篇关于如何在IIS中托管启用了网络命名管道绑定的WCF应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆