Reputation:
I am trying to play around with SignalR, but I seem to have hit a wall. When trying to load the site the browser seems to just sit there for a while waiting for a response. When I attach a debugger I see a the code below is executed, but MapHubs
never returns (I let it run over lunch and it was still going when I came back)
public static class RegisterHubs
{
public static void Start()
{
// Register the default hubs route: ~/signalr/hubs
RouteTable.Routes.MapHubs();
}
}
My setup is a basic MVC4 Internet Application and then adding the Microsoft.AspNet.Signalr Nuget Package (currently version 1.1.1-alpha2)
Am I missing something obvious?
Upvotes: 1
Views: 181
Reputation: 18311
This is a known issue in 1.0alpha2. See: SignalR seems to be slowing startup of my MVC / Azure application
It was since fixed via https://github.com/SignalR/SignalR/commit/fda3aa41a9250a072e8487882ae806ffe547f2bb
Upvotes: 2