We have an Azure App Service that periodically keeps throwing HTTP 500 Error.
Currently we are resolving the issue by restarting the App Service.
We think there is a suspect code in startup.cs that MIGHT be the root cause.
We are yet to collect the logs to confirm that.
Meanwhile, we wonder why would startup.cs get triggered when we have already enabled Always On.
We were assuming that Always On Enabled means Azure would NOT restart the service.
Looking for insight on this.