WebSocket的问题在Windows 7 IIS 8防爆preSS [英] Websocket issue with IIS 8 Express on Windows 7
问题描述
我试图创建网络套接字句柄,但context.IsWebSocketRequest正在恢复总是假的,并没有与IIS 8防爆preSS在Windows 7上运行。
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.
我怎样才能启用WebSocket的还是我缺少任何一步模块?我有VS 2012的应用程序与IIS防爆preSS动态URL。
How can I enable module for websocket or any step I missing? I have VS 2012 application with IIS Express dynamic url.
请帮助一样。
推荐答案
需要在IIS 8启用WebSocket协议(见<一href=\"http://www.$c$cguru.com/csharp/csharp/programming-html5-web-sockets-in-asp.net-4.5.htm\">http://www.$c$cguru.com/csharp/csharp/programming-html5-web-sockets-in-asp.net-4.5.htm).另外,我不知道网络插座支持Windows 7,我只看到了Windows 8或Windows Server 2012是必需的。
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.
这篇关于WebSocket的问题在Windows 7 IIS 8防爆preSS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!