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 the default hash function. (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.