.netwcfiisnet.tcp

WCF net.tcp binding: Is port sharing required to host multiple services?


We have run into some problems hosting WCF on IIS (the SMSvcHost.exe Event Log ID 8 problem).

The IIS setup is as follows:

In the web.config files, all the net.tcp bindings have portSharingEnabled="true".

Questions:

Now I could of course just try it out, but I currently only have a production server to test it on and want to do some research first.


Solution

  • Answers to your questions:

    You can try to migrace one of your applications to see how it works. Add one binding to IIS site, add second endpoint with new port to web.config and update client to see how it works. This update will require to reconfigure all client applications as well since their server will be on different port.