This chapter gives high-level architecture flow of MVC Framework. Below diagram depicts how MVC application execution takes place when there is a certain request from the client.
MVC Flow Diagram
Below are the steps included in Flow:
Step 1 − Client browser will send a request to the MVC Application.
Step 2 − Global.ascx will receive this request and performs routing based on the URL of the incoming request using the RouteTable, RouteData, UrlRoutingModule and MvcRouteHandler objects.
Step 3 − this routing operation calls the suitable controller and executes it using the IControllerFactory object and MvcHandler object's Execute method.
Step 4 − Controller will process the data using Model and invokes the suitable method using ControllerActionInvoker object.
Step 5 − Processed Model will then be passed to the View to render the final output.