CHAPTER 9
Controllers and Actions
If we think of the ASP.NET Web API framework as a human body, the controller and actions part is the heart of that body. Many components of the Web API framework are glued together by the ApiController class, which is the default controller implementation provided out of the box. Filters, model binding, formatters, action selection—these are all part of the controller execution process.
In this chapter, we will first explain how a request comes into a controller. Then we will take a different approach and get started with the hard way: implementing our own controller to understand what is really going on. Later ...
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.