System.Web.Routing Namespace

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

The System.Web.Routing namespace provides classes that are used with URL routing, which enables you to use URLs that do not map to a physical file.

ClassDescription
System_CAPS_pubclassHttpMethodConstraint

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

System_CAPS_pubclassPageRouteHandler

Provides properties and methods for defining how a URL maps to a physical file.

System_CAPS_pubclassRequestContext

Encapsulates information about an HTTP request that matches a defined route.

System_CAPS_pubclassRoute

Provides properties and methods for defining a route and for obtaining information about the route.

System_CAPS_pubclassRouteBase

Serves as the base class for all classes that represent an ASP.NET route.

System_CAPS_pubclassRouteCollection

Provides a collection of routes for ASP.NET routing.

System_CAPS_pubclassRouteData

Encapsulates information about a route.

System_CAPS_pubclassRouteTable

Stores the URL routes for an application.

System_CAPS_pubclassRouteValueDictionary

Represents a case-insensitive collection of key/value pairs that you use in various places in the routing framework, such as when you define the default values for a route or when you generate a URL that is based on a route.

System_CAPS_pubclassStopRoutingHandler

Provides a way to specify that ASP.NET routing should not handle requests for a URL pattern.

System_CAPS_pubclassUrlRoutingHandler

Serves as base class for classes that enable you to customize how ASP.NET routing processes a request.

System_CAPS_pubclassUrlRoutingModule

Matches a URL request to a defined route.

System_CAPS_pubclassVirtualPathData

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

InterfaceDescription
System_CAPS_pubinterfaceIRouteConstraint

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

System_CAPS_pubinterfaceIRouteHandler

Defines the contract that a class must implement in order to process a request for a matching route pattern.

EnumerationDescription
System_CAPS_pubenumRouteDirection

Indicates whether ASP.NET routing is processing a URL from a client or generating a URL.

Return to top
Show: