Running SignalR .Net Client on Linux with Mono - p

2019-02-05 03:42发布

Does anyone have experience running the SignalR .net client on Mono? I am considering this for a process that I need to run cross platform (which needs to connect to a internet hosted SignalR Hub).

3条回答
Bombasti
2楼-- · 2019-02-05 04:26

It turns out Mono has a tool you can use to scan your assemblies to see if they are compatible with Mono. I did that and here is the results, related to the SignalR .net client:

enter image description here

So it looks like mono doesn't support some of the async Task stuff. I'll see if there is a way around this...

查看更多
ら.Afraid
3楼-- · 2019-02-05 04:31

I haven't tried it myself, but since the SignalR Mono solution file contains the Microsoft.AspNet.SignalR.Client40.Samples sample it would really seem like it does.

查看更多
淡お忘
4楼-- · 2019-02-05 04:41

I have created a sample project with signalr client working under mono framework:

https://github.com/mdymel/mono-signalr-client

I checked it with one of my websites and it works fine.

查看更多
登录 后发表回答