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
0
votes
1 answer

SignalR Azure Service with stand alone Identity Server 4 returns 401 on negotiaton

We have a ASP.Net Core application that authenticates against a standalone Identity Server 4. The ASP.Net Core app implements a few SignalR Hubs and is working fine when we use the self hosted SignalR Service. When we try to use the Azure SignalR…
Weissvonnix
  • 731
  • 7
  • 23
0
votes
1 answer

How to authenticate the connections made to Azure Function (negotiate) from angular application which in turn connects with Azure SignalR Service?

I have a angular application (Azure AD authenticated) which communicates with Azure Function (negotiate) which in turns connects with Azure SignalR service. The communication between Azure Function and the Azure SignalR service happens based on the…
santosh kumar patro
  • 7,231
  • 22
  • 71
  • 143
0
votes
1 answer

Consuming SignalR services in c# serverless inside the code

Ivé this code... public async Task Run( [HttpTrigger(AuthorizationLevel.Anonymous, "get", Route = "v1/Sala")] HttpRequest req, [SignalR(HubName = "{query.HubName}")] IAsyncCollector signalRMessages) { …
Marco Jr
  • 6,496
  • 11
  • 47
  • 86
0
votes
0 answers

Azure SignalROutput handle failed execution

I am using BlobTriggerFunction with output binding as SignalROutput, Now If Azure SignalR is not configured, it throws error and runs functions again and again. How can I make sure to execute output binding only once either failed or…
Yogen Darji
  • 3,230
  • 16
  • 31
0
votes
1 answer

SignalR firing OnConnectedAsync for users in a hub on another machine

Our Azure SignalR application is a bit of a hybrid, outgoing messages go into ActiveMQ then get picked up by a listener in a hosted service that receives them and sends them to the NotificationsHub (in the same API project). e.g. await…
0
votes
1 answer

Request header value added in the Middleware is not reaching hub via Azure SignalR Service

Request headers are passed on from the front end to the app service the middleware configured adds some additional headers to the request, but when this reaches the hub via (Azure Signal service) only the front end headers are available. The…
Gauls
  • 1,955
  • 6
  • 28
  • 44
0
votes
0 answers

Azure SignalR ServiceManagerBuilder Singleton, Transient or Scoped?

We are using the Azure SignalR service from functions to send messages back to our UI and all is working without issue. But I can't find a definitive answer on how long lived the ServiceManager or HubContext should be. At the moment each time we…
user351711
  • 3,171
  • 5
  • 39
  • 74
0
votes
1 answer

Azure Functions with SignalR: Unauthorized when trying to get access to SignalR Service

i am currently developing a real time analytic Dashboard with Stream Analytics -> Azure Functions -> SignalRService -> Angular Web App. I am struggling when i want to authorize my function with the signalr service. Therefore i added the…
sINFflwies
  • 69
  • 2
  • 6
0
votes
1 answer

Azure Function SignalR Output Binding - How to receive message in NET Core Web App?

I beleive I have some mis-conceptions here in how Azure SignalR is meant to work when deploying an Azure Function that uses a SignalR Output Binding. My environment: 1 - Azure Function which does some work and then sends a message to the SignalR…
OJB1
  • 2,245
  • 5
  • 31
  • 63
0
votes
0 answers

How to handle SignalR connection while internet get offline and online?

Angular: 9, SignalR: "@microsoft/signalr": "^6.0.0" //The following code creates and starts a connection hubConnection: signalR.HubConnection; this.hubConnection = new signalR.HubConnectionBuilder() .withUrl( ``) …
Mitul
  • 27
  • 1
  • 6
0
votes
1 answer

Connections to server not routing properly in Azure signalR client

I have set up an Azure SignalR service (ASRS) very similarly to how it is explained here: https://github.com/aspnet/AzureSignalR-samples. The solution is using .Net Framework 4.8 with ASP.NET MVC. When not using ASRS, it sets up the connection in…
Bron Davies
  • 5,930
  • 3
  • 30
  • 41
0
votes
1 answer

Azure SignalR. Calling a function with signalR binding without http binding

I have an Azure functions app in which I have separated my signalR code from http functions to separate logic. You can say that my functions which implement signalR functionality are internal functions. Following is an example …
khan
  • 1
0
votes
1 answer

Not able to connect from javascript signalr client to azure client

Here is my stuff: Javascript: var connection = new signalR.HubConnectionBuilder() .configureLogging(signalR.LogLevel.Debug) .withUrl("/client/?hub=myHub") .withAutomaticReconnect().build(); OR var…
Komal
  • 11
  • 2
0
votes
2 answers

Azure Functions | Using output binding multiple times

Can I use an output binding argument in a foreach, multiple times? [FunctionName("OnClientConnectedDisconnected")] public async Task Run( [EventGridTrigger] EventGridEvent eventGridEvent, [SignalR(HubName = "Lobby")]…
Orhun
  • 1,162
  • 14
  • 22
0
votes
0 answers

How to send message to specific user by only userid in Azure signalr?

Hi I am working in azure SignalR. I have made setup to send message to specif user by using combination of connectionid and userid and this works perfect for me. public class UserConnectionManager : IUserConnectionManager private static…