Page Life Cycle of MVC

Hello All, I had faced 2 interviews on MVC and I was stuck on Page Life Cycle of MVC, I have checked on google to find the exact flow diagram of this cycle but I can't find it. Can anyone help me with that or suggest some more interview questions related to this?

4 Replies 1 reply marked as answer

MK Muthukrishnan Kandasamy Syncfusion Team July 17, 2020 08:30 AM UTC

 
Hi Ankit, 
 
Thanks for contacting Syncfusion support. 
 
We have validated your query and gathered some public forums link for your understanding. Please refer to the below links to know more about page life cycle of MVC. 
 
 
 
 
 
 
Please let us know, if you need any further assistance. 
 
Regards, 
Muthukrishnan K 


Marked as answer


RJ Rohan Joshi July 24, 2020 12:33 PM UTC

MVC has two life cycles −

  • The application life cycle
  • The request life cycle

The Application Life Cycle

The application life cycle refers to the time at which the application process actually begins running IIS until the time it stops. This is marked by the application start and end events in the startup file of your application.

The Request Life Cycle

It is the sequence of events that happen every time an HTTP request is handled by our application.

The entry point for every MVC application begins with routing. After the ASP.NET platform has received a request, it figures out how it should be handled through the URL Routing Module.

Modules are .NET components that can hook into the application life cycle and add functionality. The routing module is responsible for matching the incoming URL to routes that we define in our application.

All routes have an associated route handler with them and this is the entry point to the MVC framework.

To know more about MVC Interview Questions, visit here.



Loader.
Up arrow icon