Skip to content
davidfowl edited this page Nov 9, 2011 · 31 revisions

Frequently Asked Questions

  1. 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.

  2. Why does signalr/hubs return 404?

    If you're writing an MVC application, make sure that you are using Url.Content for your script references:

    <script type="text/javascript" src="@Url.Content("~/signalr/hubs")"></script>

    If you're writing a regular ASP.NET application use ResolveClientUrl for your script references:

    <script type="text/javascript" src='<%= ResolveClientUrl("~/signalr/hubs")'></script>

Clone this wiki locally