Hot Chocolate: An introduction to GraphQL on ASP.Net Core
summary
Compares REST (SWAPI) to GraphQL on ASP.NET Core using Hot Chocolate: REST demo makes 124 requests vs 1 request and takes ~5.9s while the GraphQL demo returns needed data in 64 ms and 2.8 KB over one connection. Shows Hot Chocolate features—data loaders to fix N+1 batching, field filtering/paging that compiles to database queries, WebSocket subscriptions, persisted queries from file storage, and claim that Hot Chocolate is ~2x faster and uses ~1/3 the memory of other .NET GraphQL servers. Demos compile and run.
AI-written summary · about
chapters (12)
- 0:00Introduction to GraphQL
- 2:40REST vs GraphQL demo
- 8:13GraphQL query basics
- 14:19GraphQL with ASP.NET Core
- 21:15GraphQL mutations and subscriptions
- 26:13What GraphQL is not
- 28:20GraphQL challenges
- 32:15Efficient data fetching
- 39:17Scaling GraphQL
- 42:08Persisted queries demo
- 48:24Conclusion and Hot Chocolate
- 54:20Q&A
related talks
01h 10mHotChocolate: An Introduction to GraphQL for ASP.NET Core
01h 04mHot Chocolate: An introduction to GraphQL on ASP.Net Core
58mHot Chocolate: GraphQL Schema Stitching with ASP
01h 05mBuilding modern applications with GraphQL 2023 and beyond in ASP.NET Core 7
52mHot Chocolate: GraphQL Schema Stitching with ASP.Net Core
01h 05mCreating a GraphQL API with ASP.NET Core
50mConsuming GraphQL using C#
57mBuilding modern applications with GraphQL 2021 and beyond in ASP.NET Core 6
