Advertisement

API Controllers

  • Adam Freeman
Chapter

Abstract

Not all controllers are used to send HTML documents to clients. There are also API controllers, which are used to provide access to an application’s data. This is a feature that was previously provided through the separate Web API framework but has now been integrated into ASP.NET Core MVC. In this chapter, I explain the role that API controllers play in a web application, describe the problems they solve, and demonstrate how they are created, tested, and used. Table 20-1 puts API controllers in context.

Keywords

Action Method String Response Query String Public Class Board Room 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Copyright information

© Adam Freeman 2016

Authors and Affiliations

  • Adam Freeman
    • 1
  1. 1.Milton Keynes MK6 3PAUK

Personalised recommendations