|IIS 8.0||The WebSocket Protocol was introduced in IIS 8.0.|
|IIS 7.5||The WebSocket Protocol was not supported in IIS 7.5.|
|IIS 7.0||The WebSocket Protocol was not supported in IIS 7.0.|
One of the limitations to HTTP is that it was designed as a one-directional method of communication. However, many modern web-based applications require more real-time, two-way communications in order to function optimally.
With the release of Windows Server 2012 and Windows 8, Internet Information Services (IIS) 8.0 has added support for the WebSocket Protocol.
The WebSocket Protocol is an open standard that is defined in RFC 6455, and developers can use this functionality to create applications that implement two-way communications over the Internet between a client and server. For more information about the WebSocket Protocol, see the following articles:
- WebSockets: Stable and Ready for Developers
To enable support for the WebSocket Protocol on Windows Server 2012, use the following steps:
- Open Server Manager.
- Under the Manage menu, click Add Roles and Features.
- Select Role-based or Feature-based Installation, and then click Next.
- Select the appropriate server, (your local server is selected by default), and then click Next.
- Expand Web Server (IIS) in the Roles tree, then expand Web Server, and then expand Application Development.
- Select WebSocket Protocol, and then click Next.
- If no additional features are needed, click Next.
- Click Install.
- When the installation completes, click Close to exit the wizard.
IIS 8.0 has added support for WebSocket Protocol, which enables dynamic, two-way communications over the Internet. Additional information can be found on the following URLs:
- Getting started with WebSockets in Windows 8
- IIS and Websockets
- System.Net.WebSockets Namespace