~/talk

Blazor & gRPC - Code-first .NET SPA developer productivity

Talkat NDC London 2021 · 2021-01-25..01-29· [web-platform, dotnet]
slides:none on file

Uses Blazor WebAssembly with a code-first gRPC approach (protobuf-net.Grpc) to share C# interfaces and DTOs end-to-end, avoiding .proto codegen and giving full intellisense. Demo runs on .NET 5, registers services via DI, enables grpc‑web middleware and the grpc‑web binary handler, and calls a conference service returning 306 conferences over HTTP/2 binary frames. It works in browsers but requires grpc‑web proxy/middleware, adds NuGet surface area and package size, and exposes browser sandbox limitations and occasional hiccups.

AI-written summary · about

  1. 0:00Start
  2. 9:14What?
  3. 13:50Contract-first vs. Code-first
  4. 15:37Loosely coupled
  5. 18:06Metadata derived
  6. 22:49JSON Lightweight
  7. 24:55Metadata-first
  8. 26:39Protocol Buffers
  9. 28:18Service Pattern
  10. 29:03DEMO
  11. 54:42Blazor Client
~/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.