Which Binding is used for port sharing in WCF?
-
NetMSMQBinding
-
BasicHTTPBinding
-
NetPeerTCPBinding
-
NetTCPBinding
D
Correct answer
Explanation
NetTcpBinding is the WCF binding that supports port sharing through the TCP port sharing service. This allows multiple WCF services to share the same TCP port, which is useful for hosting multiple services on the same endpoint.