Skip to content

beraybentesen/Xamarin-Rest-Api-Demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Xamarin-Rest-Api-Demo

Check blog post for detailed documentation.

Example project that covers following topics.

  • Making HTTP Request

    • Basic Authentication
    • Token Based Authentication
    • Get - Post - Put methods
  • Working with Json formatted data

    • Creating Json classes
    • Creating data model
    • Deserializing data
  • Integrating with the platform

    • Setting up iOS project
    • Setting up Android project
    • Customizing HttpClient per platform
    • iOS native settings
    • Android native settings
  • Performance optimization

    • Instantiating IDisposable object in a using statement
    • ConfigureAwait - Async/Await

    Prerequisites

  1. Installing Microsoft HttpClient libraries to PCL

  2. Installing Json.NET libraries to PCL

  3. Adding System.Net.Http to references for both iOS and Android projects.

    Example Usage

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages