Is the ASP.NET Core SignalR server backwards compatible with an ASP.NET SignalR client?
I have a server implementation based on the old ASP.NET SignalR with PersistentConnection that I want to move to ASP.NET Core but old clients must still be able to connect to the new server platform - upgrading the clients is a slow process.
This is a general question and I think it deserves its own post without the clutter of broken code.
SignalR also supports WebSockets, and is backwards-compatible for older browsers (it uses older transports where necessary, i.e. for browsers that don't support HTML5).
Desktop and Mobile versions are supported. Mozilla Firefox: current version - 1, both Windows and Mac versions. Google Chrome: current version - 1, both Windows and Mac versions. Safari: current version - 1, both Mac and iOS versions.
What is SignalR? ASP.NET Core SignalR is an open-source library that simplifies adding real-time web functionality to apps. Real-time web functionality enables server-side code to push content to clients instantly. Good candidates for SignalR: Apps that require high frequency updates from the server.
SignalR can be used to add any sort of "real-time" web functionality to your ASP.NET application. While chat is often used as an example, you can do a whole lot more. Any time a user refreshes a web page to see new data, or the page implements long polling to retrieve new data, it is a candidate for using SignalR.
ASP.NET Core SignalR isn't compatible with clients or servers for ASP.NET SignalR. Detailed explanation is given into this Microsoft Article
The answer is no, and it is stated in the this MSDN blog post
We added a number of new features to SignalR for ASP.NET Core but we also decided to remove support for some of the existing features or change how they work. One of the consequences of this is that SignalR for ASP.NET Core is not compatible with previous versions of SignalR. This means that you cannot use the old server with the new clients or the old clients with the new server. Below are the features which have been removed or changed in the new version of SignalR.
Thanks @ATerry for pointing me to this SO post
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With