SignalR Supported Platforms -摘自网络
SignalR is supported under a variety of server and client configurations. In addition, each transport option has a set of requirements of its own; if the system requirements for a transport are not available, SignalR will gracefully failover to other transports. For more information on the transports that SignalR supports, see Transports and Fallbacks.
Server system requirements
The SignalR server component can be hosted on a variety of server configurations. This section describes the supported versions of operating systems, .NET framework, Internet Information Server, and other components.
Supported server operating systems
The SignalR server component can be hosted in the following server or client operating systems. Note that for SignalR to use WebSockets, Windows Server 2012 or Windows 8 is required (WebSocket is not currently supported on Windows Azure).
- Windows Server 2012
- Windows Server 2008 r2.
- Windows 8
- Windows 7
- Windows Azure
Supported server .NET Framework versions
SignalR is supported on both .NET Famework version 4 and 4.5. For WebSockets to be supported, .NET Framework 4.5 must be used. If .NET Framework 4.5 is used, see the Recommended Updates section for updates that enhance reliability, compatibility, stability, and performance.
Supported server IIS versions
When SignalR is hosted in IIS, the following versions are supported. Note that if a client operating system is used, such as for development (Windows 8 or Windows 7), full versions of IIS or Cassini should not be used, since there will be a limit of 10 simultaneous connections imposed, which will be reached very quickly since connections are transient, frequently re-established, and are not disposed immediately upon no longer being used. IIS Express should be used on client operating systems.
Also note that for SignalR to use WebSockets, IIS 8 or IIS 8 Express must be used, and the server must be using Windows 8, Windows Server 2012, or later.
- IIS 8 or IIS 8 Express.
- IIS 7 and 7.5. Support for extensionless URLs is required.
- IIS must be running in integrated mode; classic mode is not supported. Message delays of up to 30 seconds may be experienced if IIS is run in classic mode using the Server-Sent Events transport.
- The hosting application must be running in full trust mode.
Client system requirements
SignalR can be used in a variety of client platforms. This section describes the system requirements for using SignalR in web browsers, Windows desktop applications, Silverlight applications, and mobile devices.
Web browsers
SignalR can be used in a variety of web browsers, but typically, only the latest two versions are supported.
Applications that use SignalR in browsers must use jQuery version 1.6.4 or major later versions (such as 1.7.2, 1.8.2, or 1.9.1).
SignalR can be used in the following browsers:
- Microsoft Internet Explorer versions 8, 9 and 10. Modern, Desktop, and Mobile versions are supported.
- Mozilla Firefox: current version - 1, both Windows and Mac versions.
- Google Chrome: current version - 1, both Windows and Mac versions.
- Safari: current version - 1, both Mac and iOS versions.
- Opera: current version - 1, Windows only.
- Android browser
In addition to requiring certain browsers, the various transports that SignalR uses have requirements of their own. The following transports are supported under the following configurations:
Transport | Internet Explorer | Chrome (Windows or iOS) | Firefox | Safari (OSX or iOS) | Android |
---|---|---|---|---|---|
WebSockets | 10+ | current - 1 | current - 1 | current - 1 | N/A |
Server-Sent Events | N/A | current - 1 | current - 1 | current - 1 | N/A |
ForeverFrame | 8+ | N/A | N/A | N/A | 4.1 |
Long Polling | 8+ | current - 1 | current - 1 | current - 1 | 4.1 |
*: 6+ required for full functionality.
Unsupported Browsers
While SignalR may run without major issues in older browser versions, we do not actively test SignalR in them and generally do not fix bugs that may appear in them.
For a list of configurations that are actively tested against, see our testing matrix.
Windows Desktop and Silverlight Applications
In addition to running in a web browser, SignalR can be hosted in standalone Windows client or Silverlight applications. Windows Desktop and Silverlight SignalR applications have the following system requirements.
- Applications using .NET 4 are supported on Windows XP SP3 or later.
- Applications using .NET Framework 4.5 are supported on Windows Vista or later.
In addition to operating system and .NET framework requirements, the transports available to SignalR have requirements of their own. The following transports are supported under the following configurations:
Transport | .NET application | Silverlight |
---|---|---|
Web Sockets | Windows 8+ and .NET 4.5+ | N/A |
Forever Frame | N/A | N/A |
Server-Sent Events | .NET 4+ | 5+ |
Long Polling | .NET 4+ | 5+ |
Windows Store and Windows Phone Applications
SignalR can be used in Windows Store applications and Windows Phone 8 applications. The following transports are supported under the following configurations:
Transport | Windows Store/ .NET | Windows Store/ JavaScript | Windows Phone/ IE | Windows Phone/ .NET |
---|---|---|---|---|
WebSockets | N/A | Win8+ | 8+ | N/A |
Forever Frame | N/A | Win8+ | 7.5+ | N/A |
Server-Sent Events | Win8+ | N/A | N/A | 8+ |
Long Polling | Win8+ | Win8+ | 7.5+ | 8+ |
Recommended Updates
The following updates are recommended for SignalR servers:
-
An update for .NET Framework 4.5 is available here.
-
Microsoft will periodically release QFEs for ASP.NET. These should be applied as available.