BEST
DEALS
OF THE
YEAR!
SAVE UP TO $3,000
LAST DAY 1 DEC
00 Days
00 Hrs
00 Min
00 Sec
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.


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:

  • User Avatar
    0
    maggieryanmail@gmail.com created

    Thank you very much!

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    : )

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.1.0-preview. Updated on November 20, 2025, 09:12
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.