Microsoft.AspNetCore.Mvc.ApplicationModels Namespace

Provides types that allow metaprogramming of an MVC app.

Classes

ActionModel

An application model for controller actions.

ApiConventionApplicationModelConvention

An IActionModelConvention that discovers

ApiExplorerModel

A model for ApiExplorer properties associated with a controller or action.

ApiVisibilityConvention

A IActionModelConvention that sets Api Explorer visibility.

ApplicationModel

A model for configuring controllers in an MVC application.

ApplicationModelProviderContext

A context object for IApplicationModelProvider.

AttributeRouteModel

A model for attribute routes.

ClientErrorResultFilterConvention

An IActionModelConvention that adds a IFilterMetadata to ActionModel that transforms IClientErrorActionResult.

ConsumesConstraintForFormFileParameterConvention

An IActionModelConvention that adds a ConsumesAttribute with multipart/form-data to controllers containing form file (FormFile) parameters.

ControllerModel

A model for configuring controllers.

InferParameterBindingInfoConvention

An IActionModelConvention that infers BindingSource for parameters.

InvalidModelStateFilterConvention

An IActionModelConvention that adds a IFilterMetadata to ActionModel that responds to invalid ModelState

PageApplicationModel

Application model component for RazorPages.

PageApplicationModelProviderContext

A context object for IPageApplicationModelProvider.

PageConventionCollection

Collection of IPageConvention.

PageHandlerModel

Represents a handler in a PageApplicationModel.

PageParameterModel

A model type for reading and manipulation properties and parameters representing a Page Parameter.

PagePropertyModel

Represents a property in a PageApplicationModel.

PageRouteMetadata

Metadata used to construct an endpoint route to the page.

PageRouteModel

A model component for routing RazorPages.

PageRouteModelProviderContext

A context object for IPageRouteModelProvider.

PageRouteTransformerConvention

An IPageRouteModelConvention that sets page route resolution to use the specified IOutboundParameterTransformer on PageRouteModel. This convention does not effect controller action routes.

ParameterModel

A type that represents a parameter.

ParameterModelBase

A model type for reading and manipulation properties and parameters.

Derived instances of this type represent properties and parameters for controllers, and Razor Pages.

PropertyModel

A type which is used to represent a property in a ControllerModel.

RouteTokenTransformerConvention

An IActionModelConvention that sets attribute routing token replacement to use the specified IOutboundParameterTransformer on ActionModel. This convention does not effect Razor page routes.

SelectorModel

A type that represents a selector.

Interfaces

IActionModelConvention

Allows customization of the ActionModel.

IApiExplorerModel

An interface that allows access to an ApiExplorerModel.

IApplicationModelConvention

Allows customization of the ApplicationModel.

IApplicationModelProvider

Builds or modifies an ApplicationModel for action discovery.

IBindingModel

An interface which is used to represent a something with a BindingInfo.

ICommonModel

ICommonModel interface.

IControllerModelConvention

Allows customization of the ControllerModel.

IFilterModel

Model that has a list of IFilterMetadata.

IPageApplicationModelConvention

Allows customization of the PageApplicationModel.

IPageApplicationModelPartsProvider

Provides parts that are used to construct a PageApplicationModel instance

IPageApplicationModelProvider

Builds or modifies an PageApplicationModelProviderContext for Razor Page discovery.

IPageConvention

Common interface for route and application model conventions that apply to Razor Pages.

IPageHandlerModelConvention

Allows customization of the PageHandlerModel.

IPageRouteModelConvention

Allows customization of the PageRouteModel.

IPageRouteModelProvider

Builds or modifies an PageRouteModelProviderContext for Razor Page routing.

IParameterModelBaseConvention

Allows customization of the properties and parameters on controllers and Razor Pages.

IParameterModelConvention

Allows customization of the ParameterModel.

IPropertyModel

An interface which is used to represent something with properties.

Remarks

For more information about MVC metaprogramming, see Work with the application model in ASP.NET Core.