Search code examples
asp.netsignalrasp.net-core-signalr

Is ASP.NET Core SignalR backwards compatible with ASP.NET SignalR


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.


Solution

  • 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