Base Controller
When multiple page controllers share duplicate logic, a common practice is to move that logic to a base page controller which each page controller can inherit from. This is one way of implementing Centralized Request Logic.
ASP.NET provides a special mechanism for implementing base controllers in scripts, called Code Behind.
When the base controller class begins to have special case logic in it for types of requests, it might be a good idea to consider a Front Controller instead.
Page Controllers in Modern Web Applications
The Page Controller pattern reflects one of the basic ways web applications respond to requests. A particular URL or application action is connected to code that handles the request, performs the necessary work, and returns a response to the user.
Modern frameworks may organize this differently through routes, controllers, request handlers, or server-side components, but the basic idea remains familiar. A specific part of the application is responsible for coordinating the work required for a particular page or action.
This relationship between URLs, requests, application logic, and responses is part of the wider architecture of web applications. Different applications may use a Page Controller, a Front Controller, or other approaches depending on their size and the way requests are organized.
Modern browser-based applications can extend this idea further. Some actions may involve a request to a server, while others can be handled directly in the browser. An online application can therefore combine server-side request handling with client-side interfaces and processing.