Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Xamarin + GraphQL


Published on

GraphQL is an exciting new API architecture that enables huge performance benefits over REST APIs. But why is it better than REST, and how do we interact with GraphQL APIs from our Xamarin apps? Join me as we demonstrate how our mobile apps can benefit from GraphQL! We’ll start by demonstrating the benefit of GraphQL: fewer API queries and smaller payloads. We’ll then jump into a live-coding demo where we’ll learn how to leverage HttpClient to interact with GraphQL APIs in C#

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Xamarin + GraphQL

  1. 1. @TheCodeTraveler +
  2. 2. Native iOS + Android apps using C#
  3. 3. @TheCodeTraveler Native Mobile Apps Shared App Logic Shared C# Logic iOS C# Android C#
  4. 4. @TheCodeTraveler
  5. 5. A query language for your API
  6. 6. @TheCodeTraveler
  7. 7. @TheCodeTraveler
  8. 8. @TheCodeTraveler
  9. 9. @TheCodeTraveler Query Response
  10. 10. @TheCodeTraveler
  11. 11. @TheCodeTraveler GraphQL APIs Are Self Documenting Users can explore GraphQL APIs using GraphiQL
  12. 12. @TheCodeTraveler
  13. 13. @TheCodeTraveler { “query” : “[Your GraphQL Query]” } GraphQL Request Body is JSON JSON contains one field: query
  14. 14. @TheCodeTraveler
  15. 15. @TheCodeTraveler
  16. 16. @TheCodeTraveler