This post explains how to call a SignalR Hub from a Controller in ASP.NET Core and demonstrates how to simulate a recurring server-client interaction using SignalR Hub and ASP.NET Core Controller.

7m read timeFrom code-maze.com
Post cover image
Table of contents
Overview of SignalR Hub Class and IHubContext InterfaceCall SignalR Hub from an ASP.NET Core ControllerUsing a Strongly Typed IHubContext To Call SignalR Hub Method from Controller in ASP.NET CoreConclusion

Sort: