Can I use IIS to host WCF services with transport other than HTTP?
-
13-09-2019 - |
Question
I've searched and didn't find any question similar, so I'm asking.
Is it possible to use IIS with transport other thna HTTP?
If so, how to configure it?
Solution
Yes. This can be done in IIS7. You have to enable the protocols that you want to use and then just create the appropriate endpoints for your service. Here's an example of doing that using net.tcp as the transport.
alt text http://www.singingeels.com/Articles/Articles/UserImage.aspx?ImageID=24dd85f6-eec6-4c47-85b1-6f75fed49198 alt text http://www.singingeels.com/Articles/Articles/UserImage.aspx?ImageID=ea9a7245-742f-48db-859f-73133e8731ca
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow