ASP.Net Core Web App not working after deployment

oliver 0 Reputation points

Trying to run an ASP.Net Core Web App on Azure. The deployment is done by GitHub

The GitHub Actions logs are fine. When I SSH into the server, the files are in the wwwroot folder. These match those from the build artefact on GitHub Actions

It builds and runs fine locally.

There are no logs on the Web App (afaik, it should show some if it failed to start)

It still slows the default "Your web app is running and waiting" page

I have restarted multiple times.

Not sure where I have messed up?

A set of technologies in the .NET Framework for building web applications and XML web services.
4,311 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,219 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Bruce ( 59,546 Reputation points

    Typically the app is crashing at startup due to configuration or permissions. If you did it add adequate logging, you can use the kudu console and manually run the app.

    0 comments No comments

  2. JasonPan - MSFT 4,706 Reputation points Microsoft Vendor

    Hi @oliver,

    I found you are using SSH, so it's a linux web app. And we need to know the Startup Command for linux platform.

    You can try to use dotnet <myapp>.dll to fix the issue.

    What are the expected values for the Startup File section when I configure the runtime stack?

    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    Best regards,


    0 comments No comments