Dela via


Microsoft.AspNetCore.Routing.Template Namespace

Contains types used to define routes using RouteTemplate. RouteTemplate and the types in this namespace are a legacy API. The recommended alternative is RoutePattern and the other types in RoutePattern.

Classes

InlineConstraint

The parsed representation of an inline constraint in a route parameter.

RoutePrecedence

Computes precedence for a route template.

RouteTemplate

Represents the template for a route.

TemplateBinder

Supports processing and binding parameter values in a route template.

TemplateBinderFactory

A factory used to create TemplateBinder instances.

TemplateMatcher

Supports matching paths to route templates and extracting parameter values.

TemplateParser

Provides methods for parsing route template strings.

TemplatePart

Represents a part of a route template segment.

TemplateSegment

Represents a segment of a route template.

TemplateValuesResult

The values used as inputs for constraints and link generation.

Remarks

For more information about routing, see Routing in ASP.NET Core.