Class HostingSettings
Typed configuration options for hosting settings.
Inheritance
object
Namespace: Umbraco.Cms.Core.Configuration.Models
Assembly: Umbraco.Core.dll
Syntax
[UmbracoOptions("Umbraco:CMS:Hosting")]
public class HostingSettings
Properties
View SourceApplicationVirtualPath
Gets or sets a value for the application virtual path.
Declaration
public string? ApplicationVirtualPath { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Debug
Gets or sets a value indicating whether umbraco is running in [debug mode].
Declaration
public bool Debug { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
|
LocalTempStorageLocation
Gets or sets a value for the location of temporary files.
Declaration
public LocalTempStorage LocalTempStorageLocation { get; set; }
Property Value
| Type | Description |
|---|---|
| LocalTempStorage |
SiteName
Gets or sets a value specifying the name of the site.
Declaration
public string? SiteName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
TemporaryFileUploadLocation
Gets or sets a value for the location of temporary file uploads.
Declaration
public string? TemporaryFileUploadLocation { get; set; }
Property Value
| Type | Description |
|---|---|
| string | /umbraco/Data/TEMP/TemporaryFile if nothing is specified. |