Azure appservices warmup taking forever

948 views Asked by At

I am running my asp.net C# app on azure appservices in a reasonably good plan and I am getting a really slow app initialization. This happens every time I deploy or restart the app.

At first, I thought my global.asax Application_Startup was taking too long to load configs from the database. But then I realized that it is taking over 20 mins before it even hits my Application_Startup.

I'm looking for ideas on where to look for the root cause of the problem.

Many thanks

1

There are 1 answers

1
Harish On

I would suggest to check for Azure Metrics logs to get more details, also one of the best thing which I love to do is remote debugging on Azure app. You can check below post for more details on remote debugging:

Remote debugging Azure App Service