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
0 answers

Migrating from SignalR to Azure SignalR in a .Net Framework 4.7.2 Web App

I currently have a WebApp which is using the "classic" SignalR. I am trying to migrate to use Azure Signal R instead. I know there are a lot of examples out there but I can't figure out how am I suppose to go about it in implementing it. I apologize…
0
votes
1 answer

Azure functions - SignalR output binding failure: ServiceEndpoints is empty. ConnectionString is null, empty, or consists only of white-space

I'm trying to run an Azure function using SignalR output binding in dotnet-isolated process, but I always have this error "Executed 'Functions.SendToGroup' (Failed,..) System.Private.CoreLib: Exception while executing function:…
0
votes
1 answer

SignalR client issues "Failed to complete negotiation with the server: TypeError: fetch failed" error message in a node application

We have an Azure Function App running on our development machine (http://locahost:7071/api) with negotiate endpoint pointing to an Azure Serverless signalR instance. The function app has the following configuration: "Host": { …
Arash
  • 3,628
  • 5
  • 46
  • 70
0
votes
1 answer

Javascript function with SignalR output binding - message not sent?

I've created a javascript function with a SignalR output binding, following this - https://learn.microsoft.com/en-us/azure/azure-functions/functions-bindings-signalr-service-output?tabs=in-process&pivots=programming-language-javascript the function…
Yossi Dahan
  • 5,389
  • 2
  • 28
  • 50
0
votes
2 answers

Upstream Azure SignalR function issues Could not load file or assembly Microsoft.Extensions.Options runtime exception

Note: This issue is not duplicate despite the title reads similarly. The following upstream signalR trigger function has been working well until we upgraded the NuGet packages to the latest versions. [Function("OnConnected")] [SignalROutput(HubName…
Arash
  • 3,628
  • 5
  • 46
  • 70
0
votes
1 answer

Blazor Server Side + Azure SignalR + Linux App Service Hosting Plan

I am currently hosting my Blazor Server app on a Windows Based Azure App Service because of the Web Sockets requirement (which the Linux variants does not seem to possess even on the Basic Tier). So I was wondering whether it would be possible to…
0
votes
0 answers

SignalR on Azure sends message to SignalR client within a LAN

We have the following mixed-environment scenario (Azure and LAN): Azure Web App calls a method in the Azure API (triggered by some user action in the web app). This Azure API then establishes a SignalR HubContext connection . The HubContext…
bob.mazzo
  • 5,183
  • 23
  • 80
  • 149
0
votes
1 answer

How to get the User ID in a EventGrid trigger Function App event?

I have an EventGrid Trigger Azure Function (using the isolated worker on .net7) that is called each time a client connects a SignalR hub. It is setup like this: [Function("v1-on-connectivity-events-changed")] public async Task…
Kzryzstof
  • 7,688
  • 10
  • 61
  • 108
0
votes
0 answers

SignalR as a Service Hubs query

Been recently exploring Azure SignalR as a Service. I'm very confused. I've got the following Hub written in serverless: public class MyModel { public string Username { get; set; } } public class MyHub : ServerlessHub { …
John
  • 175
  • 1
  • 10
0
votes
0 answers

Supply bindigs to SignalR that came from a mesage on the service bus

I've this scenario public async Task Run([ServiceBusTrigger("chat", "trataLikes", Connection = "ServiceBusConn")] string mySbMsg, [SignalR(HubName = "{some variable or a json value from the message}")] ICollector
0
votes
0 answers

Class-based SignalR Azure Function with SignalRTrigger decoration does not receive Angular messages

I currently have an Angular project that successfully negotiates with a C# Azure Function then attempts to send said function a message. The Azure Function is using a class-based model and despite tagging the method which should receive the Angular…
LanceT
  • 1
  • 1
0
votes
0 answers

Is it possible to return multiple SignalRMessageActions from a serverless Azure Function?

I've got a function with a CosmosDBTrigger and I want to pipe notifications out to SignalR clients. The Cosmos trigger gives you an IEnumerable of items, which may belong to multiple different clients, I've tried returning a…
Greg B
  • 14,597
  • 18
  • 87
  • 141
0
votes
1 answer

How to get authenticated user id to use in Azure Function with Azure SignalR Service Output binding

I need to send SignalR message to the specific user id not all the clients who connected to the Azure SignalR service in Serverless mode. Below is the code where I want to set user id. ``` [FunctionName("ProcessUpdate")] public static void…
Chays
  • 1
  • 2
0
votes
0 answers

How to Send message to specific user in Azure SignalR service?

I am making an app separating client and function app and used azure signalR service. I can broadcast message to all clients but cannot send message to individual users. I have found some solutions but they did not worked on my case. This is my…
Manzil
  • 1
  • 3
0
votes
0 answers

Can I use Azure SignalR to communicate between App Services?

We have multiple App Services that act on the same data. Sometimes an event occurs on one instance of an App Service, which should trigger certain behaviour on the other instances of the same App Service, and also on other App Services (for example:…
Bart van der Drift
  • 1,287
  • 12
  • 30