Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

Calling SignalR hub method from Web API controller

$
0
0

Dear all, I'm a novice on Asp.net core. At present, I try to create a Web API with POST method to call a SignalR hub's method to broadcast the update result to all connected clients.

What is the best way to do it ? I googled for this topic but I can't find anything that really work. Please give me some advice or point out to any resources will be very appreciated.

Or I have to create separate project for SignalR hub and then add it as a service via DI?


Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>