Building real-time applications with Blazor and GraphQL
summary
Builds a working real-time chat SPA: a Blazor WebAssembly frontend that uses generated C# clients from Strawberry Shake to call a Hot Chocolate GraphQL backend. Shows concrete queries, mutations and GraphQL subscriptions implemented over WebSockets, uses fragments that become C# interfaces and paging types, and wires the HTTP client factory and DI. Demo compiles, runs, fetches people and messages, sends mutations and receives live messages. Notes JSON transport today and a planned gRPC/protobuf option.
AI-written summary · about
chapters (11)
- 0:00Introduction and speaker intro
- 1:10Why GraphQL and Blazor
- 7:12Deep dive into GraphQL
- 13:06Demo setup and first Blazor app
- 21:55Fetching data with GraphQL in Blazor
- 31:40Building real-time chat UI
- 33:25GraphQL queries for messages
- 37:26Sending messages with mutations
- 38:49Real-time subscriptions setup
- 45:05Live demo and real-time features
- 47:57Q&A and closing remarks
related talks
01h 05mCreating a GraphQL API with ASP.NET Core
24mHow to Create a Full-Stack Web App Using Blazor WASM and GraphQL
01h 03mBlazor & gRPC - Code-first .NET SPA developer productivity
01h 01mBlazor, a new framework for browser-based .NET apps
18mCrafting compelling real-time web experiences with GraphQL
40mBlazor Future Features
01h 04mA fistful of Blazor; Its .NET in the browser
01h 03mBlazor in more depth
