0

I created the SignalR QuickStart in VS2012. It is working fine on localhost:xxxx. I added a Winforms project as SignalR client without problem.

Then, I added a Win8 WinJS application, but couldn't receive messages via SignalR. Basically I get undefind on line

var chat = $.connection("http://localhost:39414/").chatHub;

Can anyone send a successful sample solution?

Inder Kumar Rathore
  • 39,458
  • 17
  • 135
  • 184
Kubilay
  • 11
  • 2

1 Answers1

0

There may be more to it, but for a start, Windows Store applications can't use a loopback connection. You can set it up as follows; however, this is for testing only, as an application with such a set up would not pass certification.

Jim O'Neil
  • 23,344
  • 7
  • 42
  • 67