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 [T: System.ServiceModel.Channels.HttpTransportBinding](assetId:///T: System.ServiceModel.Channels.HttpTransportBinding?qualifyHint=False&autoUpgrade=True) element by accessing the WebSocketSettings property.
How to: Create a WCF Service that Communicates over WebSockets
Describes how to create a WCF service that communicates over Websockets.