Share via


Microsoft.AspNetCore.Http.Metadata Namespace

Classes

Name Description
AcceptsMetadata

Metadata that specifies the supported request content types.

FormMappingOptionsMetadata

Supports configuring the behavior of form mapping in a minimal API.

Interfaces

Name Description
IAcceptsMetadata

Interface for accepting request media types.

IAllowCookieRedirectMetadata

Metadata that indicates the endpoint should allow cookie-based authentication redirects. This is normally the default behavior, but it exists to override IDisableCookieRedirectMetadata no matter the order. When present, the cookie authentication handler will prefer browser login or access denied redirects over 401 and 403 status codes.

IDisableCookieRedirectMetadata

Metadata that indicates the endpoint should disable cookie-based authentication redirects typically because it is intended for API clients rather than direct browser navigation.

IAllowCookieRedirectMetadata overrides this no matter the order.

When present and not overridden, the cookie authentication handler will prefer using 401 and 403 status codes over redirecting to the login or access denied paths.

IDisableHttpMetricsMetadata

A marker interface which can be used to identify metadata that disables HTTP request duration metrics.

IDisableValidationMetadata

A marker interface which can be used to identify metadata that disables validation on a given endpoint.

IEndpointDescriptionMetadata

Defines a contract used to specify a description in Metadata.

IEndpointMetadataProvider

Indicates that a type provides a static method that provides Endpoint metadata when declared as a parameter type or the returned type of an Endpoint route handler delegate.

IEndpointParameterMetadataProvider

Indicates that a type provides a static method that provides Endpoint metadata when declared as the parameter type of an Endpoint route handler delegate.

IEndpointSummaryMetadata

Defines a contract used to specify a summary in Metadata.

IFormOptionsMetadata

Interface marking attributes that specify limits associated with reading a form.

IFromBodyMetadata

Interface marking attributes that specify a parameter should be bound using the request body.

IFromFormMetadata

Interface marking attributes that specify a parameter should be bound using a form field from the request body.

IFromHeaderMetadata

Interface marking attributes that specify a parameter should be bound using the request headers.

IFromQueryMetadata

Interface marking attributes that specify a parameter should be bound using the request query string.

IFromRouteMetadata

Interface marking attributes that specify a parameter should be bound using route-data from the current request.

IFromServiceMetadata

Interface marking attributes that specify a parameter should be bound using request services.

IParameterBindingMetadata

Exposes metadata about the parameter binding details associated with a parameter in the endpoints handler.

IProducesResponseTypeMetadata

Defines a contract for outline the response type returned from an endpoint.

IRequestSizeLimitMetadata

Interface marking attributes that specify the maximum allowed size of the request body.

IRouteDiagnosticsMetadata

Interface for specifing diagnostics text for a route.

ISkipStatusCodePagesMetadata

Defines a contract used to specify metadata for skipping the StatusCodePage middleware in Metadata.

ITagsMetadata

Defines a contract used to specify a collection of tags in Metadata.