~/talk

Consuming GraphQL using C#

Talkat GraphQLConf 2023 · on Wednesday, 2023-09-20· at 14:10· Grand Peninsula E· [dotnet, api-design]
slides:none on file

Claims that Strawberry Shake (debut 2021) generates C# clients from a fetched schema, outperforming older GraphQL.Client (2017, ~17.3M NuGet downloads) and even Microsoft HTTP client, by producing hundreds to ~1,000 lines of optimized code and fast HTTP implementations. Demonstration uses AWS AppSync to auto‑generate a GraphQL schema backed by DynamoDB, a .NET MAUI app called StrawberryMaui that runs on iOS/Android/macOS/Windows, retry logic via Polly, and immutable results with FrozenSet; the generated client works and reduces hand‑written code dramatically.

AI-written summary · about

  1. 0:00Introduction
  2. 2:02Strawberry Shake overview
  3. 4:51Setting up AWS AppSync
  4. 8:19Initializing the client
  5. 12:06Code generation
  6. 15:32Consuming GraphQL in C#
  7. 21:11Conclusion and resources
~/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.