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

Azure SignalR - pass multiple params to connection.invoke

I've been using the below code and it has been working fine for about a year. public async Task JoinGroup(string group) { await Groups.AddToGroupAsync(Context.ConnectionId, group); } connection.on("UserConnected", function…
Tim Cadieux
  • 447
  • 9
  • 21
0
votes
2 answers

How to send messages to specific user using Azure SignalR in .NET Core

.NET Core API application which I want to use push real time messages to SPA. I have working example with azure function but now I want to convert it to Web API. The working Azure function looks like this: [FunctionName("Push")] public static Task…
Mr Perfect
  • 585
  • 8
  • 30
0
votes
0 answers

Can not connect to hub with Azure SignalR Service

I am developing a chat app with dotnet core and singalR. 2 days ago I learned that I need to use Azure SigalR service to scale my chat servers. So I started to create an Azure signalR service and implement it in my project. My chat is working as…
Sercan
  • 121
  • 3
  • 13
0
votes
1 answer

Deployed Azure SignalR Function Failed: The SignalR Service connection string or endpoints are not set

I receive the following error for the code below: _hub = new HubConnectionBuilder() .WithUrl("https://MY_AZURE_FUNCTION.azurewebsites.net/api") .Build(); await _hub.StartAsync(); // ERROR OCCURRS HERE 'Response status code does not…
Scott Nimrod
  • 11,206
  • 11
  • 54
  • 118
0
votes
1 answer

SignalR Azure function with input binding returning value

An azure function with signalR input binding can get some parameters. For example [FunctionName("SignalRTest")] public async Task SendMessage([SignalRTrigger]InvocationContext invocationContext, string message, ILogger logger) { …
0
votes
1 answer

Share SignalR Service with Blazor Server and Azure Function

I have a web app that's running on Azure App Services. It's a Blazor Server backed by a SignalR Service. I also have some background processing that's performed by an Azure Function. Once the Function is complete, I want to send a notification to…
Mitkins
  • 4,031
  • 3
  • 40
  • 77
0
votes
1 answer

TerraformAzure: Call to Microsoft.SignalRService/SignalR failed. Error message: Invalid groupId"

Trying to integrate my azure signalr service with a private endpoint, the below is the sample terraform code that I'm trying resource "azurerm_private_endpoint" "example" { name = "${var.prefix}-signalr" location =…
0
votes
1 answer

Azure SignalR InvokeAsync hangs when attempting to establish Group connection

Calling InvokeAsync on a connection hangs. I'm referencing the following document to configure a group connection in Azure SignalR. NOTE: I am only able to establish a connection when NOT relying on a group configuration. Client: var negotiateJson =…
Scott Nimrod
  • 11,206
  • 11
  • 54
  • 118
0
votes
1 answer

Azure Signal R and Azure Function Python

I've been working on a project where we need to integrate Azure Signal R (or any backend/frontend notification system). I've been struggling to find documentation on how this works but found that the recommended integration for Python is to use an…
MrVhek
  • 124
  • 12
0
votes
0 answers

Send Azure SignalR message from Azure Function with CosmosDB Trigger

I’m developing a app that used CosmosDB to store data and then when anyone updates the data i want the clients to be updated. For this i have decided to use the changefeed and then Azure Functions and Azure SignalR. I have set up 2 functions. A…
Kasper S Mathiesen
  • 669
  • 1
  • 7
  • 17
0
votes
1 answer

Can an appservice act as a client when connecting to Azure Signalr?

I've got Azure Signalr set up and I've got an azure function which a client(browser) can connect to, start the negotiate endpoint and then connect directly to Azure Signalr to get updates. Now, my question is, can a…
0
votes
1 answer

How do I diagnose an error in Azure SignalR 404 with upstream and Azure Function App?

I have an Azure SignalR service setup with upstream. Negotiate is working, but I am getting a 404 error when trying to use connection.invoke('events', { ... }); In the SignalR event log, I am getting (irrelevant bits omitted): { "properties": { …
Orion Adrian
  • 19,053
  • 13
  • 51
  • 67
0
votes
0 answers

Serverless Azure SignalR service & .NetFramework 4.7.1 (Unity app)

Is it possible to listen for the events from Serverless Azure SignalR service from .NetFramework 4.7.1 (Unity) app? I have implemented the solution which works with javascript client and .net Core 3.1 client, but cannot get the .NetFramework 4.7.1…
0
votes
1 answer

Target specific user in group

ASP.NET Core SignalR I know we can send messages to a group. I know we can send messages to a user. Is there a way to send messages to a user in a group, i.e. the intersection of the previous audiences. From what I understand: A group is a…
Codi
  • 511
  • 3
  • 19
0
votes
1 answer

Azure functions signalR to create chat app?

I'm looking for azure functions with chat application including broadcast, create, update and delete group as well as add, remove user from group.
Prabu
  • 63
  • 2
  • 7