I am just starting to explore signalR and I would like to able to send messages from the server to all clients.
Here is my Hub
using System; using
I think it should be
void aTimer_Elapsed(object sender, System.Timers.ElapsedEventArgs e) { var context = GlobalHost.ConnectionManager.GetHubContext(); context.Clients.All.addMessage("Hello"); }
instead. With Send you are calling the method used by the client to call the server...