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

How to get access token after token expiry by using signalR negotiation Azure function in Angular 11?

I am using @microsoft/signalr package installed in Angular 11 application. I am getting 401 error once the access token got expired after 1 hour. Is there a way to get access token renewed after the token expiration something like by using refresh…
RGS
  • 5,131
  • 6
  • 37
  • 65
1
vote
1 answer

SignalR Serverless Report Progress

I am trying to build a test app so that my HTML page can send a message to an long running method on an Azure function via SignalR, and the long running function can use SignalR to report progress back to the HTML page. Does anyone know how to do…
Philip Johnson
  • 1,091
  • 10
  • 24
1
vote
1 answer

How to properly count SignalR messages in Blazor Server App?

I have a Blazor Server app hosted on an Azure App Service which seems to be quite "chatty" as it is handling some UI events on the browser such as drag and drop events. I've added trace logs to have some sort of estimate of how many SignalR messages…
1
vote
1 answer

“AADSTS5002730: Invalid JWT token. Unsupported key for the signing algorithm” error in the on-behalf-of scenario for Azure Signal R Service token

I’m getting the above error when I’m trying to use a JWT token generated for the Azure Signal R Service (ASRS) in the on-behalf-of scenario. Here is a description of the flow: The web app is using the react-adal library to get the access token for…
Marcin
  • 211
  • 2
  • 5
1
vote
1 answer

Using Azure Function for an update to hook into a SignalR broadcast

So I was following several tutorials here: https://learn.microsoft.com/en-us/azure/azure-signalr/signalr-quickstart-azure-functions-csharp and https://learn.microsoft.com/en-us/azure/azure-signalr/signalr-concept-serverless-development-config My…
djangojazz
  • 14,131
  • 10
  • 56
  • 94
1
vote
0 answers

How can i host signalr on a dedicated server

I am working on a blazor application. I have tried azure signalr services (ASRS). All signalr requests are handled by a dedicated azure resource. So it suppose this reduce load on web server. What i want to do is to deploy a dedicated signalr server…
Bob5421
  • 7,757
  • 14
  • 81
  • 175
1
vote
1 answer

How to implement async IUserIdProvider for SignalR

I have an authentication setup where I store a session ID and an unverified user ID in my claims. Then, in a normal controller, I would look up the session in my DB to verify that it matches the userID and consider the user logged in. I am trying to…
Michael Tontchev
  • 909
  • 8
  • 23
1
vote
1 answer

Do I have to use Azure SignalR for a SignalR service deployed to Azure?

I know the question sounds weird, but recent tests have made me doubt about my SignalR implementation. I have the following in my startup class (other setup omitted to put things simple as possible): public void…
zameb
  • 705
  • 11
  • 26
1
vote
1 answer

Why is my Azure SignalR Hub method not being triggered?

I am unable to resolve why my Azure SignalR Hub method is not being triggered? Environment: Xamarin.Forms client Disclaimer: My LocationHub class is in a separate project that is referenced by the project that hosts my Azure Function. Can Azure…
Scott Nimrod
  • 11,206
  • 11
  • 54
  • 118
1
vote
1 answer

Signalr in azure app service not working for websockets

I have a client (angular) app service and an api(net core 3.1) app service that I am trying to talk to each other through signalr. It works fine on localhost with websocket, but on azure app service it only works for longpolling transport mode even…
Haha
  • 137
  • 1
  • 1
  • 11
1
vote
1 answer

Azure function working in local but not after uploading to azure

I'm new with azure functions and azure as whole. I'm using azure functions for interacting with a SignalR service for usage in a xamarin forms app. I borrowed the azure function code from docs.MSDocs on serverless signalR service Worked well in…
Nikhileshwar
  • 1,666
  • 1
  • 11
  • 26
1
vote
1 answer

Generic Serverless Hub for SignalR

SignalR has a Hub class that looks like this: public abstract class Hub : Hub where T : class { protected Hub(); public IHubCallerClients Clients { get; set; } } public interface IHubCallerClients :…
Bugbeeb
  • 2,021
  • 1
  • 9
  • 26
1
vote
1 answer

Is there a way to Authenticate users who connect to Azure SignalR?

I am really struggling to understand on how to implement this. I have an Azure SignalR service running. I have an Azure Function setup. I have a Web API. The Web API fires a HTTP POST to the Azure Function and using a HTTPTrigger it then sends out…
1
vote
0 answers

Graphql-net server in an azure function doing subscriptions with signalR

Looking for sample code to do have a graphql-net server living in an azure function endpoint and doing subscriptions. Azure functions don't support WebSockets so thinking at using signalR. According to…
1
vote
1 answer

Adding Microsoft.Azure.WebJobs.Extensions.SignalRService package to Azure Function project breaks my Dependency Injection

I am currently working on a WebApp where I have an Azure Function API backend which talks to an Azure Cosmos Database. I have added Dependency Injection to the my project as described in this article:…
EJ1
  • 33
  • 5