InterviewSolution
| 1. |
What is the flow of the Request in MVC application? |
|
Answer» The high-level flow of the request with the following DIAGRAM: When the request is made by any client then at first it goes to the URL Routing, where the URL is compared to the routes that are present in the routing table. This helps to identify the controller and action method NAME. Based on the identified controller action method is called by passing the required parameters (if any). From where Model is called that interacts with Database to get the required RESPONSE and returns to the controller action method. The action method parses the response in the requested Action result format and returns BACK to View to present to the client. |
|