I'm using the default configuration of Visual Studio to host my wcf service in a development scenario. I want to add a net.tcp endpoint, but I always get an error.
According to this FAQ, this functionality is not available in IIS Express:
Here's the extract of the relevant question from the FAQ:
Q: Does IIS Express support non-HTTP protocols such as net.tcp or MSMQ?
A: No. IIS Express only supports HTTP and HTTPS as its protocol.
For TCP bindings, you might have to create your own service host (e.g. if it's just for testing or similar, perhaps in a console application). Either that or go with the full IIS install (sorry, I've assumed you're on Win7) and deploy your application there.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With