controller
A class grouping related API actions, the older and still common way to build APIs.
A controller is a class (usually deriving from ControllerBase with [ApiController]) whose public action methods are routed by attributes.
Loading interactive…
Examples
[ApiController] [Route("api/[controller]")] public class BookmarksController : ControllerBase
See also