ASP.NET Core's current owin documentation does not details on adding the glue code to plug in things like logging, data protection, hosting shutdown tokens etc. For instance, https://www.codeproject.com/Articles/1122162/Implement-Owin-Pipeline-using-Asp-net-Core has a section about configuring the OnAppDisposing token using IApplicationLifetime.ApplicationStopping.
This glue code is required to robustly run a existing Katana-based app on ASP.NET Core. This issue tracks this work.
Moved from: https://github.com/dotnet/aspnetcore/issues/39943
ASP.NET Core's current owin documentation does not details on adding the glue code to plug in things like logging, data protection, hosting shutdown tokens etc. For instance, https://www.codeproject.com/Articles/1122162/Implement-Owin-Pipeline-using-Asp-net-Core has a section about configuring the OnAppDisposing token using IApplicationLifetime.ApplicationStopping.
This glue code is required to robustly run a existing Katana-based app on ASP.NET Core. This issue tracks this work.