Table of Contents

Namespace System.Web.Http.Routing

Classes

DefaultDirectRouteProvider

A default implementation of IDirectRouteProvider.

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.

DirectRouteFactoryContext

Represents a context that supports creating a direct route.

HttpMethodConstraint

Enables you to define which HTTP verbs are allowed when ASP.NET routing determines whether a URL matches a route.

HttpRoute

Represents a route class for self-host (i.e. hosted outside of ASP.NET).

HttpRouteData

Encapsulates information regarding the HTTP route.

HttpRouteDataExtensions

Removes all optional parameters that do not have a value from the route data.

HttpRouteValueDictionary

Represents a route class for self-host of specified key/value pairs.

HttpVirtualPathData

Presents the data regarding the HTTP virtual path.

RouteEntry

Represents a named route.

RouteFactoryAttribute

Represents an attribute route that may contain custom constraints.

StopRoutingHandler

Represents a handler that specifies routing should not handle requests for a route template. When a route provides this class as a handler, requests matching against the route will be ignored.

UrlHelper

Represents a factory for creating URLs.

Interfaces

IDirectRouteBuilder

Defines a builder that creates direct routes to actions (attribute routes).

IDirectRouteFactory

Defines a factory that creates a route directly to a set of action descriptors (an attribute route).

IDirectRouteProvider

Defines a provider for routes that directly target action descriptors (attribute routes).

IHttpRoute

IHttpRoute defines the interface for a route expressing how to map an incoming HttpRequestMessage to a particular controller and action.

IHttpRouteConstraint

Represents a base class route constraint.

IHttpRouteData

Provides information about a route.

IHttpRouteInfoProvider

Provides information for defining a route.

IHttpVirtualPathData

Defines the properties for HTTP route.

IInlineConstraintResolver

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

IRoutePrefix

Defines a route prefix.

Enums

HttpRouteDirection

Specifies an enumeration of route direction.