What problem does it solve? Migrating a legacy Blazor Server application to the modern .NET 8+ Blazor Web App model involves many coordinated changes across the project file, Program.cs, _Host.cshtml, and App.razor, and missing any step causes build failures or runtime errors like broken form posts and lost authentication state. ## Core Features & Use Cases - Guided step-by-step migration: Converts AddServerSideBlazor/MapBlazorHub to AddRazorComponents/MapRazorComponents, transforms _Host.cshtml into an App.razor root component, and moves the Router into Routes.razor. - Edge-case handling: Covers prerendering preservation, circuit option migration, antiforgery middleware placement, and replacing CascadingAuthenticationState with the AddCascadingAuthenticationState service. - Validation checklist: Provides a concrete checklist and common pitfalls table to verify the migration, such as confirming no references to blazor.server.js or MapFallbackToPage remain. - Use Case: You have a .NET 7 Blazor Server app using Pages/_Host.cshtml and want to upgrade to .NET 8 with InteractiveServer render mode while keeping existing interactive behavior. ## Quick Start Ask the agent to convert this Blazor Server project to a .NET 8 Blazor Web App and follow the migration workflow step by step.