QuickDevGuide

Home › Blazor

Render Modes & Hosting Models — Blazor

Since .NET 8, one Blazor Web App can mix rendering strategies per page or component: Render mode Where code runs Interactivity Good for Static SSR (default) server, HTML once none (forms via enhanced POST) content pages, SEO, fast first load Streaming SSR (@attribute [StreamRendering]) server none, but streams updates while loading slow data on static pages InteractiveServer server, UI diff over SignalR full intranet apps, small payload, direct DB access InteractiveWebAssembly browser (.NET on WASM) full, offline-capable rich client apps, scale-out, PWA InteractiveAuto Server first, then WASM once downloaded full best of both, more complexity Apply with @rendermode InteractiveServer on a component/page, on a component instance (<Counter @rendermode="InteractiveWebAssembly" />), or…

Key Takeaways