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

189 views

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

×