Successful Azure DevOps Pipeline Deployment Creates Non-Functioning Application

Jim Copeland 0 Reputation points
2023-09-15T13:50:39.96+00:00

We have created a Linux-based Azure Web App Service running dotNet Core 6.0 in our Azure tenant, and want to use Azure DevOps to create a pipeline for deploying code to the dev slot of the app service.

I have been reading up lots of official Microsoft documentation on how to do this, but I am still stuck. We are able to build the pipeline, and deploy a release. The result is successful, but when we actually browse to the web app, the page says " :( Application Error If you are the application administrator, you can access the diagnostic resources."

I am not a developer, but I have been tasked with getting this pipeline setup. This is the most complex pipeline tool I have seen. Can anyone assist with this? I can provide whatever logs or details you need

Thank you!

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,546 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
5,610 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Bruce (SqlWork.com) 43,906 Reputation points
    2023-09-15T18:04:33.59+00:00

    first publish the project (via dotnet publish or vs) to a filesystem, so you know what the deployed file structure should be. then compare this to the deployed file structure.

    also check the logs on the server. often its deployed properly, but a configuration value crashes the app at startup.