New text notification for SignalR

Abhishek M 1 Reputation point
2021-04-29T09:23:11.473+00:00

How can we update the signalR user if there is any new message when the user is not connection.
In other words is there any way to send notification of new message to the other end user in SignalR.

Azure SignalR Service
Azure SignalR Service
An Azure service that is used for adding real-time communications to web applications.
142 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Ryan Hill 28,106 Reputation points Microsoft Employee
    2021-05-03T16:22:33.337+00:00

    Hi @Abhishek M ,

    Azure SignalR is designed to maintain persistent connections between the service and clients, see https://video2.skills-academy.com/en-us/azure/azure-signalr/signalr-concept-internals. There aren't any built-in methods; that I'm aware of, to notify or wake disconnected clients. There may be various reason a client can be disconnected as document in https://video2.skills-academy.com/en-us/azure/azure-signalr/signalr-howto-troubleshoot-guide#client-connection-drops; however, any type of connection re-establishment would have to be handled on your client side.

    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.