ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,159 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
In older versions of ASP.NET you could use
HostingEnvironment.ShutdownReason
to retrieve
ApplicationShutdownReason
This no longer works in ASP.NET 5 Core and now I can't figure out how to get the shutdown reason. Thank you!