ASP.NET Core Application Lifecycle

后端 未结 2 1094
栀梦
栀梦 2021-01-30 23:42

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.

Is it similar to the exi

相关标签:
2条回答
  • 2021-01-30 23:55

    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/en-us/aspnet/core/fundamentals/startup

    https://docs.microsoft.com/en-us/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.

    0 讨论(0)
  • 2021-01-30 23:59

    If you have membership of Pluralsight, Alex Wolf has great course on it, He also had same course for previous versions of MVC so if you watch both in order it will give you really good understanding of how Request Life Cycle was working in MVC 5 and before and how it works now with MVC Core and what's difference between both.

    Pluralsight also offers 7 days free trial membership if you want to try it out.

    MVC 5 and before: The MVC Request Life Cycle

    MVC Core: ASP.NET Core: The MVC Request Life Cycle

    Hope it helps.

    0 讨论(0)
提交回复
热议问题