Discovering Generic Controllers in ASP.NET Core
Short Answer Implement IApplicationFeatureProvider<ControllerFeature>. Question and Answer Does anyone know what “service” interface is responsible for [discovering all available controllers]? The ControllerFeatureProvider is responsible for that. And does anyone know of a way to make ASP.NET Core “dump” the names of all the controllers it discovered? Do that within ControllerFeatureProvider.IsController(TypeInfo typeInfo). Example MyControllerFeatureProvider.cs using System; … Read more