We spent several days trying to do what you described, but we were not able to get SignalR / WebSockets to work on Azure Cloud. SignalR / WebSockets fails every time, spawning endless loop failures / reconnections. We were able to get SignalR / LongPolling (not WebSockets) to successfully work with the Azure cloud. Since then, we learned that the VM on Azure Cloud clearly does not support WebSockets. Our experience shows that you probably cannot use WebSocket-based HTML clients with SignalR running on the Azure cloud, although you can probably get LongPolling to work fine.
Zeb Kimmel
source share