CHAPTER 8

image

Routing

In our ASP.NET Web API applications, incoming HTTP requests are handled by controller action methods. When an incoming request is received, it is routed to a proper action method, and the routing system provides the fundamental layer for this movement.

The routing feature in ASP.NET Web API is one of the key components of the whole framework. The HTTP request is being retrieved by the routing system, and this routing system differs with the choice of the hosting environment (ASP.NET Host, Self-Host, etc.) There are a lot of implementation details involved in this process. We will go through them lightly rather than in depth, ...

Get Pro ASP.NET Web API: HTTP Web Services in ASP.NET now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.