Class Constants.SystemDirectories
Contains constants for Umbraco system directory paths.
Inheritance
Namespace: Umbraco.Cms.Core
Assembly: Umbraco.Core.dll
Syntax
public static class Constants.SystemDirectories
Fields
View SourceAppPlugins
The App_Plugins folder path for custom packages.
Declaration
public const string AppPlugins = "/App_Plugins"
Field Value
| Type | Description |
|---|---|
| string |
BackOfficePath
The backoffice path.
Declaration
public const string BackOfficePath = "/umbraco/backoffice"
Field Value
| Type | Description |
|---|---|
| string |
Bin
The aspnet bin folder
Declaration
public const string Bin = "~/bin"
Field Value
| Type | Description |
|---|---|
| string |
Config
The configuration folder path.
Declaration
public const string Config = "~/config"
Field Value
| Type | Description |
|---|---|
| string |
CreatedPackages
The created packages folder path for exported packages.
Declaration
public const string CreatedPackages = "~/umbraco/Data/CreatedPackages"
Field Value
| Type | Description |
|---|---|
| string |
Data
The Umbraco data folder in the content root.
Declaration
public const string Data = "~/umbraco/Data"
Field Value
| Type | Description |
|---|---|
| string |
Install
The install folder path.
Declaration
public const string Install = "~/install"
Field Value
| Type | Description |
|---|---|
| string |
Licenses
The Umbraco licenses folder in the content root.
Declaration
public const string Licenses = "~/umbraco/Licenses"
Field Value
| Type | Description |
|---|---|
| string |
LogFiles
The default folder where Umbraco log files are stored
Declaration
[Obsolete("Use LoggingSettings.GetLoggingDirectory() instead. Scheduled for removal in Umbraco 18.")]
public const string LogFiles = "~/umbraco/Logs"
Field Value
| Type | Description |
|---|---|
| string |
MvcViews
The MVC Views folder path.
Declaration
public const string MvcViews = "~/Views"
Field Value
| Type | Description |
|---|---|
| string |
Packages
The packages folder path for installed packages.
Declaration
public const string Packages = "~/umbraco/Data/packages"
Field Value
| Type | Description |
|---|---|
| string |
PartialViews
The partial views folder path.
Declaration
public const string PartialViews = "~/Views/Partials/"
Field Value
| Type | Description |
|---|---|
| string |
Preview
The preview folder path for content preview data.
Declaration
public const string Preview = "~/umbraco/Data/preview"
Field Value
| Type | Description |
|---|---|
| string |
TempData
The Umbraco temp data folder in the content root.
Declaration
public const string TempData = "~/umbraco/Data/TEMP"
Field Value
| Type | Description |
|---|---|
| string |
TempFileUploads
The temporary file uploads folder path.
Declaration
public const string TempFileUploads = "~/umbraco/Data/TEMP/FileUploads"
Field Value
| Type | Description |
|---|---|
| string |
Umbraco
The Umbraco folder that exists at the content root.
Declaration
public const string Umbraco = "~/umbraco"
Field Value
| Type | Description |
|---|---|
| string |
Remarks
This is not the same as the Umbraco web folder which is configurable for serving front-end files.