SignalR: How to truly call a hub's method from the server / C#
问题 I'm trying to improve my application which will require calling a hub from C# instead of javascript. The current workflow for adding a task in my app is: make an API call to add the data to the database return new record to AngularJS controller invoke hub's method from controller hub broadcasts call to clients appropriately What I would like to do is bypass calling the hub's method from my AngularJS controller and call it directly from my API controller method. This is what my hub currently