if (!window.JSON) {
// no JSON!
throw "SignalR: No JSON parser found. Please ensure json2.js is referenced before the SignalR.js file if you need to support clients without native JSON parsing support, e.g. IE<8.";
}
My mvc 4 webpage use signalR Hub works fine in Firefox, IE8 and Chrome but it has problems in IE7, did anyone get the same problems?
From the SignalR FAQ https://github.com/SignalR/SignalR/wiki/Faq:
Why doesn't SignalR work in browser IE6/IE7?
SignalR requires a JSON parser and ability to send xhr requests (for long polling). If your browser has none, you'll need to include json2.js in your application (SignalR will throw an error telling your you need it as well). You can get it on NuGet.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With