Question

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

Was it helpful?

Solution

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

worked best!

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

OTHER TIPS

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top