WCF and WebSockets

The .NET Framework 4.5 introduces support for WebSockets in Windows Communication Foundation. WebSockets is an efficient, standards-based technology that enables bidirectional communication over the standard HTTP ports 80 and 443. The use of the standard HTTP ports allow WebSockets to communicate across the web through intermediaries. Two new standard bindings have been added to support communication over a WebSocket transport. NetHttpBinding and NetHttpsBinding. WebSockets-specific settings can be configured on the HttpTransportBindingElement by accessing the WebSocketSettings property.

In This Section

Using the NetHttpBinding
Discusses the NetHttpBinding and how to configure it.

How to: Create a WCF Service that Communicates over WebSockets
Describes how to create a WCF service that communicates over Websockets.