Tutorial: Create an ASP.NET Core app with Angular in Visual Studio does not load the default page when click run or F5

Travas Nolte 0 Reputation points
2024-09-20T14:08:55.35+00:00

Based on this VS Tutorial: Create an ASP.NET Core app with Angular in Visual Studio, after the latest VS 2022 update. When the app is started it opens the browers, but never navigate to the appropriate route, log in page, for example.

Tutorial: Create an ASP.NET Core app with Angular in Visual Studio

https://learn.microsoft.com/en-us/visualstudio/javascript/tutorial-asp-net-core-with-angular?view=vs-2022#prerequisites

User's image

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,123 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Anna Xiu-MSFT 28,851 Reputation points Microsoft Vendor
    2024-09-23T03:13:09.73+00:00

    Hi @Travas Nolte, 

    Welcome to Microsoft Q&A!

    Do you have any errors or warnings when starting the app? 

    Please try to update your Node.js and Angular CLI to the latest version. 

    You can also open the Visual Studio Installer > More > Repair your VS. Then, create a new Angular and ASP.NET Core project and check it again. 

    If it occurs after updating VS, you can consider rolling back VS to the previous version by opening the Visual Studio Installer > More > Rollback to previous version

    Sincerely,

    Anna


    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.


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.