Finalize IIS .NET & Angular Deployment

Job ID: 39919663

Budget: $10 – $30 USD

My Windows VPS is already running IIS, the site and its application pool are set up, and both the published .NET 8 Web API and the built Angular SPA are in their correct folders. I’ve done part of the wiring, but a few key pieces still block the go-live:

• The Angular SPA must be served from “/”, while the API sits cleanly under “/api”.
• /api/health and the Swagger UI work from the console but return 500 in IIS, so the web.config or Program.cs needs a touch-up.
• I need a tidy URL-rewrite rule that sends any non-/api route to index.html, plus basic CORS and (if applicable) an HTTPS redirect.

You’ll get full RDP access to the server, IIS Manager, logs, and anything else you require.

Deliverables
– Working site where Angular loads at root and every API endpoint (including /api/health and Swagger) responds correctly under IIS.
– Updated web.config and any Program.cs changes committed.
– Clean URL-rewrite rule excluding /api.
– CORS enabled for the SPA to call the API, and HTTPS enforced if the cert is present.
– A brief bullet list of exactly what you changed so I can replicate in staging.

If you’re comfortable with ASP.NET Core 8, Angular, IIS, and the URL Rewrite module, this should be a concise, well-scoped task.