问题
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