Microsoft.AspNetCore.Routing Namespace

namespace Microsoft.AspNetCore.Routing

Interfaces

interface IInlineConstraintResolver
Defines an abstraction for resolving inline constraints as instances of Microsoft.AspNetCore.Routing.IRouteConstraint.
interface INamedRouter
interface IRouteBuilder
Defines a contract for a route builder in an application. A route builder specifies the routes for an application.
interface IRouteCollection
interface IRouteConstraint
Defines the contract that a class must implement in order to check whether a URL parameter value is valid for a constraint.
interface IRouteHandler
Defines a contract for a handler of a route.
interface IRouter
interface IRoutingFeature
A feature interface for routing functionality.

Enumerations

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

Classes

class DefaultInlineConstraintResolver
The default implementation of Microsoft.AspNetCore.Routing.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.
class InlineRouteParameterParser
class RequestDelegateRouteBuilderExtensions
class Route
class RouteBase
class RouteBuilder
class RouteCollection
class RouteConstraintBuilder
A builder for produding a mapping of keys to see Microsoft.AspNetCore.Routing.IRouteConstraint.
class RouteConstraintMatcher
class RouteContext
A context object for Microsoft.AspNetCore.Routing.IRouter.RouteAsync(Microsoft.AspNetCore.Routing.RouteContext).
class RouteData
Information about the current routing path.
class RouteHandler
class RouteOptions
class RouteValueDictionary
An System.Collections.Generic.IDictionary`2 type for route values.
class RouteValueEqualityComparer
An System.Collections.Generic.IEqualityComparer`1 implementation that compares objects as-if they were route value strings.
class RoutingHttpContextExtensions
Extension methods for Microsoft.AspNetCore.Http.HttpContext related to routing.
class VirtualPathContext
A context for virtual path generation operations.
class VirtualPathData
Represents information about the route and virtual path that are the result of generating a URL with the ASP.NET routing middleware.

Structures

struct RouteDataSnapshot
A snapshot of the state of a Microsoft.AspNetCore.Routing.RouteData instance.
struct Enumerator