Επεξεργασία

Κοινή χρήση μέσω


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.

Classes

HttpMethodConstraint

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

PageRouteHandler

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

RequestContext

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

Route

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

RouteBase

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

RouteCollection

Provides a collection of routes for ASP.NET routing.

RouteData

Encapsulates information about a route.

RouteTable

Stores the URL routes for an application.

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.

StopRoutingHandler

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

UrlRoutingHandler

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

UrlRoutingModule

Matches a URL request to a defined route.

VirtualPathData

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

Interfaces

IRouteConstraint

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

IRouteHandler

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

Enums

RouteDirection

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