Will it be possible for windows xp or windows server 2003 to support net.tcp for WCF, well it works in windows server 2008 as IIS 7.0 supports net.tcp,but is there anyway for IIS 5.1 or IIS 6.0 to support net.tcp,is there any workaround for this?
Windows XP或Windows Server 2003是否可以支持WCF的net.tcp,它可以在Windows Server 2008中运行,因为IIS 7.0支持net.tcp,但无论如何IIS +或IIS 6.0都支持net.tcp,这有什么解决方法吗?
2 个解决方案
#1
No, you will have to host it yourself (windows service for example) to use net.tcp. See this article for a list of hosting options and what transports they can host.
不,您必须自己托管(例如Windows服务)才能使用net.tcp。有关托管选项及其可以托管的传输的列表,请参阅此文章。
#2
I don't believe you can host non-HTTP bindings in IIS 6.0. In IIS 7.0 you can use WAS (Windows Activation Services) to host non-HTTP, but I don't think this works in 6.0.
我不相信你可以在IIS 6.0中托管非HTTP绑定。在IIS 7.0中,您可以使用WAS(Windows激活服务)来托管非HTTP,但我认为这不适用于6.0。
The best alternative for XP or 2003 is to host your non-HTTP endpoints with a ServiceHost in a Windows Service.
XP或2003的最佳替代方法是在Windows服务中使用ServiceHost托管非HTTP端点。
#1
No, you will have to host it yourself (windows service for example) to use net.tcp. See this article for a list of hosting options and what transports they can host.
不,您必须自己托管(例如Windows服务)才能使用net.tcp。有关托管选项及其可以托管的传输的列表,请参阅此文章。
#2
I don't believe you can host non-HTTP bindings in IIS 6.0. In IIS 7.0 you can use WAS (Windows Activation Services) to host non-HTTP, but I don't think this works in 6.0.
我不相信你可以在IIS 6.0中托管非HTTP绑定。在IIS 7.0中,您可以使用WAS(Windows激活服务)来托管非HTTP,但我认为这不适用于6.0。
The best alternative for XP or 2003 is to host your non-HTTP endpoints with a ServiceHost in a Windows Service.
XP或2003的最佳替代方法是在Windows服务中使用ServiceHost托管非HTTP端点。