Interviews10 answers
Explain Asp.Net MVC life cycle ?
10 Answers
1.App intialization.
2.Routing..
3.Instatiate & Excecute contrroler.
4.Locate & invoke controler action .
5.instatiate & render view......
sudheer kumarPosted Feb 8, 2017, 8:22 PM EST
UrlRoutingModule->Route table->Controller->Action Execution-> Results,->View Engine and finally render a view
That is the basic step but there is too much deep step like MVC handler,Icontroller,ActionInvoker,Iroute Handler,filter etc.
Shuvojit HalderPosted Nov 16, 2016, 1:01 AM EST
Asp.net MVC Request Life Cycle
Routing
MvcHandler
MvcHandler
Action Execution
View Result
View Engine
and View
Keerthi VenkatesanPosted Jun 7, 2016, 10:34 PM EDT
Action Verb -> Routing, Handler, Controller, Action Execution, Results, View Engine and finally render a view
Bhuvanesh MohankumarPosted May 30, 2016, 8:45 AM EDT
http://dotnet-munesh.blogspot.in/2015/05/page-life-cycle-in-mvc-in-aspnet.html
Munesh SharmaPosted May 9, 2016, 8:42 AM EDT
7 Steps Are include in Life Cycle of Asp.Net MVC life cycle
1 Routing
2. Mvc Handler
3 Controller
4 Action Execution
5.View Result
6 view Engine
7 View
Pankaj Kumar ChoudharyPosted Feb 21, 2016, 2:43 PM EST
Please visitThese useful visit link about Asp.net MVC life cycle
http://www.dotnet-tricks.com/Tutorial/mvc/TbR0041112-Asp.net-MVC-Request-Life-Cycle.html
https://www.mindstick.com/blog/48/asp-dot-net-page-life-cycle
http://www.codeproject.com/Articles/1028156/A-Detailed-Walkthrough-of-ASP-net-MVC-Request-Life
Allen ScottPosted Feb 16, 2016, 12:57 AM EST
http://www.dotnet-tricks.com/Tutorial/mvc/TbR0041112-Asp.net-MVC-Request-Life-Cycle.html
Shailesh UkePosted Feb 15, 2016, 8:50 PM EST
Nice diagram is given over here:
http://www.asp.net/mvc/overview/getting-started/lifecycle-of-an-aspnet-mvc-5-application
Shweta LodhaPosted Jan 21, 2016, 1:12 AM EST
There are seven stages
stage1: receive a request first for the application
in this stage route objects are added to the route table in the global.asax file
stage2: Perform routing
in this stage url route module creates route data by using route object in the route table
stage3: create mvc request handler
in this stage request context instance pass to the handler
stage4:create controller
in this stage mvc handler uses the request context instance to find the icontroller factory object
stage5: execute controller
mvc handller instance calls the controller execute method
stage 6
invoke action method
stage7
execute result
harish narisettyPosted Jan 20, 2016, 5:03 AM EST






