Class Constants.Web.Routing
Contains routing token constants used in MVC routing.
Inheritance
object
Namespace: Umbraco.Cms.Core
Assembly: Umbraco.Core.dll
Syntax
public static class Constants.Web.Routing
Fields
View SourceActionToken
The route token name for the action.
Declaration
public const string ActionToken = "action"
Field Value
| Type | Description |
|---|---|
| string |
AreaToken
The route token name for the area.
Declaration
public const string AreaToken = "area"
Field Value
| Type | Description |
|---|---|
| string |
ControllerToken
The route token name for the controller.
Declaration
public const string ControllerToken = "controller"
Field Value
| Type | Description |
|---|---|
| string |
DynamicRoutePattern
The dynamic route pattern used for Umbraco content routing.
Declaration
public const string DynamicRoutePattern = "/{**umbracoSlug}"
Field Value
| Type | Description |
|---|---|
| string |