문제

I'm building Xamarin mobile applications and a SignalR Hub server.

I'm trying to incorporate SignalR sending and receiving in the Xamarin mobile apps.

Some people are saying use the signalr client nuget package

Other people are saying use the dev branch of the signalR library

Other people are saying use the portable class library that comes in the xamarin branch of the SignalR library (not found, can only see xamarin-package branch)

I'm confused, I don't know what is the right way to get the latest versions of SignalR to work on Xamarin mobile apps with SignalR Hub servers

Please advise

도움이 되었습니까?

해결책

"Some people are saying use the signalr client nuget package"

worked best!

just followed the tutorial on visualstudiomagazine and all worked like a charm.

다른 팁

this trick work for me 1)make a simple demo project like winform
2) download the new latest signalr client from nuget 3) copy the

Microsoft.AspNet.SignalR.Client.dll from folder Yourproject\packages\Microsoft.AspNet.SignalR.Client.2.0.1\lib\portable-net45+sl5+netcore45+wp8

4) paste this dll file into ur xamarin project folder anywhere

finally add this to ur project by simmply adding referance

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top