Questions tagged [azure-signalr]

Questions about the Microsoft Azure SignalR Service

Azure SignalR Service simplifies the process of adding real-time web functionality to applications over HTTP. This real-time functionality allows the service to push content updates to connected clients, such as a single page web or mobile application. As a result, clients are updated without the need to poll the server, or submit new HTTP requests for updates.

246 questions
1
vote
0 answers

Azure SIgnalR Service user credential validation before negotiation

We are trying to connect azure signalR service with our azure function app. We have a negotiate method in the function app that returns SignalRConnectionInfo object to client and before that, it makes a call to signalR service. We want to make a…
Anup
  • 1,502
  • 2
  • 15
  • 31
1
vote
0 answers

asp.net core signalR Custom Authentication and tagging connection with custom id

We are trying to use asp.net core signalR to update client application from the server. Our client will send userId & custom Id in the query parameter when it first creates the connection. We need to check userId & custom Id in the database to…
Anup
  • 1,502
  • 2
  • 15
  • 31
1
vote
2 answers

Error trying to connect to asp.net core signalr hub from Angular App

i have an asp.net core 3.1 application that uses Microsoft.AspNetCore.SignalR 1.1.0 and Microsoft.Azure.SignalR in Startup signal is setup like this …
1
vote
0 answers

How to send notification to authenticated users in Azure Signal R?

net core project. I have azure AD authentication. I have functionality where user will upload files and as soon as file get stored in azure storage I want to notify user through azure signal r. I have implemented this flow but I want to send…
Mr Perfect
  • 585
  • 8
  • 30
1
vote
1 answer

Azure SignalR Services with Bearer Authentication

We are trying to scale out our calendar application, that uses SignalR to push updates to clients based on their user's OrganizationId. Previously, the SignalR stuff was hosted within the single App Server, but to make it work across multiple…
AsgerHB
  • 153
  • 12
1
vote
0 answers

Azure SignalR Service Testing

I am trying to run a SignalR hub on a machine on my lan at home using the Azure SignalR Service. I could not connect to localhost from another machine on my lan so I changed the launch settings to: "applicationUrl":…
Paul Stanley
  • 1,999
  • 1
  • 22
  • 60
1
vote
1 answer

Azure Function - Send a message from an Event Hub Trigger to an Azure SignalR Service

I am trying to send a message to Azure SignalR Service from an Azure Function EventHub Trigger. I don't get an exception, not even information on the output window, what am i doing wrong? using System; using System.Collections.Generic; using…
BrunoMartinsPro
  • 1,646
  • 1
  • 24
  • 48
1
vote
1 answer

Failed to complete negotiation with the server - Angular + SignalR

I'm unable to establish a connection using Angular + Azure Functions using Nodejs. I know that the backend works because I created it using the following documentation and tested it with the client URL provided in docs. Messaging was working across…
user6680
  • 79
  • 6
  • 34
  • 78
1
vote
0 answers

Authorization with Azure SignalR service fails because IServiceCollection is null

In a project I have a SignalR hub which can do authorization. The simplified version of the hub looks like this. public class WeatherHub : Hub { public async Task SubscribeForWeatherChange(string city) { // Will never throw. Based on…
Yavuz
  • 630
  • 6
  • 20
1
vote
1 answer

Custom SignalR Serverless Access Token (JWT) within negotiate method?

Is it supposed to be possible to generate your own JWT within the negotiate function for SignalR Serverless AND have that same JWT passed back to you when the connection event from EventGrid is triggered? When my EventGridTrigger executes upon a new…
JamesD
  • 85
  • 1
  • 5
1
vote
1 answer

Azure SignalR withAutomaticReconnect() "Error: Connection disconnected with error"... on Angular8 & Asp.Net Core 3.1

I am using Azure SignalR on Asp.Net Core 3.1 and Angular8. I also user withAutomaticReconnect() option on client side. It connect with azure signalr successfully. But after some times it show this error message and connected to the WebSocket…
1
vote
1 answer

Asp.Net Core v3.1 & Angular8 Azure SignalR with withAutomaticReconnect 'Error: Server timeout elapsed without receiving a message from the server.'

I am using Asp.Net Core 3.1 and Angular8 with Azure SignalR. It connect with azure signalr successfully. But some times it show this message.
1
vote
1 answer

How do you test a SignalR application (load + functional combined) hosted on an Azure Appservice

How do you test a SignalR application (load + functional combined) hosted on an Azure Appservice We are building a SignalR application for questionpolling to the audience during events and congresses (in real-time). We expect sessions of 1000-2000…
1
vote
1 answer

Configure Claims mapping to hubContext.Clients.User in Azure SignalR

I am trying to Send a message to a particular User using Azure SignalR like this await this.hubContext.Clients.User(UserId).SendAsync("NotifyUser", "message"); According to…
Srik
  • 35
  • 3
1
vote
1 answer

Is it possible to use SignalR on Azure to communicate between .Net Core and MVC5?

I have an AzureSignalR instance created and 2 client apps. One is an MVC5, .Net 4.7.2 app and the other a .Net Core 2.2. I've create an identical SignalR Hub in both that is simply public class MessageHub : Hub { public void…
Dan Kennedy
  • 800
  • 1
  • 6
  • 13