How To: Enable multiple netTcp port sharing for WCF end-points

Getting straight to the point, the checklist for this can be found here. 3 basic tasks need to be done: – 1.       Enable port sharing by either adding an attribute in your code like below   NetTcpBinding binding = new NetTcpBinding(“netTcpBinding”); binding.PortSharingEnabled = true; serviceHost = new ServiceHost(typeof(MsiFacade35Service)); serviceHost.AddServiceEndpoint(typeof(IMsiFacade35Service), binding, “net.tcp://MyServer/MyServiceEndpoint”);   Or by setting…

1