SaaS CMS has officially launched! Learn more now.

Class EnvironmentOptions

Specifies environment options for APIs not depending on ASP.NET Core

Inheritance
System.Object
EnvironmentOptions
Namespace: EPiServer.Framework
Assembly: EPiServer.Framework.dll
Version: 12.0.3
Syntax
[Options(ConfigurationSection = "Cms")]
public class EnvironmentOptions : Object

Constructors

EnvironmentOptions()

Declaration
public EnvironmentOptions()

Fields

DefaultAppDataFolderName

The default name used to construct AppDataPath when no value is set

Declaration
public const string DefaultAppDataFolderName = "App_Data"
Field Value
Type Description
System.String

Properties

AppDataPath

Gets or sets the absolute path to the directory that contains the private data files.

Declaration
public string AppDataPath { get; set; }
Property Value
Type Description
System.String
Remarks

Used for data files such as disk based blobs, geolocation database etc

BasePath

Declaration
public string BasePath { get; set; }
Property Value
Type Description
System.String

Extension Methods