UrlRoutingModule
UrlRoutingModule
UrlRoutingModule
UrlRoutingModule
Class
Definition
Matches a URL request to a defined route.
public ref class UrlRoutingModule : System::Web::IHttpModule
public class UrlRoutingModule : System.Web.IHttpModule
type UrlRoutingModule = class
interface IHttpModule
Public Class UrlRoutingModule
Implements IHttpModule
- Inheritance
- Implements
Remarks
The UrlRoutingModule 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.
Constructors
UrlRoutingModule() UrlRoutingModule() UrlRoutingModule() UrlRoutingModule() |
Initializes a new instance of the UrlRoutingModule class. |
Properties
RouteCollection RouteCollection RouteCollection RouteCollection |
Gets or sets the collection of defined routes for the ASP.NET application. |
Methods
Explicit Interface Implementations
IHttpModule.Dispose() IHttpModule.Dispose() IHttpModule.Dispose() IHttpModule.Dispose() |
For a description of this member, see Dispose(). |
IHttpModule.Init(HttpApplication) IHttpModule.Init(HttpApplication) IHttpModule.Init(HttpApplication) IHttpModule.Init(HttpApplication) |
For a description of this member, see IHttpModule.Init(HttpApplication). |