How Are POCO Controllers Discovered As Controllers?

asp.net-core

Solution

There are some conventions that we use to identify a POCO controller:

- The assembly must reference MVC

- The POCO controller class must have the suffix Controller

Problem

How does the framework know my POCO is a controller if it does not inherit from the `Controller` base class?

Original source