Explain what is MVC application life cycle?

devquora
devquora

Posted On: Feb 22, 2018

 

Any web application has two main execution steps, first understanding the request and depending on the type of the request sending out an appropriate response. MVC application life cycle is not different it has two main phases, first creating the request object and second sending our response to the browser.

Creating the request object includes four basic steps: 

Step 1: Fill route
Step 2: Fetch route
Step 3: Request context created
Step 4: Controller instance created 

    Related Questions

    Please Login or Register to leave a response.

    Related Questions

    MVC Interview Questions

    What is MVC (Model view controller)?

     Model–view–controller (MVC) is a software architectural pattern for implementing user interfaces. It divides a giv..

    MVC Interview Questions

    What is Razor in MVC?

     ASP.NET MVC has always supported the concept of “view engines” – which are the pluggable modules, which practica..

    MVC Interview Questions

    Explain attribute based routing in MVC?

     In ASP.NET MVC 5.0 we have a new attribute route,by using the “Route” attribute we can define the URL structure. F..