How to prevent signalR errors from stopping further execution of javascript
问题 I'm working on an asp.net mvc project where we use SignalR for real time connection in different views. Works great, apart from the fact that the execution of javascript stops if there's a problem with SignalR. Typically, this error would be a problem if my self hosting application is down, or other connection issues has occured. GET http://localhost:8081/signalr/hubs net::ERR_CONNECTION_REFUSED List:328 Uncaught TypeError: Cannot read property 'client' of null As mentioned, if this has