create-blazor-project

Scaffold new ASP.NET Core Blazor web applications with the correct render mode and project structure.

1|Updated Jun 1, 2026
One-click install
npx skills add https://github.com/D1ssolve/craft-agents --skill create-blazor-project-d1ssolve
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-blazor-project
Source: https://github.com/D1ssolve/craft-agents/tree/main/skills/create-blazor-project
Command: npx skills add https://github.com/D1ssolve/craft-agents --skill create-blazor-project-d1ssolve

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes assets (resource) components.

What problem does it solve? Choosing the right Blazor render mode and scaffolding options is confusing, and picking the wrong one leads to rework. This Skill guides requirements gathering, selects the appropriate interactivity level, and runs the correct dotnet new blazor command. ## Core Features & Use Cases - Render Mode Decision Guidance: Maps app requirements (interactivity, latency, offline support) to Static SSR, Interactive Server, WebAssembly, or Auto modes with per-page or global scope. - Scaffolding Commands: Provides exact dotnet new blazor commands for every mode combination, including authentication via -au Individual. - Project Structure & AGENTS.md Setup: Explains the generated single-project and two-project layouts, Program.cs wiring, and creates a mode-specific AGENTS.md from templates. - Use Case: A developer wants to build an internal dashboard with real-time updates. The Skill recommends Interactive Server per-page, scaffolds the project, verifies the build, and sets up AGENTS.md. ## Quick Start Ask the agent to create a new Blazor web app called MyApp with Interactive Server rendering and individual account authentication.

Frequently Asked Questions about create-blazor-project

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a new Blazor web app with the dotnet CLI?

Run dotnet new blazor -o AppName with the -int flag to choose a render mode, such as -int Server for Interactive Server or -int None for Static SSR. Add -ai for global interactivity and -au Individual for authentication.

Which Blazor render mode should I choose for my app?

Use Static SSR for data display and simple forms, Interactive Server per-page for most apps needing some interactivity, and WebAssembly only for offline support or high-latency networks. Auto mode fits only when both Server and WebAssembly constraints apply.

What is the difference between Blazor Server and Blazor WebAssembly?

Interactive Server runs components on the server over a SignalR circuit with full .NET access and no API layer. WebAssembly runs in the browser, eliminating round-trip latency but requiring a .Client project, API-mediated data access, and a runtime download.

Does the Blazor template support authentication?

Yes, append -au Individual to scaffold ASP.NET Core Identity with SQLite via the CLI. Identity pages are always static SSR. For organizational auth like Microsoft Entra ID, scaffold Individual first then replace with Microsoft.Identity.Web.

Why should I not use dotnet new blazorwasm for a new project?

The blazorwasm template creates a standalone WebAssembly SPA without server-side rendering. Use the blazor template with -int WebAssembly instead to get server hosting, prerendering, and the unified project structure.