Can we use @aspnet/signalr node package for client when we are using a dotnet framework 4.8 signalr server?

Heera Hemanth Bylla 1 Reputation point
2022-04-11T10:47:08.707+00:00

Trying to build a SignalR web app, using .Net framework server and Angular client.

I could not find the option skipNegotiation in the signalr node package.

So, can I use the @aspnet/signalr package and implement the option with the same app setup?

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,446 questions
Azure SignalR Service
Azure SignalR Service
An Azure service that is used for adding real-time communications to web applications.
140 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Bruce (SqlWork.com) 63,416 Reputation points
    2022-04-11T17:24:43.747+00:00

    no.

    the 4.8 and .net core signal/r protocols are different and require their own unique client libraries. use the

    https://www.npmjs.com/package/signalr

    package for 4.8. I don't believe 4.8 signal/r supports skipNegotiation.

    1 person found this answer helpful.
    0 comments No comments

  2. Yijing Sun-MSFT 7,076 Reputation points
    2022-04-12T05:52:39.12+00:00

    Hi @Heera Hemanth Bylla ,
    As far as I think, dotnet4.8 signalr don't support skipNegotiation.
    Best regards,
    Yijing Sun


    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.

    1 person found this answer helpful.
    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.