Matches a URL request to a defined route.
Assembly: System.Web (in System.Web.dll)
Thetype exposes the following members.
|Dispose||Disposes of the resources (other than memory) that are used by the module.|
|Equals(Object)||Determines whether the specified Object is equal to the current Object. (Inherited from Object.)|
|Finalize||Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)|
|GetHashCode||Serves as a hash function for a particular type. (Inherited from Object.)|
|GetType||Gets the Type of the current instance. (Inherited from Object.)|
|Init||Initializes a module and prepares it to handle requests.|
|MemberwiseClone||Creates a shallow copy of the current Object. (Inherited from Object.)|
|PostMapRequestHandler||Obsolete. Assigns the HTTP handler for the current request to the context.|
|PostResolveRequestCache||Matches the HTTP request to a route, retrieves the handler for that route, and sets the handler as the HTTP handler for the current request.|
|ToString||Returns a string that represents the current object. (Inherited from Object.)|
The class matches an HTTP request to a route in an ASP.NET application. The module iterates through all the routes in the RouteCollection property and searches for a route that has a URL pattern that matches the format of the HTTP request. When the module finds a matching route, it retrieves the IRouteHandler object for that route. From the route handler, the module gets an IHttpHandler object and uses that as the HTTP handler for the current request.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.