Delen via


Microsoft.AspNetCore.Mvc.Controllers Namespace

Provides types to discover, initialize, and run MVC controllers.

Classes

ControllerActionDescriptor

A descriptor for an action of a controller.

ControllerActivatorProvider

Provides methods to create an MVC controller.

ControllerBoundPropertyDescriptor

A descriptor for model bound properties of a controller.

ControllerFactoryProvider
ControllerFeature

The list of controllers types in an MVC application. The ControllerFeature can be populated using the ApplicationPartManager that is available during startup at PartManager and PartManager or at a later stage by requiring the ApplicationPartManager as a dependency in a component.

ControllerFeatureProvider

Discovers controllers from a list of ApplicationPart instances.

ControllerParameterDescriptor

A descriptor for method parameters of an action method.

DefaultControllerActivator

IControllerActivator that uses type activation to create controllers.

DefaultControllerFactory

Default implementation for IControllerFactory.

ServiceBasedControllerActivator

A IControllerActivator that retrieves controllers as services from the request's IServiceProvider.

Interfaces

IControllerActivator

Provides methods to create a controller.

IControllerActivatorProvider

Provides methods to create a MVC controller.

IControllerFactory

Provides methods for creation and disposal of controllers.

IControllerFactoryProvider

Provides methods to create and release a controller.

Remarks

For more information on controllers, Handle requests with controllers.