NonControllerAttribute Class¶
Indicates that the type and any derived types that this attribute is applied to is not considered a controller by the default controller discovery mechanism.
- Namespace
Microsoft.AspNetCore.Mvc
- Assemblies
- Microsoft.AspNetCore.Mvc.Core
Inheritance Hierarchy¶
System.Object
System.Attribute
Microsoft.AspNetCore.Mvc.NonControllerAttribute