Is there Razor with design view in Microsoft Visual Studio

TracyLiang 41 Reputation points
2022-02-10T02:20:21.123+00:00

Hello all,

Formerly we can view *.aspx page file in design view with better convenience.
But now Razor file only can be open without design view.
Please kindly support to clarify:
1)Is it possible to view Razer with design view as same as *.aspx file in Microsoft Visual Studio?
2)If not, is there other way to solve it?

Thanks!

Developer technologies ASP.NET ASP.NET Core
0 comments No comments
{count} votes

Accepted answer
  1. Anonymous
    2022-02-11T02:19:22.863+00:00

    Hi @lilyliang-0256,

    Is it possible to view Razer with design view as same as .aspx file in Microsoft Visual Studio?
    If not, is there other way to solve it?

    There doesn't have this feature to view the Asp.net core Razor page application page in the design view.

    To view the razor page, you have to running the application, and view the page via Browser. If you want to modify your apps managed source code while the application is running, you could try to use the .NET Hot Reload.

    .NET Hot Reload applies code changes, including changes to stylesheets, to a running app without restarting the app and without losing app state. Hot Reload is supported for all ASP.NET Core projects. More detail information, see Introducing the .NET Hot Reload experience for editing code at runtime and .NET Hot Reload support for ASP.NET Core.


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    Best regards,
    Dillion


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.