
Before writing your first Blazor WASM app, you need the right tools. The setup is straightforward and cross-platform — Windows, macOS, and Linux are all supported.
Download and install the latest .NET SDK (8.0 or later) from dotnet.microsoft.com. Verify the install:
dotnet --versiondotnet new blazorwasm -o MyBlazorApp
cd MyBlazorApp
dotnet runwwwroot/ — static assets and index.htmlPages/ — routable componentsShared/ — reusable componentsProgram.cs — app entry point and DI setupReference:
TaskLoco™ — The Sticky Note GOAT