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
Read Online ASP.Net MVC Job Interview Questions And Answers
Top ASP.Net MVC Questions
☺ | What is ASP.NET MVC? |
☺ | What is repository pattern in MVC.NET? |
☺ | Explain the page lifecycle of an ASP.NET MVC? |
☺ | Explain program to call the js function when the change is being made in the Dropdown list made in ASP.NET MVC? |
☺ | Explain significance of routing? |
Top Dot Net Technologies Categories
☺ | MSF Interview Questions. |
☺ | .Net Architecture Interview Questions. |
☺ | ASP.Net MVC Interview Questions. |
☺ | Entity Framework Interview Questions. |
☺ | C# (Sharp) Programming Language Interview Questions. |