如何在IIS中托管启用了网络命名管道绑定的WCF应用程序?

编程入门 行业动态 更新时间:2024-10-25 02:26:27
本文介绍了如何在IIS中托管启用了网络命名管道绑定的WCF应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

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

I have a following configuration in my wcf service

<endpoint address="" binding="netNamedPipeBinding" contract="WcfWithNamedPipe.IService1" bindingConfiguration="WcfWithNamedPipeNamedPipeBinding"> </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.

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

For details see: msdn.microsoft/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应用程序?

本文发布于:2023-11-05 04:51:41,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1559949.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:绑定   应用程序   管道   如何在   网络

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!