~/talk

Building real-time applications with Blazor and GraphQL

Talkat .NET Summit 2020 Online Conference · 2020-08-07..08-08· [web-platform, dotnet]
slides:none on file

A working Blazor WebAssembly chat app uses Hot Chocolate on the server and a Strawberry Shake client on the front end, generating a strongly typed C# API from .graphql files; queries, mutations and a subscription stream (async enumerable over WebSockets) deliver real-time messages that arrive in the browser. Code reuses HttpClientFactory, DI and fragments to eliminate magic strings so GraphQL fragments -> C# types becomes concrete. The demo runs end to end and successfully sends and receives messages.

AI-written summary · about

  1. 0:00Start
  2. 0:55What Graphql Is
  3. 1:41Graphql Query
  4. 10:26State of Blazer
  5. 10:57Web Assembly
  6. 13:08Demo Code
  7. 16:19Fetch Data with Graphql
  8. 16:58Initialize Our Project
  9. 18:05Graphql Queries
  10. 22:53Loading Indicator
  11. 29:52Component Structure
  12. 31:03Second Demo
  13. 36:52Send Messages
  14. 37:59Define a Real-Time Subscription
  15. 44:30Real-Time Logic
  16. 47:29Does It Use Json as a Format for Messages between Client and Server
~/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.