Class Constants.Web
Defines the identifiers for Umbraco system nodes.
Inheritance
System.Object
Namespace: Umbraco.Cms.Core
Assembly: Umbraco.Core.dll
Syntax
public static class Web
Fields
View SourceAcceptPreviewCookieName
Client-side cookie that determines whether the user has accepted to be in Preview Mode when visiting the website.
Declaration
public const string AcceptPreviewCookieName = "UMB-WEBSITE-PREVIEW-ACCEPT"
Field Value
Type | Description |
---|---|
System.String |
BackofficeSignalRHub
Declaration
public const string BackofficeSignalRHub = "/backofficeHub"
Field Value
Type | Description |
---|---|
System.String |
CacheBusterToken
The token used to replace the cache buster hash in web assets.
Declaration
public const string CacheBusterToken = "%CACHE_BUSTER%"
Field Value
Type | Description |
---|---|
System.String |
CsrfValidationCookieName
The cookie name that is used to store the validation value
Declaration
public const string CsrfValidationCookieName = "UMB-XSRF-V"
Field Value
Type | Description |
---|---|
System.String |
InstallerCookieName
Declaration
public const string InstallerCookieName = "umb_installId"
Field Value
Type | Description |
---|---|
System.String |
ManagementApiPath
The "base" path to the Management API
Declaration
public const string ManagementApiPath = "/management/api/"
Field Value
Type | Description |
---|---|
System.String |
NoContentRouteName
The route name of the page shown when Umbraco has no published content.
Declaration
public const string NoContentRouteName = "umbraco-no-content"
Field Value
Type | Description |
---|---|
System.String |
PreviewCookieName
The preview cookie name
Declaration
public const string PreviewCookieName = "UMB_PREVIEW"
Field Value
Type | Description |
---|---|
System.String |
TwoFactorRememberBrowserCookie
The default authentication type used for remembering that 2FA is not needed on next login
Declaration
public const string TwoFactorRememberBrowserCookie = "TwoFactorRememberBrowser"
Field Value
Type | Description |
---|---|
System.String |