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).
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
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.
回答2:
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.
回答3:
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:
So it looks like mono doesn't support some of the async Task stuff. I'll see if there is a way around this...