signalr Using a Hub instance not created by the HubPipeline is unsupported code example
Example: 'Using a Hub instance not created by the HubPipeline is unsupported.'
var context = GlobalHost.ConnectionManager.GetHubContext<chatHub>();
context.Clients.All.Send("Admin", "stop the chat");