WebSockets support in ASP.NET 4.5 should not be limited to IIS! From web server's ISV it's anti-competitive!
HttpContext.AcceptWebSocketRequest() internally uses IIS7WorkerRequest, which makes high-level WebSockets support in ASP.NET depend on IIS. But IIS is not the only http.sys-based web server for ASP.NET! (http://ultidev.com/products/UWS/) To enable other ASP.NET web server vendors support for WebSockets, *HttpWorkerRequest should be modified to include WebSockets access virtual methods*, and HttpContext.AcceptWebSocketRequest() should call standard HttpWorkerRequest interface instead of proprietary IIS7WorkerRequest.
HttpWorkerRequest must have WebSockets interface used by
The following feedback item along with votes was transferred from the Visual Studio User Voice site. If you would like to view the original comment history, click here http://visualstudio.uservoice.com/forums/121579-visual-studio/suggestions/2828061-websockets-support-in-asp-net-4-5-should-not-be-li