Use signalR with Client in .netcore and server in .net framework(4.6.2)

David Cerezo Romero 1 Reputation point
2021-03-24T16:24:15.663+00:00

Hello, I am trying to open a communication channel using SignalR between a client written in c# with .netcore and a server with .net framework 4.6.2 also written in c#. Is it posible? If the answer is no, what can I do to be able to communicate between server and client?

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,724 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,555 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Michael Wang-MSFT 1,061 Reputation points
    2021-03-25T05:29:32.603+00:00

    Hi, @David Cerezo Romero ,

    Sorry, ASP.NET Core SignalR isn't compatible with clients or servers for ASP.NET SignalR. This means that you cannot use the old server with the new clients or the old clients with the new server.

    Differences between ASP.NET SignalR and ASP.NET Core SignalR
    MSDN SignalR Blog 《Announcing SignalR (alpha) for ASP.NET Core 2.0》

    ------
    If the answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    Best Regards,
    Michael Wang


  2. Bruce (SqlWork.com) 68,956 Reputation points
    2025-01-03T17:18:14.46+00:00

    This is an old thread. Since asked, aspnet core version has added client library support for the old framework:

    https://www.nuget.org/packages/Microsoft.AspNetCore.SignalR.Client

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.