blazor
Installation
SKILL.md
Blazor
Blazor allows writing web UIs in C# instead of JavaScript. .NET 9 (2024/2025) brings unified rendering modes (Server, WebAssembly, Auto).
When to Use
- .NET Shops: Sharing code (Models/DTOs) between Backend and Frontend.
- Internal Apps: Rapid development for enterprise tools.
- WebAssembly: Running compiled C# in the browser.
Core Concepts
Blazor Server
UI logic runs on server, updates sent via SignalR. Low latency, requires connection.
Blazor WebAssembly
Runs client-side (DLLs downloaded). Offline support.