Call SignalR Core Hub method from Controller

Solution 1 Another possibility is to inject your HubContext into your controller like: public VarDesignCommController(IHubContext<VarDesignHub> hubcontext) { HubContext = hubcontext; … } private IHubContext<VarDesignHub> HubContext { get; set; } Then you can also call await this.HubContext.Clients.All.InvokeAsync(“Completed”, id); But then you will direct call methods on all clients. Solution 2 You can also work with typed … Read more