in my case, messsage are come from internal events. no new request.
is there a way to create an Hub and send data to clients?
storing and resuse old Hub are crached with
'object is disposed..'
)
old frameworks has GlobalContext..
I have tried somthing like :
DataHub _hub =(DataHub) ServiceProvider.GetService(typeof(DataHub));
_hub.Clients.All.SendAsync("method");
but ServiceProvider also disposed.