1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Anuncie Aqui
    Anuncie aqui você Também: fdantas@4each.com.br

Trouble with ASP.NET Angular Project

Discussão em 'Angular' iniciado por Yonett, Julho 19, 2025.

  1. Yonett

    Yonett Guest

    I'm trying to launch the "Weather Forecast" template solution but encountering an issue I can't resolve. Here's what I've done:

    First, I installed Visual Studio 2022 and Angular 17 (npm install -g @angular/cli@17.0.3) as specified in the book "ASP.NET Core 8 and Angular" by Valerio De Sanctis.

    Then I created a new solution using the "Angular and ASP.NET Core" template in Visual Studio with the settings shown in the screenshot.

    [​IMG]

    [​IMG]

    [​IMG]

    The solution was created successfully.

    [​IMG]

    Following the book's instructions, I reordered the solution projects.

    [​IMG]

    When I try to run the projects, npm begins restoring dependencies and I see several outputs in the console and in browser.

    [​IMG]

    [​IMG]

    [​IMG]

    [​IMG]

    If I open https://127.0.0.1:52578/, the page loads but Visual Studio shows an error.

    [​IMG]

    [​IMG]

    My question is: what could be causing this problem and how can I fix it?

    Continue reading...

Compartilhe esta Página