Why self host signalR service is not working in my application as without self host service it is working fine.

Nikita Pandey 146 Reputation points
2021-02-05T08:09:44.84+00:00

Hi ,

I have created the a service in my application but it is not working as it is not an error "hub could not be resolved.", as I referred several URL but not working.
Please help me out this.

Azure SignalR Service
Azure SignalR Service
An Azure service that is used for adding real-time communications to web applications.
147 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. ajkuma 26,721 Reputation points Microsoft Employee
    2021-02-08T11:50:35.503+00:00

    @Nikita Pandey , Firstly, apologies for the delayed response.
    Could you please share the doc that you're referring to for the steps? What is the complete error message you receive?

    As you have posted the question on azure-signalr-service -Since a hub instance is created for each connection, you can't create an instance of a hub in your code yourself. To call methods on a hub from outside the hub itself, you may call client methods and manage groups from outside the Hub class and obtain a reference to the hub context.

    When you're using Azure SignalR Service, some APIs and features of ASP.NET SignalR aren't supported (see this list).

    Discussion - Self-Host or Emulate Azure SignalR Service for serverless local development #969

    0 comments No comments

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.