I am seeking some advice on how to instrument for stack overflow and other critical errors in ASP.NET azure.
I recently introduced a "minor" defect with a function that looks like this:
public void foo()
{
return foo();
}
What was surprising was there was no way to catch this error in the Azure environment. Its running as a "WebApp" (asp.net), and I have global error handlers, and the call was wrapped in an try/catch block. All logging turned on in Azure. Nothing in Azure web or app log stream - basically just getting a 503.
Note: this is NOT a duplicate of a seven year old question. This is specific to latest (4.6+) .NET Framework running in an azure environment.