Consuming GraphQL using C#
summary
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
chapters (7)
- 0:00Introduction
- 2:02Strawberry Shake overview
- 4:51Setting up AWS AppSync
- 8:19Initializing the client
- 12:06Code generation
- 15:32Consuming GraphQL in C#
- 21:11Conclusion and resources
related talks
50mBuilding real-time applications with Blazor and GraphQL
45mStrawberry Fields Forever: Enjoy building GraphQL Web APIs
01h 05mCreating a GraphQL API with ASP.NET Core
51mBuilding real-time applications with Blazor and GraphQL
58mHot Chocolate: An introduction to GraphQL on ASP.Net Core
01h 10mHotChocolate: An Introduction to GraphQL for ASP.NET Core
31mGraphQL: how to make clients enjoy using your API
19mGraphQL: Accelerating Digital Transformation Through Modern APIs.
