I'm trying to call client methods outside the hub on SignalR, the link below shows how to do this in the old version, although i'm unsure how to do this in the SignalR ASP.NET Core version. I've found a reference to a old post and using a reference to Microsoft.AspNetCore.SignalR.Infrastructure.IConnectionManager although this namespace doesn't seem to existing anymore. An example would be great?
Old version: How to call client methods and manage groups from outside the Hub class
You need to inject IHubContext<THub> and then should be able to invoke methods.
IHubContext<THub>
1.4m articles
1.4m replys
5 comments
57.0k users