What’s new in WCF 4.5? WebSocket support (Part 1 of 2)

added by idof
3/7/2012 7:27:03 AM


This is the 11th post in the WCF 4.5 series. The previous post was about the new UDP transport support, and this new post is also about new transports – the WebSocket transport. This post is part 1 of 2. This post will be about the WebSocket support between .NET apps using WCF (SOAP-based), and the next post will be about using WebSockets between browsers and WCF (non-SOAP).


3/7/2012 11:12:37 AM
This will be nice, but I wonder if developers will choose this over ASP.NET + SignalR? Perhaps they will when the client isn't specifically a browser?

3/7/2012 2:09:01 PM
If developers work today with WCF and duplex services, I guess they will prefer keeping their code and only changing the binding. When talking about new applications I guess developers will have several ways to go - use WebSockets with WCF, or with ASP.NET, or with NodeJS, or with SignalR over ASP.NET.
At the end - WebSockets in WCF / ASP.NET is the plumbing, SignalR is an abstraction/implementation over it (like how RIA services is on top of WCF)