简体   繁体   English

将 .NET SignalR 客户端(Windows XP/.NET framework 4.0)连接到 signalR v2 服务器

[英]Connect a .NET SignalR client (Windows XP/.NET framework 4.0) to a signalR v2 server

Can I connect a .NET SignalR C# client (Windows XP/.NET framework 4.0) to a signalR v2 server (ASP.NET, SignalR hosted on Mono)?我可以将 .NET SignalR C# 客户端(Windows XP/.NET framework 4.0)连接到 SignalR v2 服务器(ASP.NET,SignalR 托管在 Mono 上)吗?

I know I won't be able to use Websockets from Windows XP but if this setup is possible I will benefit by being able to connect newer Windows clients (Windwos 8+) using Websockets.我知道我将无法从 Windows XP 使用 Websockets,但如果可以进行此设置,我将受益于能够使用 Websockets 连接较新的 Windows 客户端(Windwos 8+)。

I think the answer to my question is that it is possible to connect a .NET SignalR client (Windows XP/.NET framework 4.0) to a signalR v2 server.我认为我的问题的答案是可以将 .NET SignalR 客户端(Windows XP/.NET 框架 4.0)连接到 SignalR v2 服务器。

As described here : "If the version of SignalR that you have on the client is different from the version that you have on the server, SignalR is often able to adapt to the difference. For example, a server running SignalR version 2 will support clients that have 1.1.x installed as well as clients that have version 2 installed."如上所述这里:“如果SignalR的版本,你必须在客户端上是从,你必须在服务器上的版本不同,SignalR往往是能够适应的差异。例如,一个服务器上运行SignalR 2版将支持客户。安装了 1.1.x 以及安装了版本 2 的客户端。”

Also, as @sanchezis suggests here , version 1.2.2 of SignalR is supported in .NET framework 4 which can be installed in Windows XP.此外,正如@sanchezis在这里建议的那样,可以在 Windows XP 中安装的 .NET framework 4 支持 SignalR 1.2.2 版。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM