Interview Questions Answers.ORG
Interviewer And Interviewee Guide
Interviews
Quizzes
Home
Quizzes
Interviews Dot Net Technologies Interviews:.Net Architecture.Net Database.Net Deployment.NET web servicesADO.NETADO.NET 2.0ASP ProgrammingASP.NetASP.NET 2.0ASP.NET CachingASP.Net MVCBizTalkC# (Sharp) Programming LanguageCOM+Crystal ReportsDataGrid (Grid view)Dot NetDot Net AssemblyDot Net Code SecurityDot NET crystal reportsDot Net FrameworkDot Net RemotingDot Net WindowsFormsEntity FrameworkMicrosoft .Net MobileMicrosoft BasicsMicrosoft.NETMicrosoft.NET 2.0Mixed MicrosoftMono FrameworkMOSSMSFMTSReporting ServicesSenior .Net DeveloperVB .NetVB .Net DeveloperVB.NET FrameworkWCF (Windows Communication Foundation)WCF Data ServicesWeb Forms
Copyright © 2018. All Rights Reserved
ASP.Net MVC Interview Question:
Explain ASP.NET MVC Request Life Cycle?
Submitted by: AdministratorFollowing are the steps that are executed in ASP.NET MVC Request Life Cycle.
1. Application first receives the request and looks up Route object in RouteTable collection. Then the RouteData object is created.
2. Then RequestContext instance is created.
3. MvcHandler and pass RequestContext to handler is created.
4. Then IControllerFactory from RequestContext is identified.
5. Then the object of class that implements ControllerBase is created.
6. MyController.Execute method is called.
7. Then ControllerActionInvoker finds the action to invoke on the controller and executes that action on the controller and by calling the model associated view returns.
Submitted by: Administrator
1. Application first receives the request and looks up Route object in RouteTable collection. Then the RouteData object is created.
2. Then RequestContext instance is created.
3. MvcHandler and pass RequestContext to handler is created.
4. Then IControllerFactory from RequestContext is identified.
5. Then the object of class that implements ControllerBase is created.
6. MyController.Execute method is called.
7. Then ControllerActionInvoker finds the action to invoke on the controller and executes that action on the controller and by calling the model associated view returns.
Submitted by: Administrator
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.
https://InterviewQuestionsAnswers.ORG.