We have run into some problems hosting WCF on IIS (the SMSvcHost.exe Event Log ID 8 problem).
The IIS setup is as follows:
- One IIS site, with a site binding net.tcp (binding information 808:*)
- With a handful of applications
- Each application running its own app pool
- Each application hosting one net.tcp WCF service
In the web.config
files, all the net.tcp bindings have portSharingEnabled="true"
.
Questions:
- If I change to
portSharingEnabled="false"
, I suspect the setup will stop working? True? (My reasoning is that there is no way that the multiple worker processes can handle the same port without port sharing) - If so, is a workaround to let all the applications run on the same app pool?
- Or is port sharing a requirement for hosting net.tcp in IIS?
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.