December 2019
Intermediate to advanced
510 pages
11h 33m
English
As already mentioned, controllers are classes, therefore they can extend other types, including other controllers. This technique can be applied so that we can reuse a particular implementation or feature. In general, the controllers extend the Controller or ControllerBase classes, which are part of the ASP.NET Core framework. These base classes provide some utilities to manage requests and responses on behalf of the controller. First of all, let's analyze the difference between the Controller and ControllerBase classes: