Reputation: 1
I have some problems to start the project after downloading the ASP.NET Core with Angular One soluton template. I start it with iis express but the client app don't start. https://aspnetboilerplate.com/Pages/Documents/Zero/Startup-Template-Core Any suggestion?
Upvotes: 0
Views: 401
Reputation: 9624
Merged solution is a structure where angular and host project files are located in the same directory. that doesn't mean host and client app start within IIS Express. So you cannot run Angular in IIS Express. Just run npm start
.
Upvotes: 0
Reputation: 1
You cannot run/debug angular project from VS. Because the Angular project is running with using Angular-CLI. For debugging check following links.
Try Visual Studio Code and add the Chrome debugging extension and add a configuration to launch.json something like this.
{
"version": "0.2.0",
"configurations": [{
"name": "Launch Chrome against localhost",
"type": "chrome",
"request": "launch",
"url": "http://localhost:4200",
"sourceMaps": true,
"webRoot": "${workspaceRoot}",
"sourceMapPathOverrides": {
"webpack:///./*": "${workspaceRoot}/*"
}
}]
}
You can also refer this document for more details. https://code.visualstudio.com/docs/languages/typescript
Upvotes: 1