Websocket issue with IIS 8 Express on Windows 7

k-s picture k-s · Mar 6, 2013 · Viewed 12.7k times · Source

I tried creating handler for web socket but context.IsWebSocketRequest is returning always false and failed to working with IIS 8 Express on windows 7.

How can I enable module for websocket or any step I missing? I have VS 2012 application with IIS Express dynamic url.

Please help for the same.

Answer

Doug Domeny picture Doug Domeny · Mar 18, 2013

The WebSocket protocol needs to be enabled in IIS 8 (see http://www.codeguru.com/csharp/csharp/programming-html5-web-sockets-in-asp.net-4.5.htm). Additionally, I'm not sure web sockets is supported on Windows 7. I've only seen that Windows 8 or Windows Server 2012 are required.