vikash mishra
What are The Project Life Cycle in Mvc 5?
By vikash mishra in Web Development on Aug 02 2016
  • Prabhu Narayanan
    May, 2018 17

    Request >> Routing >> Controller Initialization >> action execution >> view >> result execution >> response

    • 3
  • Kalyani Shevale
    Dec, 2018 27

    Creating Response object: - The request object creation has four major steps. Below is the detail explanation of the same.Step 1 Fill route: - MVC requests are mapped to route tables which in turn specify which controller and action to be invoked. So if the request is the first request the first thing is to fill the route table with routes collection. This filling of route table happens in the global.asax file.Step 2 Fetch route:- Depending on the URL sent "UrlRoutingModule" searches the route table to create "RouteData" object which has the details of which controller and action to invoke.Step 3 Request context created: - The "RouteData" object is used to create the "RequestContext" object.Step 4 Controller instance created: - This request object is sent to "MvcHandler" instance to create the controller class instance. Once the controller class object is created it calls the "Execute" method of the controller class.Creating Response object: - This phase has two steps executing the action and finally sending the response as a result to the view.Step 5 Execute Action: - The "ControllerActionInvoker" determines which action to executed and executes the action.Step 6 Result sent: - The action method executes and creates the type of result which can be a view result , file result , JSON result etc.

    • 1
  • Sardar Mudassar Ali Khan
    Feb, 2023 28

    The overall MVC pipeline and the life of an HTTP request as it travels through the MVC framework in ASP.NET. At a high level, a life cycle is simply a series of steps or events used to handle some type of request or to change an application state. You may already be familiar with various framework life cycles, the concept is not unique to MVC.

    learn more from given below Url:
    https://www.dotnettricks.com/learn/mvc/aspnet-mvc-request-life-cycle

    • 0
  • Manav Pandya
    Jan, 2018 16

    Page life cycle defines its execution flow that shows , when we execute our application , till than which methods or even occur in sqquence

    • 0
  • Subhashkumar Yadav
    Feb, 2017 22

    http://blog.thedigitalgroup.com/chetanv/2015/06/30/a-detailed-walkthrough-of-asp-net-mvc-request-life-cycle/

    • 0


Most Popular Job Functions


MOST LIKED QUESTIONS