We have a simple .net application running crystal reports in an Azure VM. We have some code that detects if the application has restarted, and this application is restarting often.
protected void Application_Start()
{
if (!HttpContext.Current.IsDebuggingEnabled)
SendgridService.SendAppRestartEmail();
}
I suspect the application is going to sleep or something is triggering the restart, but cant work out what.
After doing a lot of searching I am posting here to see if anyone can help