In old ASP.NET I could tell why my app stopped by looking at HostingEnvironment.ShutdownReason
.
In ASP.NET Core, this doesn't exist. Where can I get this info?
There is no shutdown reason in ASP.NET Core. The good news is, the application dies for a lot less reasons now than it did before because of the new hosting model.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.