Export (0) Print
Expand All

System.Web.Routing Namespace

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.

  Class Description
Public class HttpMethodConstraint Enables you to define which HTTP verbs are allowed when ASP.NET routing determines whether a URL matches a route.
Public class PageRouteHandler Provides properties and methods for defining how a URL maps to a physical file.
Public class RequestContext Encapsulates information about an HTTP request that matches a defined route.
Public class Route Provides properties and methods for defining a route and for obtaining information about the route.
Public class RouteBase Serves as the base class for all classes that represent an ASP.NET route.
Public class RouteCollection Provides a collection of routes for ASP.NET routing.
Public class RouteData Encapsulates information about a route.
Public class RouteTable Stores the URL routes for an application.
Public class RouteValueDictionary 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.
Public class StopRoutingHandler Provides a way to specify that ASP.NET routing should not handle requests for a URL pattern.
Public class UrlRoutingHandler Serves as base class for classes that enable you to customize how ASP.NET routing processes a request.
Public class UrlRoutingModule Matches a URL request to a defined route.
Public class VirtualPathData Represents information about the route and virtual path that are the result of generating a URL with the ASP.NET routing framework.

  Interface Description
Public interface IRouteConstraint Defines the contract that a class must implement in order to check whether a URL parameter value is valid for a constraint.
Public interface IRouteHandler Defines the contract that a class must implement in order to process a request for a matching route pattern.

  Enumeration Description
Public enumeration RouteDirection Indicates whether ASP.NET routing is processing a URL from a client or generating a URL.
Show:
© 2014 Microsoft