Class ConfigFile.OnlineConfiguration
Configuration for the Online Environment. Explicit configuration for particular purpose can inherit from this and be located in same section
Inherited Members
Namespace: SuperOffice.Configuration
Assembly: SoCore.dll
Syntax
public class ConfigFile.OnlineConfiguration
Constructors
OnlineConfiguration()
Configuration for the Online Environment. Explicit configuration for particular purpose can inherit from this and be located in same section
Declaration
public OnlineConfiguration()
Fields
SectionName
Configuration for the Online Environment. Explicit configuration for particular purpose can inherit from this and be located in same section
Declaration
public const string SectionName = "Online"
Field Value
| Type | Description |
|---|---|
| string |
Properties
AmplitudeApiKey
Amplitude project's API key
Declaration
public string AmplitudeApiKey { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
BaseUrl
Base Url for the enviuronment
Declaration
[Url]
public string BaseUrl { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ConfigPollingDisabled
Is polling from the LSP service disabled.
Declaration
public bool ConfigPollingDisabled { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
ConfigPollingInterval
Configuration interval from LSP in seconds
Declaration
public int ConfigPollingInterval { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
ContextIdentifier
Used for hardcoding context identifier for debugging
Declaration
public string ContextIdentifier { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
EnableOnline
Enable SuperOffice CRM Cloud
Declaration
public bool EnableOnline { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Environment
Online envinment name
Declaration
public ConfigFile.OnlineEnvironment Environment { get; set; }
Property Value
| Type | Description |
|---|---|
| ConfigFile.OnlineEnvironment |
FilesetPrincipleName
Principle name of the fileset, as used in shared secret auth.
Declaration
public string FilesetPrincipleName { get; }
Property Value
| Type | Description |
|---|---|
| string |
IgnoreOnlineClientConfig
Configuration for the Online Environment. Explicit configuration for particular purpose can inherit from this and be located in same section
Declaration
public bool IgnoreOnlineClientConfig { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
LocalServiceProxyUrl
Configuration for the Online Environment. Explicit configuration for particular purpose can inherit from this and be located in same section
Declaration
[Url]
public string LocalServiceProxyUrl { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
MachineName
Configuration for the Online Environment. Explicit configuration for particular purpose can inherit from this and be located in same section
Declaration
public string MachineName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
OnlineFilesetSigningKey
Private key used for securing communication between Online Environment and Fileset
Declaration
public string OnlineFilesetSigningKey { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
Required when EnableOnline is true
OnlinePrincipleName
Configuration for the Online Environment. Explicit configuration for particular purpose can inherit from this and be located in same section
Declaration
public string OnlinePrincipleName { get; }
Property Value
| Type | Description |
|---|---|
| string |
PublicApiUrl
Configuration for the Online Environment. Explicit configuration for particular purpose can inherit from this and be located in same section
Declaration
[Url]
public string PublicApiUrl { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
RoleName
Configuration for the Online Environment. Explicit configuration for particular purpose can inherit from this and be located in same section
Declaration
public ConfigFile.TelemetryRoleName RoleName { get; set; }
Property Value
| Type | Description |
|---|---|
| ConfigFile.TelemetryRoleName |
SemanticVersion
Configuration for the Online Environment. Explicit configuration for particular purpose can inherit from this and be located in same section
Declaration
public string SemanticVersion { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
UserflowApiKey
Token to connect server-side to Userflow Prod or SOD environment
Declaration
public string UserflowApiKey { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
Required when EnableOnline is true
UserflowToken
Token to connect browser to Userflow Prod or SOD environment
Declaration
public string UserflowToken { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
Required when EnableOnline is true
Methods
Validate(ValidationContext)
Configuration for the Online Environment. Explicit configuration for particular purpose can inherit from this and be located in same section
Declaration
public IEnumerable<ValidationResult> Validate(ValidationContext validationContext)
Parameters
| Type | Name | Description |
|---|---|---|
| ValidationContext | validationContext |
Returns
| Type | Description |
|---|---|
| IEnumerable<ValidationResult> |