Architecture

MVC Flow Diagram

mvc_flow

Flow Steps

  • The client browser sends request to the MVC Application.
  • Global.ascx receives this request and performs routing based on the URL of incoming request using the RouteTable, RouteData, UrlRoutingModule and MvcRouteHandler objects.
  • This routing operation calls the appropriate controller and executes it using the IControllerFactory object and MvcHandler object’s Execute method.
  • The Controller processes the data using Model and invokes the appropriate method using ControllerActionInvoker object
  • The processed Model is then passed to the View which in turn renders the final output.