SignalR hub resolves to null inside RabbitMQ subscription handler in ASP.NET Core
问题 I have an ASP.NET Core MVC project with RabbitMQ (by means of EasyNetQ) and SignalR. Next, I have a subscription on a RabbitMQ message that should send a notification to the client via SignalR. But sadly, the hub always resolves to null . An interesting observation is that when the application is still starting and there are still unacknowledged messages in the queue, the service actually resolves just fine. public void ConfigureServices(IServiceCollection services) { services.AddSignalR();