Is it possible to host a TCP endpoint in a hosted IIS6 service?

I created a wcf service based on ServiceHostFactory and I host it in IIS6. If I use an HTTP endpoint, everything works fine, but when I try to switch to TCP, it will be bad.

Is it possible to do this in II6?

I have a more specific question posted here that needs to be resolved, but I would be pleased (for starters, if not) with just an answer (and possibly an example) to this less specific question.

Why can't I connect to the WCF service using net.tcp, but can I use http?

+6
wcf iis-6
source share
1 answer

IIS 5.1 and IIS 6 can only contain HTTP bindings. IIS7 has a WAS (Windows Activation Service) that allows you to host endpoints that are bound to any transport protocol ... so that it will be capable of TCP.

If you must host with IIS 6, then you are stuck in HTTP bindings. If not, consider hosting on your own with a Windows service.

+11
source share

All Articles