https://www.talkingdotnet.com/aspnet-core-diagnostics-middleware-error-handling/
Various ASP.NET Core Diagnostics Middleware