ASP.Net MVC Question:
Explain the page lifecycle of an ASP.NET MVC?
Answer:
The page lifecycle of ASP.NET MVC is having the following process and it is as follows:
-App initialization: in this the initiation of the application takes place that allow the application to interact the server and start to run the components.
-Routing: in this the messages are routed to the server for making the delivery of the request easier.
-Instantiate and execute controller: in this way the controller handles the request and passes it on to display the output or replies to the request.
-Locate and invoke controller action: The actions allow the controller to be located correctly and it invokes the correct action that has to be taken on the applications.
-Instantiate and render view: this helps in view the result of the application that is being built.
-App initialization: in this the initiation of the application takes place that allow the application to interact the server and start to run the components.
-Routing: in this the messages are routed to the server for making the delivery of the request easier.
-Instantiate and execute controller: in this way the controller handles the request and passes it on to display the output or replies to the request.
-Locate and invoke controller action: The actions allow the controller to be located correctly and it invokes the correct action that has to be taken on the applications.
-Instantiate and render view: this helps in view the result of the application that is being built.
Previous Question | Next Question |
What is the difference between MVC (Model-View-Controller) and MVP (Model-View-Presenter)? | Explain ASP.NET MVC Request Life Cycle? |