forked from SignalR/SignalR
-
Notifications
You must be signed in to change notification settings - Fork 0
davidfowl edited this page Nov 9, 2011
·
31 revisions
-
Why doesn't SignalR work in IE <= 7?
SignalR requires a JSON parser in the browser. Prior to IE8 there was none, so you need to include json2.js in your application. You can get it on NuGet.
-
Why does signalr/hubs return 404?
If you're writing an MVC application, make sure that you are using
Url.Contentfor your script references:<script type="text/javascript" src="@Url.Content("~/signalr/hubs")"></script>If you're writing a regular ASP.NET application use
ResolveClientUrlfor your script references:<script type="text/javascript" src='<%= ResolveClientUrl("~/signalr/hubs")'></script>