InterviewSolution
| 1. |
What is ASP.NET Web API routing? |
|
Answer» Routing is the most important part of ASP.NET Web API. Routing is a way how Web API MATCHES a URI to an action. It is basically a process that decides which action and controller should be called. The controller is basically a class that HANDLES all HTTP requests. All public methods of CONTROLLERS are basically known as action methods or just actions. Whenever a Web API framework receives any type of request, it routes that request to action. There are basically TWO ways to implement routing in Web API as given below: |
|