Class ShellRoutingModule
This class extens System.Web.Routing.UrlRoutingModule with custom behaviour for the dashboard route. The reason is to allow the presence of a folder with the same name as the configured secure folder location.
Inheritance
System.Object
ShellRoutingModule
Namespace: EPiServer.Shell.Web.Routing
Assembly: EPiServer.Shell.dll
Version: 8.11.0Syntax
public class ShellRoutingModule : UrlRoutingModule
Constructors
ShellRoutingModule()
Declaration
public ShellRoutingModule()
Methods
Init(HttpApplication)
Initializes a module and prepares it to handle requests.
Declaration
protected override void Init(HttpApplication application)
Parameters
Type | Name | Description |
---|---|---|
System.Web.HttpApplication | application | An object that provides access to the methods, properties, and events common to all application objects in an ASP.NET application. |
PostResolveRequestCache(HttpContextBase)
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.
Declaration
public override void PostResolveRequestCache(HttpContextBase context)
Parameters
Type | Name | Description |
---|---|---|
System.Web.HttpContextBase | context | Encapsulates all HTTP-specific information about an individual HTTP request. |