Skill / SKILL.md

Convert Blazor Server To Webapp

dotnet/skills

Guides conversion of a pre-.NET 8 Blazor Server app into a .NET 8+ Blazor Web App. USE FOR: migrating apps that use AddServerSideBlazor and MapBlazorHub to the AddRazorComponents/MapRazorComponents model, converting _Host.cshtml to an App.razor root component, replacing blazor.server.js with blazor.web.js, migrating CascadingAuthenticationState to a service, adopting new Blazor Web App features like enhanced navigation and streaming rendering. DO NOT USE FOR: apps that are already Blazor Web Apps (already use AddRazorComponents and MapRazorComponents), Blazor WebAssembly or hosted Blazor WebAssembly apps (different migration path), apps that should stay on the Blazor Server hosting model without converting, or apps still targeting .NET Framework.
4 views 6,410 repository stars 0 commentsUpdated Nov 27, 2026
Overview

Guides conversion of a pre-.NET 8 Blazor Server app into a .NET 8+ Blazor Web App. USE FOR: migrating apps that use AddServerSideBlazor and MapBlazorHub to the AddRazorComponents/MapRazorComponents model, converting _Host.cshtml to an App.razor root component, replacing blazor.server.js with blazor.web.js, migrating CascadingAuthenticationState to a service, adopting new Blazor Web App features like enhanced navigation and streaming rendering. DO NOT USE FOR: apps that are already Blazor Web Apps (already use AddRazorComponents and MapRazorComponents), Blazor WebAssembly or hosted Blazor WebAssembly apps (different migration path), apps that should stay on the Blazor Server hosting model without converting, or apps still targeting .NET Framework.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/dotnet/skills' skill-source

Use the complete skill-source/plugins/dotnet-aspnetcore/skills/convert-blazor-server-to-webapp directory with your client’s skill installer.

  • plugins/dotnet-aspnetcore/skills/convert-blazor-server-to-webapp

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory plugins/dotnet-aspnetcore/skills/convert-blazor-server-to-webapp

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
9358b28f45434ac696cb3667fb0da11ec10e316f1f919ba8a1cfe99ef23c1572
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills