Microsoft.AspNetCore.Mvc.Infrastructure Namespace

Classes

ActionContextAccessor
ActionDescriptorCollection

A cached collection of ActionDescriptor.

ActionDescriptorCollectionProvider

A base class for IActionDescriptorCollectionProvider which also provides an Microsoft.Extensions.Primitives.IChangeToken for reactive notifications of ActionDescriptor changes.

ActionResultObjectValueAttribute

Attribute annoted on ActionResult constructor, helper method parameters, and properties to indicate that the parameter or property is used to set the "value" for ActionResult.

Analyzers match this parameter by type name. This allows users to annotate custom results \ custom helpers with a user defined attribute without having to expose this type.

This attribute is intentionally marked Inherited=false since the analyzer does not walk the inheritance graph.

ActionResultStatusCodeAttribute

Attribute annoted on ActionResult constructor and helper method parameters to indicate that the parameter is used to set the "statusCode" for the ActionResult.

Analyzers match this parameter by type name. This allows users to annotate custom results \ custom helpers with a user defined attribute without having to expose this type.

This attribute is intentionally marked Inherited=false since the analyzer does not walk the inheritance graph.

AmbiguousActionException

An exception which indicates multiple matches in action selection.

CompatibilitySwitch<TValue>

Infrastructure supporting the implementation of CompatibilityVersion. This is an implementation of ICompatibilitySwitch suitable for use with the Microsoft.Extensions.Options.IOptions pattern. This is framework infrastructure and should not be used by application code.

ConfigureCompatibilityOptions<TOptions>

A base class for infrastructure that implements ASP.NET Core MVC's support for CompatibilityVersion. This is framework infrastructure and should not be used by application code.

ContentResultExecutor
DefaultOutputFormatterSelector
DefaultStatusCodeAttribute

Specifies the default status code associated with an ActionResult.

FileContentResultExecutor
FileResultExecutorBase
FileStreamResultExecutor
LocalRedirectResultExecutor
ModelStateInvalidFilter

A IActionFilter that responds to invalid ModelState. This filter is added to all types and actions annotated with ApiControllerAttribute. See ApiBehaviorOptions for ways to configure this filter.

MvcCompatibilityOptions

An options type for configuring the application CompatibilityVersion.

ObjectResultExecutor

Executes an ObjectResult to write to the response.

OutputFormatterSelector

Selects an IOutputFormatter to write a response to the current request.

PhysicalFileResultExecutor
PhysicalFileResultExecutor.FileMetadata
ProblemDetailsFactory

Factory to produce ProblemDetails and ValidationProblemDetails.

RedirectResultExecutor
RedirectToActionResultExecutor
RedirectToPageResultExecutor
RedirectToRouteResultExecutor
VirtualFileResultExecutor

Interfaces

IActionContextAccessor
IActionDescriptorChangeProvider

Provides a way to signal invalidation of the cached collection of ActionDescriptor from an IActionDescriptorCollectionProvider.

IActionDescriptorCollectionProvider

Provides the currently cached collection of ActionDescriptor.

IActionInvokerFactory

Defines an interface for creating an IActionInvoker for the current request.

IActionResultExecutor<TResult>

Defines an interface for a service which can execute a particular kind of IActionResult by manipulating the HttpResponse.

IActionResultTypeMapper

Provides a mapping from the return value of an action to an IActionResult for request processing.

IActionSelector

Defines an interface for selecting an MVC action to invoke for the current request.

IApiBehaviorMetadata

A IFilterMetadata that indicates that a type and all derived types are used to serve HTTP API responses.

Controllers decorated with this attribute (ApiControllerAttribute) are configured with features and behavior targeted at improving the developer experience for building APIs.

IClientErrorActionResult

An IStatusCodeActionResult that can be transformed to a more descriptive client error.

IClientErrorFactory

A factory for producing client errors. This contract is used by controllers annotated with ApiControllerAttribute to transform IClientErrorActionResult.

ICompatibilitySwitch

Defines a compatibility switch. This is framework infrastructure and should not be used by application code.

IConvertToActionResult

Defines the contract to convert a type to an IActionResult during action invocation.

IHttpRequestStreamReaderFactory

Creates TextReader instances for reading from Body.

IHttpResponseStreamWriterFactory

Creates TextWriter instances for writing to Body.

IParameterInfoParameterDescriptor

A ParameterDescriptor for action parameters.

IPropertyInfoParameterDescriptor

A ParameterDescriptor for bound properties.

IStatusCodeActionResult

Represents an IActionResult that when executed will produce an HTTP response with the specified StatusCode.