⟩ Explain ASP.NET MVC Request Life Cycle?
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.