Controllers Purpose: Handle HTTP requests. Interact with the model (data layer). Select appropriate views for rendering responses. Naming: End with “Controller” (e.g., HomeController). Inheritance: Inherit from Controller (or ControllerBase for APIs). Action Methods: Public methods within controllers that handle specific requests. Attribute Routing: Use [Route], [HttpGet], [HttpPost], etc., to define routes.