I'm using SignalR to send messages between a website and a Windows Phone app (Windows Phone 8.0, silverlight).
In the Windows phone app, I use the SignalR client from Nuget Microsoft.AspNet.SignalR.Client
, it seems to work fine to send messages, but it takes several seconds to receive them.
this.connection = new HubConnection("http://myapp.azurewebsites.net/");
this.theHub = connection.CreateHubProxy("myHub");
await connection.Start();
this.theHub.On<String>("message",
string=>
{
// Here I receive the message very late
});
On the javascript side, messages arrive without delay.
Is there anything to configure on Windows Phone ?