Interviewer And Interviewee Guide

ASP.Net MVC Interview Question:

Explain ASP.NET MVC Request Life Cycle?

Submitted by: Administrator
Following 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

Read Online ASP.Net MVC Job Interview Questions And Answers
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.