What is routing? What are the three segments for routing is important?
Answer Posted / Ruchi Raghav
Routing in MVC is responsible for mapping incoming requests to their corresponding controller actions. The three important segments for routing are: 1) URL pattern - the URL structure that matches incoming requests, 2) controller - the class handling the request, and 3) action - the method within the controller responsible for processing the request.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers