Open Closed

Updating Blazor to using App.razor #9916


User avatar
0
maggieryanmail@gmail.com created

I am updating my Blazor server project from 9.0.5 to 9.3.3.

I am experiencing various issues, which I believe are related to the migration from _Host.cshtml to App.razor.

Could you please document what I need to do in order to update my project to the latest version? There is nothing about it in the migration guide.

Thank you.

Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)

3 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    1. Create a project with the same name and copy the App.razor and Routes.razor files to your old solution.
    2. Add @using static Microsoft.AspNetCore.Components.Web.RenderMode to your _Imports.razor

    1. Update your BlazorServerModule code to add the code below:

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    maggieryanmail@gmail.com created

    Thank you very much!

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    : )

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.8.0-preview. Updated on September 16, 2026, 14:50
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.