SignalR WebSockets on IIS 7.5

ZeroHackeR picture ZeroHackeR · Jan 2, 2013 · Viewed 31.6k times · Source

On my IIS 7.5, my SignalR application always used long polling. As per my search, IIS 7.5 does not support WebSockets yet.

I hope, I missed some tools or configurations to enable WebSockets in IIS 7.5. Or I didn't?

Answer

tugberk picture tugberk · Jan 2, 2013

You cannot use WebSocket on IIS 7.5 (in other words on Windows Server 2008 R2 or Windows 7) because it requires HTTP.sys level changes AFAIK. So, you need IIS 8.0 and Windows Server 2012 or Windows 8 combination to leverage WebSocket. Also, IIS Express 8.0 supports WebSockect, too but you cannot still leverage that if you are on an OS which is lower than Windows 8 or Windows Server 2012.