0
paulg created
I have a brand new web solution. ASP.NET CORE & Angular (single solution) .NET 5.0 v10.3.0. When I open web.sln and run npm start and go to localhost:4200, the application will just spin and will not open the starting page (Dashboard). It will only load if I run Web.host to open localhost:44301/Ui and login. After that the Dashbaord will load. Is this the way it works?
1 Answer(s)
-
0
Hi @paulg
Web.Host project is the API project for the Angular app. Angular app doesn't have direct access the database. So, Web.Host must be running for Angular app to work.
You can check https://docs.aspnetzero.com/en/aspnet-core-angular/latest/Overview-Angular#architecture to understand the structure of the apps.