Applies to: Blazor (.NET 8+), C# 12+, WebAssembly, Server, Blazor United, Interactive Web Apps
| WebAssembly | Browser (WASM) | Offline-capable apps, PWAs, reduced server load | | Server | Server (SignalR) | Low-latency, SEO, thin clients | | United (.NET 8) | Hybrid SSR + interactive | Per-component render mode selection |
| Client | UI components, pages, client services | Shared | | Server | API endpoints, server logic, auth | Shared | | Shared | Models, DTOs, validation attributes | Nothing | | Tests | bUnit component tests, API tests | Client, Server |
Blazor framework guardrails, patterns, and best practices for AI-assisted development. Use when working with Blazor projects, or when the user mentions Blazor. Provides WebAssembly/Server patterns, component lifecycle, SignalR, and state management guidelines. Source: ar4mirez/samuel.