This release brings a huge amount of changes including new features, massive performance improvements and some API breaking changes (for the better of course).
Here’s an overview of the changes in this release:
- Increased throughput by almost 100% from 0.3.5
- Substantially reduced memory use
- Decoupled from ASP.NET, can now host on other servers, e.g. OWIN, HttpListener, etc.
- Standardized on JSON.NET for JSON serialization and deserialization
- Removal of non-async APIs
- Removal of statics to allow for better isolation (like testing, multi-host, etc.)
- Support for four transports:
- WebSockets on ASP.NET with Windows 8
- Server Sent Events (EventSource)
- Forever Frame
- Ajax Long Polling
- Improved transport negotiation
- Support for custom querystring values in connection URLs
- Support for dynamic parameters to hub methods
- Improved disconnect logic and notification
- Client support for .NET, Silverlight and Windows Phone 7
- Improved tracing
- Tools and configuration for load testing
- Loads and loads of bug fixes
Plans for future releases
Our upcoming releases will focus on supporting scale out for web farms and cloud hosting scenarios, along with further features and improvements. While the list is still being decided, the following features are being considered:
- Scale out providers for SQL Server and Service Bus
- Cross domain connections
- Hub JS proxy file generation at design/build time for improved JS IntelliSense & bundling support
- .NET client side proxy generation
- Much improved tracing
- Web Forms control for server originated post-back (for use in UpdatePanels)
Giving Feedback & Getting Assistance
Please jump into the SignalR room on JabbR if you want to discuss any feature or issue or just chat with the SignalR team and other SignalR users. If you find a bug or have a feature suggestion, please log an issue on github.
Show Your Support
We love hearing of people having fun with SignalR. To show your support and keep us in the loop of your successes or otherwise, you can follow SignalR on twitter, and watch the SignalR repository on github.
Thanks to those who attended my BUILD talk on the new features for working with data in ASP.NET Web Forms 4.5 Developer Preview (great name 😐 ).
If you didn’t catch it, you can watch it on Channel 9.
The demo project I used can be downloaded from http://files.damianedwards.com/BUILD2011-WebForms.zip
We’d love to hear feedback on these new features so please download the Visual Studio 11 Developer Preview, read the series on new ASP.NET features from ScottGu, read the What’s New in ASP.NET 4.5 and Visual Web Developer whitepaper, and try out the new features with *your* projects, by opening them in VS11 and updating them to use things like Model Binding and Unobtrusive Validation.
There’s no better testing than with real world apps!
I’ve gone back through my blog articles and updated the links to code samples and the like as many of them were no longer working after I recently changed hosting providers. If you happen to come across any I missed, just drop me a comment to let me know and I’ll fix it up quick smart.
I’m pretty happy with that, given that I’m not used to copying out great reams of repeating (or non-repeating) text.
What do you get?