Non-http Protocol Support in windows xp or Windows Server 2003? (net.tcp)

让人想犯罪 __ 提交于 2019-12-24 20:10:22

问题


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?


回答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.




回答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.

The best alternative for XP or 2003 is to host your non-HTTP endpoints with a ServiceHost in a Windows Service.



来源:https://stackoverflow.com/questions/1030701/non-http-protocol-support-in-windows-xp-or-windows-server-2003-net-tcp

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!