Nicolas Le Bot
Nicolas Le Bot

Reputation: 324

How to use RestSharp Portable 3.0 in Xamarin?

I'm working on a mobile app with Xamarin and I need to use a librairy for webservices which works on Android, iOS and Windows phone !

I checked a long time on google, and I think the best one is RestSharp Portable 3.0.1.

First I launch Visual studio and I click on file - new - project - visual C# - Mobile APPS and then BLACK APP (Xamarin.forms Portable).

After this, I got a full project with :

1 - My project (HelloWorld here for example)
2 - My project.android
3 - My project.iOS
4 - My project.WinPhone

I click on the 1 and then I add the RestSharp Portable references via Nuget and it's okay.

Now, i'm trying to use it but I cannot find anything on google about it, I don't know if it's because it's a new version but I have nothing on it.

So the question is : WHat is the best using WebServices into Xamarin for a cross app ?

Thanks guys !

Upvotes: 2

Views: 6978

Answers (1)

Alex.F
Alex.F

Reputation: 6181

I use RestSharp with no issues.
Here is the component link.
And here is their website.

It doesn't say that the component supports windows phone but I'm sure you can port it.

Upvotes: 1

Related Questions