Not able to listen(from Blazor server UI) to Azure SignalR Isolated process function call

Betageri Sudheer 0 Reputation points
2024-12-16T08:30:33.5833333+00:00

Requirement : Receive the real time notifications/messages in Blazor Server UI from Azure Isolated process SignalR function with Azure SignalR service(Serverless).

Steps followed :

Backend :

  1. Created the Azure SignalR service(Serverless)
  2. Created the Azure Isolated process SignalR functions(negotiate/broadcast) and deployed to Azure function app(Version : .NET 9 isolated) as below : User's image 3. Added "AzureSignalRConnectionString" in Azure function app environment variables. Front End :
    1. Created Blazor Server project and added below HubConnection code to receive the notifications from SignalR function call
    User's image
    1. Line 55 : Added deployed Azure function(broadcast) SignalR URL
    Testing : Now I am running the Blazor Server app and making postman call to deployed Azure function(broadcast) SignalR URL but hubConnection is not getting called/hit. Observation made while testing :
    1. Postman says 200 ok response
    2. In Azure SignlR Service Monitoring section, able to see the Signal message count(its triggering)
    3. In azure function(broadcast) app(Azure function SignalR ) invocations, its showing the invocation call with 200 code.
    4. HubConnection is not getting called.
    Note : Same steps if I try through the Azure In process SignalR function, Hubconnection is able to receive the messages but not sure why its not working when I try through Azure Isolated process SignalR function Please help /assist me if I am missing anything here. Addition information : For Azure In process SignalR function, used below code and it works User's image
Azure SignalR Service
Azure SignalR Service
An Azure service that is used for adding real-time communications to web applications.
151 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.