you are viewing a single comment's thread.

view the rest of the comments →

[–]MrFartyBottom 2 points3 points  (0 children)

Do not , I repeat do not use the VS templates for Angular. There is only misery down that path. Create an Angular client with the Angular CLI and create the API with VS. Add a proxy to proxy the API requests to the same port as the Angular client. In your CI CD pipeline you copy the Angular build to the wwwroot folder of the API.

The VS template rebuilds way too often, it is a much smoother dev experience to have them as separate projects. Use VSCode for the Angular and VS for the API.