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 | 
AngularCookieName
The cookie name that is set for angular to use to pass in to the header value for "X-UMB-XSRF-TOKEN"
Declaration
public const string AngularCookieName = "UMB-XSRF-TOKEN"
  Field Value
| Type | Description | 
|---|---|
| System.String | 
AngularHeadername
The header name that angular uses to pass in the token to validate the cookie
Declaration
public const string AngularHeadername = "X-UMB-XSRF-TOKEN"
  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 | 
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 |