Sometimes SignalR is not working properly
Dear Team, In my application, we have used ASP .Net web application as a server and Javascript as a client Side. we have to use signalr notification with various usecases like message nofication, active users notification and logout notification. We have…
How to understand unexpected high traffic
Scenario: We have several servers (service plan) and 2 gateways that communicate with the servers. We are having problems with external traffic to a specific server where an exceptionally large amount of external traffic is being generated occasionally…
Exploring SignalR: Creating a Hub and Establishing Connection via REST API
I am developing a project where I am extensively using REST APIs. I am curious to know how to integrate SignalR with REST APIs, specifically, where I should create a Hub. Should the Hub be a part of the REST API or a separate configuration within my…
error when setting up cosmos db in Enable automatic updates in a web application using Azure Functions and SignalR Service
Get the following error when running the azure function locally, anyone got any tips on how to solve this? Executing 'Functions.getStocks' (Reason='This function was programmatically called via the host APIs.',…
How to reference BlazorSignalRApp in a VS-Solution and start BlazorApp from console program
I have a solution, which contains the SignalR-Tutorial project (SignalR-Chat) and a project which is basically a console application. In the BlazorSignalRApp I created a static function called 'StartServerAsync' which is starting the web application.…
How to resolve the error "the type 'SecurityTokenDescriptor' exists in both" in C# code?
public string GenerateClientAccessToken(string hubName, string userId = null, IList<Claim> claims = null, TimeSpan? lifeTime = null) { var tokenLifetime = lifeTime ?? TimeSpan.FromHours(1); // Default lifetime is one hour var claimsIdentity…
Isolated worker process to send message with SignalR
[Function(SendMessageToUserFunctionName)] [SignalROutput(HubName = "SignalRHub", ConnectionStringSetting = "AzureSignalRConnectionString")] public async Task<SignalRMessageAction> SendMessageToUserAsync( …
Not receiving message in Client side (Signalr)
JavaScript -> connection = new HubConnectionBuilder().withUrl(( connection.on("CampaignMessage", (message) => { this.showPopup(message); }), Azure Function (Isolated worker-process) -…
Notify clients after Azure Storge Blob has been updated
We're seeking the most suitable Azure service for a specific scenario, which proves challenging due to the extensive range of options available within Azure. Our goal is to have hundreds or even thousands of clients (C++ clients) respond to a certain…
Getting CORS from Angular client when connecting .Net6 API for Azure SignalR service in default mode.
I am using Anular10, Azure SignalR service in Default mode and .Net6. API is connecting with connectionstring and return is Success. When Angular is connecting to API endpoint, it is showing CORS error. I have used .Net AzureSignalRSDK package and…
How to use SSL encryption and achieve communication between the client and server of SignalR with C#
I'm new for SignalR and I have one application using C#. The basic connection code for the SignalR client and server implemented by the Net Framework is as follows: Client using Microsoft.AspNet.SignalR.Client; namespace WinFormsClient { public…
What's the pricing of SignalR?
Dear all, I cannot find the answer how I would be charged for sending one message from SignalR to 100k endpoints. If Microsoft will charge me for 100k messages or just for 1 message?
Sign in error code 65002
Why does Azure sign in error code 65002 occurs and how to mitigate this problem?
Why SignalR cannot connect across machines?
I have a C# .NET Framework client and server, and I use SignalR to make them communicate. When I deploy the client and server in the same machine, they can make connection well, but if I move the client to another machine, it can never connect to the…
502 bad gateway | Azure Web App | SignalR
We have web app hosted on Azure Web App Service. .NET 6 Azure SQL SignalR Core We have 600 active connection of SignalR with Azure Web App, we have 20 API's which all 600 connections are calling after each hour. Some how DB is not 100% and CPU,…
How to get live view count of a stream?
I want to present this number in my portal to my tenants so they know how many people are currently viewing a live stream. I´m not sure you have this API but If you don´t what is the best way you would recommend getting it? I was then thinking about…
Active Directory Authentication and Azure functions: combining non signalR functions with SignalR functions
TLDR; I am using both azure functions and azure functions with signalR. According to my reading, azure functions and azure functions with signalR both have their respective Active Directory Authentication routines. I want to avoid a situation where my…
Is there any expiration of User-Group mapping membership in SignalR Serverless mode?
I'm testing adding a User to a Group in SignalR. When I add it, new messages sent to the group will be received by any active Connection from the added User. If I restart the application and establish a new Connection to SignalR, the previous…
Azure SignalR message count shows inbound messages
I created a serverless Azure SignalR service with Azure Functions. I'm invoking a "sendToGroup" method from a client application with noone subscribed to said group for testing purposes, so I'm sending a message with no recipient for it. From…
How to mitigate Azure SignalR server connections dropping during production hours
We have been using Azure SignalR service for a few years now and it has been great as part of our application solution. But for the last 2 weeks or so, our logs have shown that the server-side connection has been dropped, which causes all the associated…