The package Microsoft.AspNetCore.SignalR is deprecated. May I know the latest package for the same.

Manjunath Cycle 1 Reputation point
2022-08-08T06:12:37.23+00:00

The package Microsoft.AspNetCore.SignalR is deprecated. May I know the latest package for the same.I am panning to work with .Net 6.

228944-image.png

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

2 answers

Sort by: Most helpful
  1. Jan K 6 Reputation points
    2022-10-26T09:25:19.027+00:00

    Hi @Manjunath Cycle ,
    if your project is a library where you want to use SignalR server functionality, you can add a framework reference to your project.
    As @Zhi Lv - MSFT mentioned, SignalR is now contained in the Microsoft.AspNetCore.App framework.

    Like:

      <ItemGroup>  
          <FrameworkReference Include="Microsoft.AspNetCore.App" />  
      </ItemGroup>  
    

    Look at this article for more details:
    https://learn.microsoft.com/en-us/aspnet/core/fundamentals/target-aspnetcore

    Have a nice day!
    Jan

    1 person found this answer helpful.
    0 comments No comments

  2. Zhi Lv - MSFT 32,021 Reputation points Microsoft Vendor
    2022-08-08T07:47:29.19+00:00

    Hi @Manjunath Cycle ,

    The SignalR server library is included in the ASP.NET Core shared framework (Included in the Microsoft.AspNetCore.App shared framework.). So, in asp.net core application, there is no need to add SignalR server library. We just need to install the SignalR Client library.

    More detail information, see:

    Differences between ASP.NET SignalR and ASP.NET Core SignalR

    Tutorial: Get started with ASP.NET Core SignalR


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    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,
    Dillion