Friday, September 28, 2012

WCF Duplex Bi-directional Streaming with WebSocket Transport

WCF Duplex Bi-directional Streaming with WebSocket Transport: DuplexBiDirectionalStreaming VS2012 project DuplexBiDirectionalStreaming.zip Introduction With WebSocket transport, it’s possible to use streamed transport on the Duplex Callback – something that was previously a technical limitation with WCF but is now possible using this transport. New to .Net4.5 is the NetHttpBinding (and NetHttpsBinding), which is a new standard binding that leverages the WebSocket transport if it makes sense to do so. You can configure it to always use WebSocket transport, but by default, it will only use it for Duplex channel shapes. Why? Well, what this transport gives you is the ability for the server to push data to the client without an incoming request. If your contract is already request-reply, there isn’t much increase...(read more)

DIGITAL JUICE

No comments:

Post a Comment

Thank's!