Deployed C# API is not accessible, swagger, routes, all return 404

Eric Milliot 5 Reputation points
2025-04-14T03:49:00.7733333+00:00

I was able to connect my github repo, github action auto-deployment on commit. Builds and deploys successfully (creating artifact) from the yml script Azure I auto-generated and committed to my repo.

Azure overview page says my app is running good, no errors, however I cannot access my web API at all, not the swagger page, nor the routes. I keep getting 404.

Swagger is coded to always render regardless if prod of dev.

From my azure page:
Web app

Name

Publishing model

Code

Runtime Stack

Dotnetcore - 9.0

Domains

Default domain

Custom domain

Add custom domain

Hosting

Plan Type

App Service plan

Name

Operating System

Linux

Instance Count

1

SKU and size

Basic (B1)Scale up

What have I done wrong? Nothing appears incorrect for me.

Developer technologies | .NET | .NET Runtime
0 comments No comments
{count} vote

1 answer

Sort by: Most helpful
  1. Eric Milliot 5 Reputation points
    2025-11-25T02:59:09.3366667+00:00

    The issue has been resolved.

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.