SignalR call from controller
问题 I'm needing to pass strings from my controller to a signalR hub and have it render on my page. I've followed along with the chat tutorial found at: https://docs.microsoft.com/en-us/aspnet/core/tutorials/signalr?view=aspnetcore-2.2&tabs=visual-studio The next step from the chat tutorial is breaking it out message call to my controller like so: [HttpPost] public async Task<IActionResult> Upload(string engineType) { try { var message = "File Upload Failed"; await _errorHub.Clients.All.SendAsync(