user60456
user60456

Reputation:

Site never loads when using using Microsoft.AspNet.SignalR;

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

Answers (1)

Related Questions