Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

README.md

HttpClient (Xamarin.Forms)

This sample is a simple demo of HttpClient accessing a Json web service. The code is based on this portable class library sample - it retrieves data from GeoNames and displays it in a ListView.

screenshot

NOTE: if you get a build error related to HttpClient, do a Clean of the solution (and if that doesn't work, manually delete all the obj and bin folders).

NuGet Components

  • Xamarin.Forms (of course)

  • Newtonsoft.Json for parsing the Json response

  • Microsoft.Net.Http for the HttpClient implementation