Class RoutingUrlRewriteModule

Url rewrite implementation for web forms that uses configured Routing for Url rewrite.

Inheritance
System.Object
RoutingUrlRewriteModule
Implements
System.Web.IHttpModule
Namespace: EPiServer.Web
Assembly: EPiServer.dll
Version: 8.11.0
Syntax
public class RoutingUrlRewriteModule : UrlRewriteModule, IHttpModule

Constructors

RoutingUrlRewriteModule()

Declaration
public RoutingUrlRewriteModule()

Methods

HtmlAddRewriteToExternalFilter(HttpApplication)

Connect a filter for rewriting of outgoing HTML, and perform other actions before actually sending the HTML. This implementation checks if request is MVC, if so no HTML rewriting is performed

Declaration
public override void HtmlAddRewriteToExternalFilter(HttpApplication httpApplication)
Parameters
Type Name Description
System.Web.HttpApplication httpApplication
Overrides

HttpUrlRewriteToInternal(UrlBuilder)

Not implemented. Routing is used to handle incoming requests.

Declaration
protected override void HttpUrlRewriteToInternal(UrlBuilder url)
Parameters
Type Name Description
UrlBuilder url

url

Overrides
Exceptions
Type Condition
System.NotImplementedException

Always thrown

Init(HttpApplication)

Called by the ASP.NET framework to initialize module

Declaration
public override void Init(HttpApplication application)
Parameters
Type Name Description
System.Web.HttpApplication application
Overrides

Implements

System.Web.IHttpModule

Extension Methods