Wednesday, 10 April 2024

How to find the reason of HTTP Error 500.30 - ASP.NET Core app failed to start in Azure App Service

HTTP Error 500.30 - The ASP.NET Core app failed to start

If your web app is throwing an error HTTP error 500.30 then how to find the root cause in Azure

There are multiple ways to find the error. Let's discuss the first approach.

Approach 1

Step 1: Go to Azure Portal 
Step 2: Click on App Service
Step 3: Click on Diagnose and Solve Problems.














Step 4:  Click on Web App Down
















Step 5:  Here you can click on the View Details link under .Net Core startup failure and you can find the reason for the app down.


















Approach 2

Step 1: Go to App Service
Step 2: Click on Environment Variables
Step 3: Click on App Settings

Step 4: Add new Key "ASPNETCORE_DETAILEDERRORS", Set value =1


















Restart the app it will show the error on the page instead of 500.30 - ASP.NET Core app failed to start

That's all about this article, I hope you like it.

Implement Authorization in Swagger with Static Value in Header .Net 8

If you want an anonymous user should not run the APIs. To run your API Endpoints From Swagger / Postman / Code the user should pass the head...