Application Shutdown in ASP.NET Core

added by DotNetKicks
9/15/2017 12:13:18 PM

2 Kicks, 287 Views

Handling flushing of the application insights messages when core shutsdown When running a ASP.NET Core web application there are cases when you need to do some logic when the application stops. An example: you are logging and have to flush the last message to the log (Application Insights).