SingalR Initialization and JavaScript
Don’t, and I repeat *don’t*, attempt to initialize SingalR within a JQuery $(document).ready(...) block. Doing this will break the plumbing if a user refreshes (F5) the page; unless of course it’s a hard refresh (ctrl+F5).
Keep it global, keep it happy. Just saying this as a friend.
Happy coding.