Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to add net.tcp protocol support for IIS Express used by Visual Studio?

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.

like image 690
Alejandro Robleto Avatar asked Apr 05 '13 16:04

Alejandro Robleto


1 Answers

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.

like image 180
nkvu Avatar answered Sep 22 '22 12:09

nkvu