I\'m trying to add SignalR to my project (ASPNET MVC 4). But I can\'t make it work.
In the below image you can see the error I\'m receiving.
For those who tried to add the generated proxy file path in the bundle.
Do not include the "~/signalr/hubs" in your BundleConfig.cs.
You can have the JQuery.SignalR in the bundle:
bundles.Add(new ScriptBundle("~/bundles/signalr").Include(
"~/Scripts/jquery.signalR-{version}.js"));
But you will need to add "/signalr/hubs" it in your view:
@section Scripts {
@Scripts.Render("~/bundles/signalr")
@Scripts.Render("/signalr/hubs")
}
I hope this helps.