// Constructor public MainPage() { InitializeComponent(); var writer = new TextBlockWriter(SynchronizationContext.Current, this.Messages); var client = new CommonClient(writer); // Windows Phone emulator runs in a separate virtual machine therefore you can't use a url containing localhost var task = client.RunAsync("http://signalr-test1.cloudapp.net:83/"); // Sample code to localize the ApplicationBar //BuildLocalizedApplicationBar(); }