aspnetcore/src/Microsoft.AspNetCore.Hosting
David Fowler 42594afd42 Introducing IApplicationLifetimeEvents (#875)
- Introduce a new DI friendly API for handling lifetime events. IApplicationLifetime isn't
isn't replaceable so we introduce a new DI friendly API that can be implemented to handle
lifetime events of an ASP.NET application. It should also make it possible to write up extension
on IWebHostBuilder to wire up to external systems that need to register the state of the application (like systemd).
- Run all handlers even if one throws
- Let both sets of event handlers run before throwing (IApplicationLifetimeEvents and IApplicationLifetime cancellation token callbacks).
2016-11-29 03:38:07 -08:00
..
Builder
Internal Introducing IApplicationLifetimeEvents (#875) 2016-11-29 03:38:07 -08:00
Properties
Server/Features
Startup
compiler/resources
Microsoft.AspNetCore.Hosting.xproj
Resources.resx
WebHostBuilder.cs
WebHostBuilderExtensions.cs
WebHostExtensions.cs
baseline.net45.json Created public API baselines 2016-11-04 15:17:13 -07:00
baseline.netcore.json Created public API baselines 2016-11-04 15:17:13 -07:00
project.json Updating versions to 1.2.0-* 2016-11-09 14:17:46 -08:00