I’ve created a solution using the new Angular and ASP.NET Core 8 template.
This template creates two projects. One containing the Angular site (project.client), and the other containing all the ASP.NET Core logic and APIs that the Angular site uses (project.server).
I’m now trying to publish to IIS. The template automatically adds the Angular project (project.client) as a dependency to the API project (project.server).
Visual Studio offers no option to Publish the client project.
When I publish the server project, the output includes all the angular files.
When adding the output to IIS, the API (project.server) appears to function correctly.
These are at https://serveraddress/api/ as expected.
However, navigating to https://serveraddress does not return any of the Angular files.
I just receive an Error 404.
How do I deploy projects created by the new template?
Alternatively, how do I debug or view logs on what is happening within IIS when accessing the root URL is attempted?