Advertisement
Advertisement

More Related Content

Advertisement

Building GraphQL APIs in C#.pptx

  1. @TheCodeTraveler https://codetraveler.io/dotnet-graphql-kcdc/ +
  2. @TheCodeTraveler https://codetraveler.io/dotnet-graphql-kcdc/
  3. @TheCodeTraveler https://codetraveler.io/dotnet-graphql-kcdc/ GEThttps://facebook.com/user/id GEThttps://facebook.com/user/id/events GEThttps://facebook.com/user/id/friends-suggestions GEThttps://facebook.com/user/id/friends-birthdays …
  4. @TheCodeTraveler https://codetraveler.io/dotnet-graphql-kcdc/
  5. @TheCodeTraveler https://codetraveler.io/dotnet-graphql-kcdc/ GraphQL API Requests query { user(id:18794326) { name events { count } friends_suggestions(first: 1) { name mutual_friends { count } } } } { "data": { "user": { "name": "Brandon Minnick", "events": { "count": 4 }, "friends_suggestions": [{ "name": "Seth Juarez", "mutual_friends": { "count": 18 } } ] } } } Query Response
  6. GitHub GraphQL API
  7. @TheCodeTraveler https://codetraveler.io/dotnet-graphql-kcdc/ GraphQL APIs Have One Endpoint Each GraphQL Request Uses The Same API Endpoint
  8. @TheCodeTraveler https://codetraveler.io/dotnet-graphql-kcdc/ GraphQL APIs Are Self Documenting Users can explore GraphQL APIs using GraphiQL
  9. @TheCodeTraveler https://codetraveler.io/dotnet-graphql-kcdc/ GraphQL Requests Are POST Requests GraphQL requests leverage the HTTP POST Method
  10. @TheCodeTraveler https://codetraveler.io/dotnet-graphql-kcdc/ { “query” : “[Your GraphQL Query]” } GraphQL Request Body is JSON JSON contains one field: query
  11. @TheCodeTraveler https://codetraveler.io/dotnet-graphql-kcdc/ GraphQL Response is JSON Like REST APIs, GraphQL APIs return JSON
  12. Let’s Write Some Code
  13. @TheCodeTraveler https://codetraveler.io/dotnet-graphql-kcdc/
  14. @TheCodeTraveler https://codetraveler.io/dotnet-graphql-kcdc/  GraphQL-DotNet  Open Source (160+ Contributors)  120M NuGet Downloads
  15. AWS AppSync
  16. @TheCodeTraveler https://codetraveler.io/dotnet-graphql-kcdc/ Resources https://codetraveler.io/dotnet-graphql-kcdc/
  17. @TheCodeTraveler https://codetraveler.io/dotnet-graphql-kcdc/ Thank You https://codetraveler.io/dotnet-graphql-kcdc/
Advertisement