Blazor & gRPC - Code-first .NET SPA developer productivity
summary
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
chapters (11)
- 0:00Start
- 9:14What?
- 13:50Contract-first vs. Code-first
- 15:37Loosely coupled
- 18:06Metadata derived
- 22:49JSON Lightweight
- 24:55Metadata-first
- 26:39Protocol Buffers
- 28:18Service Pattern
- 29:03DEMO
- 54:42Blazor Client
related talks
01h 01mBlazor, a new framework for browser-based .NET apps
40mBlazor Future Features
01h 01mBlazor, a new framework for browser-based .NET apps
01h 03mBlazor, a new framework for browser-based .NET apps
09mBlazor with WebAssembly
01h 04mA fistful of Blazor; Its .NET in the browser
01h 13mBlazor: SPAs in the Browser with C# and WebAssembly
01h 00mASP.NET Blazor programming 101
