Dela via

Xamarin.Forms Web Service Tutorial

Before attempting this tutorial, you should have successfully completed the:

In this tutorial, you learn how to:

  • Use the NuGet Package Manager to add Newtonsoft.Json to a Xamarin.Forms project.
  • Create the web service classes.
  • Consume the web service classes.

You will use Visual Studio 2019, or Visual Studio for Mac, to create a simple application that demonstrates how to retrieve .NET repository data from the GitHub web API. The retrieved data will be displayed in a CollectionView. The following screenshots show the final application:

Screenshot of GitHub .NET repositories, on iOS and Android