~/talk

Building GraphQL APIs in C#

Talkat NDC Oslo 2021 · 2021-11-29..12-03· [graphql]
slides:none on file

Claims that GraphQL cuts client-server round trips and lets clients shape responses get demonstrated with concrete tools and code: uses .NET 6 ASP.NET Core, adds Hot Chocolate via NuGet, calls AddGraphQLServer().AddQueryType() and MapGraphQL() to expose a one endpoint POST API whose body contains a JSON field named query. Demo builds Book and Author records, implements getBooks and getBook, and exercises them with GraphiQL/Banana Cake Pop and Postman; it returns exact JSON fields as requested (server briefly crashes once during the demo).

AI-written summary · about

  1. 0:00Start
  2. 3:45What Is Graphql
  3. 8:17News Feed
  4. 8:43Notifications
  5. 11:09Graphql
  6. 11:22The Graphql Foundation
  7. 11:51Graphql Foundation
  8. 17:05Github's Graphql Api
  9. 17:29Graphical User Interface for Graphql
  10. 18:06Docs
  11. 19:04Root Types
  12. 20:03Building Out the Graphql Query
  13. 21:05Query for a User
  14. 22:39Syntax Error
  15. 25:59Postman
  16. 34:11How Would You Consolidate Different Teams Working on Different Parts of the Graph
  17. 36:44Add in Our Graphql Endpoint
  18. 40:56Graphql Endpoint
  19. 52:13Graphql Button
  20. 53:38Helpful Resources
  21. 54:35Does It Make Sense To Use Graphql for Your Database
  22. 55:36Are There a Way To Know Which Fields from the Database Are Actually Prepared from the Graph
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.