AzureSignalR-samples | Code samples for Azure SignalR | Azure library
kandi X-RAY | AzureSignalR-samples Summary
kandi X-RAY | AzureSignalR-samples Summary
Code samples for Azure SignalR
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of AzureSignalR-samples
AzureSignalR-samples Key Features
AzureSignalR-samples Examples and Code Snippets
Community Discussions
Trending Discussions on AzureSignalR-samples
QUESTION
My ASP.NET Web API (target framework: .NET Framework 4.6.2) project frequently loses connection with Azure SignalR service (free tier). I have followed the example as shown in aspnet ‘chatroom’ example.
My client application is based on Angular JS. Messages are being send to the clients but after a few hours, the server connection with Azure SignalR service is lost and is not established again.
As far as I understand from the MS Azure SignalR Internals documentation:
If a server connection is disconnected for network issue,
- the server connection starts reconnecting automatically.
The following error is returned back in response:
Azure SignalR Service is not connected yet, please try again later
However, this does not seem to be happening i.e. server connection with Azure SignalR service is not established again.
nuget
packages:
- Microsoft.AspNet.SignalR v2.4.0
- Microsoft.AspNet.SignalR.Core v2.4.0
- Microsoft.AspNet.SignalR.SystemWeb v2.4.0
- Microsoft.Azure.SignalR.AspNet v1.0.0-preview1-10317
- Microsoft.Azure.SignalR.Protocols v1.0.6
ANSWER
Answered 2019-Feb-21 at 04:45Have you added error handling code in your client like below-
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install AzureSignalR-samples
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page