Namespace EPiServer.Web.Routing

Classes

AncestorReferencesLoader

Loads ancestor references for a content. The result is cached so any subsequent call to method on same request will get cached result.

BasePathResolver

This class supports the EPiServer infrastructure and is not intended to be used directly from your code.

BlobRouter

Routes to Blobs on IContent instances.

ClassicLinkRoute

A route that can be added to support incoming routing of classic links like for example "/templates/Page.aspx?id=12&epslanguage=sv"

ContentRoute

A route that maps an url to a structure node. When the node corresponds to a controller this the controller route value is set, otherwise the route is assumed to be a web form route.

ContentRouteHelper

The ContentRouteHelper class provides information about the requrested content of the current web request.

CrossSiteContentRouteContraint

A route constraint used for the content route starting from RootPage. It validates that the routed content is not under another site than current resolved site.

DefaultSimpleAddressRouteHandler

Default implementation of ISimpleAddressRouteHandler, which handles simple address in CMS.

DefaultUrlResolver

The default implementation of UrlResolver

DownloadMediaRouter

Download media router that routes to IContentMedia on IContentMedia instances

EditUrlArguments

This class supports the EPiServer infrastructure and is not intended to be used directly from your code.

EditUrlResolver

This class supports the EPiServer infrastructure and is not intended to be used directly from your code.

MapContentRouteParameters

Contains the optional parameter values for calls to MapContentRoute".

MultiplexingRouteHandler

Represents a System.Web.Routing.IRouteHandler that can handle request to both webforms and MVC.

OutgoingOnlyRoute

Route that only supports outgoing routing, that is creating virtual paths. Purpose of it is to support HtmlHelper methods Action and RenderAction but prevent direct browsing for registered url like for example {controller}/{action/

PageRouteHelper

The PageRouteHelper class is used to provide access to information about the requested CMS page of the current web request.

PartialRouteData

When an outgoing virtual path is extended through implementations of GetPartialVirtualPath(TRoutedData, String, RouteValueDictionary, RequestContext) this states the partial virtual path and the ContentReference for the content that should be used for base path.

PartialRouteHandler

Handler that manages registered instances of IPartialRouter<TContent, TRoutedData>.

PartialRouter

Encapsulates an instance of IPartialRouter<TContent, TRoutedData>.

PartialRouter<TIncoming, TOutgoing>

The concrete typed implementation of PartialRouter.

RequestContextEventArgs

RequestContextExtension

Extension methods on request Context such as et/Set Node, Lang, Controller

RequiredDefaultsConstraint

A constraint used to determine if the supplied route values does not differ from the default route values.

RouteCollectionExtensions

Contains extension methods for System.Web.Routing.RouteCollection.

RouteParser

Parses a route into an array of ISegment.

RouteRedirector

This class supports the EPiServer infrastructure and is not intended to be used directly from your code.

RouteRegistrationEventArgs

Event arguments used in RoutesRegistrating and RoutesRegistered.

RoutingConstants

String constants used by the routing system in EPiServer.Web.Routing namespace.

RoutingEventArgs

Arument used during content routing.

UrlBuilderEventArgs

Event args for the UrlBuilder.

UrlResolver

Class that routes an url to the corresponding IContent instance or vice versa.

VirtualPathArguments

Used as argument in for example GetUrl(ContentReference, String, VirtualPathArguments) to create an outgoing url.

VirtualPathDataExtensions

Contains extension methods that are useful when working with System.Web.Routing.VirtualPathData.

VirtualPathHostResolver

This class supports the EPiServer infrastructure and is not intended to be used directly from your code.

Interfaces

IContentRouteConstraint

Can be used as constraint in ContentRoute. Called after a IContent has been routed to determine if the routed instance fullfills the specified constraint.

IPartialRouter<TContent, TRoutedData>

Defines the signature for a component that extends routing to IContent.

IRoutable

Represents content specific data for routing.

IRouteParser

ISimpleAddressRouteHandler

Handles simple address for outgoing requests.

Enums

AncestorLoaderRule

Specifies how ancestors are loaded.

SupportedDirection

Specifies which route directions the Route supports