Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

Microsoft.AspNetCore.Http.Abstractions

System Library

Author Microsoft
Version 10.0.1
Tags

Public Types

Microsoft.​AspNetCore.​Antiforgery

A marker interface which can be used to identify antiforgery metadata.

Microsoft.​AspNetCore.​Builder

A base class for building an new <see cref="T:Microsoft.AspNetCore.Http.Endpoint" /> .
Defines a class that provides the mechanisms to configure an application's request pipeline.
Builds conventions that will be used for customization of <see cref="T:Microsoft.AspNetCore.Builder.EndpointBuilder" /> instances.
Extension methods for the <see cref="T:Microsoft.AspNetCore.Builder.Extensions.MapMiddleware" /> .
Extension methods for the <see cref="T:Microsoft.AspNetCore.Builder.Extensions.MapWhenMiddleware" /> .
Extension methods for adding terminal middleware.
Extension methods for adding middleware.
Extension methods for adding typed middleware.
Extension methods for <see cref="T:Microsoft.AspNetCore.Builder.IApplicationBuilder" /> .
Extension methods for <see cref="T:Microsoft.AspNetCore.Builder.IApplicationBuilder" /> .

Microsoft.​AspNetCore.​Builder.​Extensions

Represents a middleware that maps a request path to a sub-request pipeline.
class MapOptions
Options for the <see cref="T:Microsoft.AspNetCore.Builder.Extensions.MapMiddleware" /> .
Represents a middleware that runs a sub-request pipeline when a given predicate is matched.
Options for the <see cref="T:Microsoft.AspNetCore.Builder.Extensions.MapWhenMiddleware" /> .
Represents a middleware that extracts the specified path base from request path and postpend it to the request path base.

Microsoft.​AspNetCore.​Cors.​Infrastructure

interface ICorsMetadata
A marker interface which can be used to identify CORS metadata.

Microsoft.​AspNetCore.​Http

Specifies that a route handler delegate's parameter represents a structured parameter list.
Represents an HTTP request error
Represents the underlying connection for a request.
Defines settings used to create a cookie.
Determines how cookie security properties are set.
Provides a default implementation for wrapping the <see cref="P:Microsoft.AspNetCore.Http.DefaultEndpointFilterInvocationContext.HttpContext" /> and parameters provided to a route handler.
class Endpoint
Represents a logical endpoint in an application.
A delegate that is applied as a filter on a route handler.
Represents the information accessible via the route handler filter API when the user is constructing a new route handler.
Provides an abstraction for wrapping the <see cref="P:Microsoft.AspNetCore.Http.EndpointFilterInvocationContext.HttpContext" /> and arguments provided to a route handler.
Extension methods to expose Endpoint on HttpContext.
A collection of arbitrary metadata associated with an endpoint.
Provides correct handling for FragmentString value when needed to generate a URI string
Contains extension methods for modifying an <see cref="T:Microsoft.AspNetCore.Http.IHeaderDictionary" /> instance.
struct HostString
Represents the host portion of a URI can be used to construct URI's properly formatted and encoded for use in HTTP headers.
class HttpContext
Encapsulates all HTTP-specific information about an individual HTTP request.
class HttpMethods
Contains methods to verify the request method of an HTTP request.
class HttpProtocol
Contains methods to verify the request protocol version of an HTTP request.
class HttpRequest
Represents the incoming side of an individual HTTP request.
class HttpResponse
Represents the outgoing side of an individual HTTP request.
Convenience methods for writing to the response.
A <see cref="T:Microsoft.AspNetCore.Mvc.ProblemDetails" /> for validation errors.
interface IBindableFromHttpContext<​TSelf>
Defines a mechanism for creating an instance of a type from an <see cref="T:Microsoft.AspNetCore.Http.HttpContext" /> when binding parameters for an endpoint route handler delegate.
Defines a contract that represents the result of an HTTP endpoint that contains a <see cref="P:Microsoft.AspNetCore.Http.IContentTypeHttpResult.ContentType" /> .
interface IEndpointFilter
Provides an interface for implementing a filter targetting a route handler.
interface IFileHttpResult
Defines a contract that represents the file result of an HTTP endpoint.
Provides access to the current <see cref="P:Microsoft.AspNetCore.Http.IHttpContextAccessor.HttpContext" /> , if one is available.
Provides methods to create and dispose of <see cref="T:Microsoft.AspNetCore.Http.HttpContext" /> instances.
interface IMiddleware
Defines middleware that can be added to the application's request pipeline.
interface IMiddlewareFactory
Provides methods to create middleware.
interface INestedHttpResult
Defines a contract that represents the result of an HTTP endpoint that contains a nested <see cref="T:Microsoft.AspNetCore.Http.IResult" /> type.
Defines a type that provide functionality to create a <see cref="T:Microsoft.AspNetCore.Mvc.ProblemDetails" /> response.
Defines a type that write a <see cref="T:Microsoft.AspNetCore.Mvc.ProblemDetails" /> payload to the current <see cref="P:Microsoft.AspNetCore.Http.HttpContext.Response" /> .
interface IResult
Defines a contract that represents the result of an HTTP endpoint.
Defines a contract that represents the result of an HTTP endpoint that contains a <see cref="P:Microsoft.AspNetCore.Http.IStatusCodeHttpResult.StatusCode" /> .
interface IValueHttpResult
Defines a contract that represents the result of an HTTP endpoint that contains an object <see cref="P:Microsoft.AspNetCore.Http.IValueHttpResult.Value" /> .
interface IValueHttpResult<​TValue>
Defines a contract that represents the result of an HTTP endpoint that contains a <see cref="P:Microsoft.AspNetCore.Http.IValueHttpResult`1.Value" /> .
struct PathString
Provides correct escaping for Path and PathBase values when needed to reconstruct a request or redirect URI string
Represent the current problem details context for the request.
Specifies the type of the value and status code returned by the action.
struct QueryString
Provides correct handling for QueryString value when needed to reconstruct a request or redirect URI string
A function that can process an HTTP request.
The result of creating a <see cref="P:Microsoft.AspNetCore.Http.RequestDelegateResult.RequestDelegate" /> from a <see cref="T:System.Delegate" />
HttpRequest extensions for working with request trailing headers.
Contains extension methods for modifying the `Trailer` response header and trailing headers in an <see cref="T:Microsoft.AspNetCore.Http.HttpResponse" /> .
class StatusCodes
A collection of constants for <see href="http://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml">HTTP status codes</see> .
Manages the establishment of WebSocket connections for a specific HTTP request.

Microsoft.​AspNetCore.​Http.​Features

interface IEndpointFeature
A feature interface for endpoint routing. Use <see cref="P:Microsoft.AspNetCore.Http.HttpContext.Features" /> to access an instance associated with the current request.
A feature interface for routing values. Use <see cref="P:Microsoft.AspNetCore.Http.HttpContext.Features" /> to access the values associated with the current request.

Microsoft.​AspNetCore.​Http.​HttpResults

Represents an <see cref="T:Microsoft.AspNetCore.Http.IResult" /> that when executed will do nothing.

Microsoft.​AspNetCore.​Http.​Metadata

Metadata that specifies the supported request content types.
Supports configuring the behavior of form mapping in a minimal API.
interface IAcceptsMetadata
Interface for accepting request media types.
Metadata that indicates the endpoint should allow cookie-based authentication redirects. This is normally the default behavior, but it exists to override <see cref="T:Microsoft.AspNetCore.Http.Metadata.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.
Metadata that indicates the endpoint should disable cookie-based authentication redirects typically because it is intended for API clients rather than direct browser navigation. <see cref="T:Microsoft.AspNetCore.Http.Metadata.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.
A marker interface which can be used to identify metadata that disables HTTP request duration metrics.
A marker interface which can be used to identify metadata that disables validation on a given endpoint.
Defines a contract used to specify a description in <see cref="P:Microsoft.AspNetCore.Http.Endpoint.Metadata" /> .
Indicates that a type provides a static method that provides <see cref="T:Microsoft.AspNetCore.Http.Endpoint" /> metadata when declared as a parameter type or the returned type of an <see cref="T:Microsoft.AspNetCore.Http.Endpoint" /> route handler delegate.
Indicates that a type provides a static method that provides <see cref="T:Microsoft.AspNetCore.Http.Endpoint" /> metadata when declared as the parameter type of an <see cref="T:Microsoft.AspNetCore.Http.Endpoint" /> route handler delegate.
Defines a contract used to specify a summary in <see cref="P:Microsoft.AspNetCore.Http.Endpoint.Metadata" /> .
Interface marking attributes that specify limits associated with reading a form.
interface IFromBodyMetadata
Interface marking attributes that specify a parameter should be bound using the request body.
interface IFromFormMetadata
Interface marking attributes that specify a parameter should be bound using a form field from the request body.
Interface marking attributes that specify a parameter should be bound using the request headers.
interface IFromQueryMetadata
Interface marking attributes that specify a parameter should be bound using the request query string.
interface IFromRouteMetadata
Interface marking attributes that specify a parameter should be bound using route-data from the current request.
Interface marking attributes that specify a parameter should be bound using request services.
Exposes metadata about the parameter binding details associated with a parameter in the endpoints handler.
Defines a contract for outline the response type returned from an endpoint.
Interface marking attributes that specify the maximum allowed size of the request body.
Interface for specifing diagnostics text for a route.
Defines a contract used to specify metadata for skipping the StatusCodePage middleware in <see cref="P:Microsoft.AspNetCore.Http.Endpoint.Metadata" /> .
interface ITagsMetadata
Defines a contract used to specify a collection of tags in <see cref="P:Microsoft.AspNetCore.Http.Endpoint.Metadata" /> .

Microsoft.​AspNetCore.​Mvc

A machine-readable format for specifying errors in HTTP API responses based on <see href="https://tools.ietf.org/html/rfc7807" /> .

Microsoft.​AspNetCore.​Routing

An <see cref="T:System.Collections.Generic.IDictionary`2" /> type for route values.