1

I have a SignalR hub, the goal is to monitor the progress of a long running job (several hours) and as it progresses everyone monitoring the progress gets updates.

What I'm trying to do is figure out the best way to send a message to a SignalR without being 'connected' to it as a client.

I've been trying to search docs to see if there's a way to inject SignalR into another controller or class just to send messages without being 'connected'... but I'm not seeing anything.

John Mitchell
  • 9,653
  • 9
  • 57
  • 91

1 Answers1

1

Just inject typed hubcontext.

Details see here: Call SignalR Core Hub method from Controller

Stephu
  • 3,236
  • 4
  • 21
  • 33