// Copyright (c) Umbraco. // See LICENSE for more details. using System.ComponentModel; namespace Umbraco.Cms.Core.Configuration.Models; /// /// Typed configuration options for hosting settings. /// [UmbracoOptions(Constants.Configuration.ConfigHosting)] public class HostingSettings { internal const string StaticLocalTempStorageLocation = "Default"; internal const bool StaticDebug = false; /// /// Gets or sets a value for the application virtual path. /// public string? ApplicationVirtualPath { get; set; } /// /// Gets or sets a value for the location of temporary files. /// [DefaultValue(StaticLocalTempStorageLocation)] public LocalTempStorage LocalTempStorageLocation { get; set; } = Enum.Parse(StaticLocalTempStorageLocation); /// /// Gets or sets a value indicating whether umbraco is running in [debug mode]. /// /// true if [debug mode]; otherwise, false. [DefaultValue(StaticDebug)] public bool Debug { get; set; } = StaticDebug; /// /// Gets or sets a value specifying the name of the site. /// public string? SiteName { get; set; } }