ASP.NET核心应用程序生命周期

问题描述:

是否存在有关生命周期的最新"ASP.NET Core"文档?我希望能够在适当的时候参与到生命周期中.

Is there any current "ASP.NET Core" document(s) about the life cycle? I would like to be able to tie into the life cycle at the right points.

与现有的ASP.NET MVC 5生命周期类似吗?

Is it similar to the existing ASP.NET MVC 5 life cycle?

http://www-asp.azureedge.net/v-2016-09-01-001/media/4773381/lifecycle-of-an-aspnet-mvc-5-application.pdf

虽然我没有找到完整的描述,但是我正在寻找更多与ASP.NET Core生命周期相关的链接. ASP.NET Core应用程序是在Kestrel上运行的控制台应用程序,因此您可以假定与@mybirthname发布的名称和与ASP.NET 5(及更低版本)相关的名称存在显着差异.

Here are few links I found related to ASP.NET Core lifecycle though this is not complete description and I'm searching for more. ASP.NET Core apps are console apps running on Kestrel so you can assume there are significant differences to what @mybirthname posted and it relates to ASP.NET 5 (and below).

https://docs.microsoft.com/zh-cn/aspnet/core/fundamentals/startup

https://docs.microsoft.com/zh-cn/aspnet/core/fundamentals/middleware

http://developer.telerik.com/featured/understanding -asp-net-core-initialization/

我建议您仔细阅读核心文档基础知识"部分中的所有文档.

I'd suggest going through all the docs within Core docs Fundamentals section.