Class ConfigurationAppSettings
Represents the application settings defined in the configuration file.
Inherited Members
Namespace: DataWeb.Configuration
Assembly: DataWeb.Core.dll
Syntax
public class ConfigurationAppSettings
Constructors
ConfigurationAppSettings()
Initializes a new instance of the ConfigurationAppSettings class with default option instances.
Declaration
public ConfigurationAppSettings()
Remarks
Staging, Email, Account and Provisioning are pre-initialized to avoid null reference exceptions when accessed before configuration binding. Localization is left null as it is optional and may not be present in the configuration.
Properties
Account
Gets or sets the account options.
Declaration
public AccountOptions Account { get; set; }
Property Value
| Type | Description |
|---|---|
| AccountOptions |
AppHostName
Gets or sets the application host name.
Declaration
public string AppHostName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
AppName
Gets or sets the application name.
Declaration
public string AppName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
AppSecretKey
Gets or sets the application secret key.
Declaration
public string AppSecretKey { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
AppStorageMaxSize
Gets or sets the maximum allowed storage size for the application, in bytes.
Declaration
public long AppStorageMaxSize { get; set; }
Property Value
| Type | Description |
|---|---|
| long |
AppUrl
Gets or sets the application URL.
Declaration
public string AppUrl { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
CookieExpirationDays
Gets or sets the cookie expiration in days.
Declaration
public int CookieExpirationDays { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Gets or sets the email options.
Declaration
public EmailOptions Email { get; set; }
Property Value
| Type | Description |
|---|---|
| EmailOptions |
Localization
Gets or sets the localization options.
Declaration
public LocalizationOptions Localization { get; set; }
Property Value
| Type | Description |
|---|---|
| LocalizationOptions |
Provisioning
Gets or sets the provisioning options.
Declaration
public ProvisioningOptions Provisioning { get; set; }
Property Value
| Type | Description |
|---|---|
| ProvisioningOptions |
Staging
Gets or sets the staging options.
Declaration
public StagingOptions Staging { get; set; }
Property Value
| Type | Description |
|---|---|
| StagingOptions |