在网络(LAN)中未安装IIS的情况下托管WcF服务 [英] Hosting WcF service without IIS installed in network(LAN )

查看:62
本文介绍了在网络(LAN)中未安装IIS的情况下托管WcF服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨 目前,我需要准备一个wcf服务,该服务将在网络上运行.Sy

(x.x.x.13:8116),也可以由网络中的其他IP访问,例如x.x.x.121.它在运行IIS时可以正常运行,但如果使用Net.tcp则无法正常工作.请帮助


感谢进阶

Devopriyo

解决方案

哪个版本的IIS? IIS5/6仅支持HTTP连接-您不能在IIS 5/6中托管NetTCP.

在IIS7中,您必须手动执行一系列步骤来启用非HTTP绑定,但这是可行的. MSDN文章 http://msdn.microsoft.com/en-us/magazine/cc163357.aspx [ ^ ]

Hi Currently I need to prepared a wcf service whichi will run over a network .Sy

(x.x.x.13:8116) and it can also be access by the other Ip in network like say x.x.x.121) .It working when done with IIS when its running but whiel using Net.tcp it nort working.Please Help


Thanks In Advanced

Devopriyo

解决方案

Which version of IIS ?? IIS5/6 only support HTTP connections - you cannot host a NetTCP in IIS 5/6.

In IIS7, you have to manually go through a series of steps to enable non-HTTP bindings, but its possible. Reference at MSDN article http://msdn.microsoft.com/en-us/magazine/cc163357.aspx[^]


这篇关于在网络(LAN)中未安装IIS的情况下托管WcF服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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