I'm struggling with this a bit. What I'm trying to achieve is to send message back to the Ajax caller (aspx page) from the server (aspx page's code behind) to update the progress of a time consuming task being done at the server.
I'm trying the following code from the code behind of the aspx page, but that doesn't seem to work!
_context = GlobalHost.ConnectionManager.GetConnectionContext<MessengerEndpoint>();
_context.Connection.Send(((Connection)_context.Connection).Identity, "hey");
Any suggestions will be greatly appreciated.
Edit: Any takers? @dfowler/@N.TaylorMullen?
Regards.