Can I send a message to clients connected to a hub from another process? I installed LINQPad to reference the Hub project DLL and installed VS to attach debugging to the LINQPad process. My project has a HubNotification class that uses the following code:
dynamic clients = Hub.GetClients<MyHubClass>(); clients.SendMessage("My Message");
When debugging, I see this code being called, but my connected clients never send a message. I checked with Fiddler that the HTTP code does not happen when the above code is executed. Am I missing something or is it just not possible?
source share