Microsoft.AspNetCore.Routing Namespace

Classes

DefaultInlineConstraintResolver

The default implementation of IInlineConstraintResolver. Resolves constraints by parsing a constraint key and constraint arguments, using a map to resolve the constraint type, and calling an appropriate constructor for the constraint type.

InlineRouteParameterParser
RequestDelegateRouteBuilderExtensions
Route
RouteBase
RouteBuilder
RouteCollection
RouteConstraintBuilder

A builder for produding a mapping of keys to see IRouteConstraint.

RouteConstraintMatcher
RouteContext

A context object for RouteAsync(RouteContext).

RouteCreationException

The exception that is thrown for invalid routes or constraints.

RouteData

Information about the current routing path.

RouteHandler
RouteOptions
RouteValueDictionary

An IDictionary<TKey, TValue> type for route values.

RouteValueEqualityComparer

An IEqualityComparer<T> implementation that compares objects as-if they were route value strings.

RoutingFeature
RoutingHttpContextExtensions

Extension methods for HttpContext related to routing.

VirtualPathContext

A context for virtual path generation operations.

VirtualPathData

Represents information about the route and virtual path that are the result of generating a URL with the ASP.NET routing middleware.

Structs

RouteData.RouteDataSnapshot

A snapshot of the state of a RouteData instance.

RouteValueDictionary.Enumerator

Interfaces

IInlineConstraintResolver

Defines an abstraction for resolving inline constraints as instances of IRouteConstraint.

INamedRouter
IRouteBuilder

Defines a contract for a route builder in an application. A route builder specifies the routes for an application.

IRouteCollection
IRouteConstraint

Defines the contract that a class must implement in order to check whether a URL parameter value is valid for a constraint.

IRouteHandler

Defines a contract for a handler of a route.

IRouter
IRoutingFeature

A feature interface for routing functionality.

Enums

RouteDirection

Indicates whether ASP.NET routing is processing a URL from an HTTP request or generating a URL.