Class RoutingConstants

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

Inheritance
System.Object
RoutingConstants
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Web.Routing
Assembly: EPiServer.dll
Version: 8.11.0
Syntax
public static class RoutingConstants

Fields

ActionKey

Key in RequestContext.RouteData that gets action name if set

Declaration
public static readonly string ActionKey
Field Value
Type Description
System.String

CmsControllerKey

Key that can be set when linking to another cms based controller.

Declaration
public static readonly string CmsControllerKey
Field Value
Type Description
System.String

ControllerKey

Key in RequestContext.RouteData that gets controller name if set

Declaration
public static readonly string ControllerKey
Field Value
Type Description
System.String

ControllerTypeKey

Key in RequestContext.RouteData that gets controller type if set

Declaration
public static readonly string ControllerTypeKey
Field Value
Type Description
System.String

ForceCanonicalKey

Key in RequestContext.RouteData that can be set during construction of outgoing urls to force the use of canonical host URLs.

Declaration
public static readonly string ForceCanonicalKey
Field Value
Type Description
System.String

HandledRouteDataKey

Key in Context.Items that gets the RouteData if the context has been handled by page route

Declaration
public static readonly string HandledRouteDataKey
Field Value
Type Description
System.String

HostKey

Key that can be set during construction of outgoing urls to set host for absoulte paths.

Declaration
public static readonly string HostKey
Field Value
Type Description
System.String

LanguageKey

Key used in routing to specify the language for the request.

Declaration
public static readonly string LanguageKey
Field Value
Type Description
System.String

LanguageQueryParameter

query parameter in internal links to determine language, written as 'epslanguage'

Declaration
public static readonly string LanguageQueryParameter
Field Value
Type Description
System.String

NodeKey

Key in RequestContext.RouteData that gets structure node if set

Declaration
public static readonly string NodeKey
Field Value
Type Description
System.String

OriginalNodeKey

Key in RequestContext.RouteData that gets node which has been replace by partial segment

Declaration
public static readonly string OriginalNodeKey
Field Value
Type Description
System.String

RemainingPathParameter

query parameter in internal links to determine remaining path (like action and parameter), written as 'epsremainingpath'

Declaration
public static readonly string RemainingPathParameter
Field Value
Type Description
System.String

RootPath

Key in RequestContext.RouteData that gets the root path of the routed virtual path. This can be relative or absolute.

Declaration
public static readonly string RootPath
Field Value
Type Description
System.String

RoutedDataKey

Key in RequestContext.RouteData that gets the routed data if it has been routed.

Declaration
public static readonly string RoutedDataKey
Field Value
Type Description
System.String