Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ASP.NET Core Application Lifecycle

Tags:

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 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

like image 465
FrankO Avatar asked Sep 30 '16 21:09

FrankO


People also ask

Is ASP.NET Core still relevant 2020?

After a strong legacy of over two decades now, the net development services still remain relevant. As per a report by w3techs, ASP.NET is still used by 7.9% of all the websites whose server-side programming languages are known.

Is .NET Core retired?

NET Core 3.1 was originally released on December 3, 2019 and is supported for three years. But the actual end of support day will be the closest Patch Tuesday starting that date, which is December 13, 2022.

How does ASP.NET Core process a request?

The ASP.NET Core web server will convert the response from the application logic into a raw HTTP response and sends it back to the reverse proxy. The reverse proxy will then send it back to the browser.

Is .NET Core deprecated?

NET Core will be fully deprecated, but don't wait to start planning! Deprecation will sneak up on you sooner than you realize. If you spend a little time between now and end-of-life planning and executing, your migration will be nearly pain-free.


2 Answers

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.

like image 160
mare Avatar answered Sep 16 '22 15:09

mare


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.

like image 29
pk_code Avatar answered Sep 16 '22 15:09

pk_code