Send instant message from server back to client using SignalR

This is a small blogpost explaining how to use SignalR for ASP Core 2.1 to send a message (or a signal :) ) from the server (controller action) back to the client view. Alot of posts explains how to make various bidirectional chats using SignalR to send messages from client to the server (from view to controller and back again), but the other way around (from server to client) is useful if you want to show progress bars or start a long running task while continually report to the user how it's going. Using MVC or Razor Pages can be somewhat [...]

By | 2018-08-09T12:51:06+00:00 August 9th, 2018|Scripting & Development|0 Comments