Class ImageVaultCommonOptions
Inheritance
Namespace: ImageVault.Common.Configuration
Assembly: ImageVault.Common.dll
Syntax
public class ImageVaultCommonOptions : Object
Constructors
ImageVaultCommonOptions()
Default constructor
Declaration
public ImageVaultCommonOptions()
Fields
ConfigurationSectionName
Default Section name for the Options class
Declaration
public const string ConfigurationSectionName = "ImageVault:Common"
Field Value
| Type | Description |
|---|---|
| System.String |
Properties
ApplicationInsightsDeveloperMode
Defines if the developer mode is active when using application insights
Declaration
public bool ApplicationInsightsDeveloperMode { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
Remarks
Developer mode immediately sends the telemetry when it is created. If disabled, telemetry is sent less often to minimize performance loss.
ApplicationInsightsDisabled
Checks if Application insights is disabled or not
Declaration
public bool ApplicationInsightsDisabled { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
ApplicationInsightsEnableProfiling
Enable this to track profiling information
Declaration
public bool ApplicationInsightsEnableProfiling { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
AuthSameSiteCookieMode
Override default value for same site configuration
Declaration
public string AuthSameSiteCookieMode { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
DefaultMediaFormatOutputType
Defines the default MediaFormatOutputType that is used for MediaFormatOutputType
Declaration
public MediaFormatOutputTypes DefaultMediaFormatOutputType { get; set; }
Property Value
| Type | Description |
|---|---|
| MediaFormatOutputTypes | Defaults to WebSafe |
EnableDebugLogging
Enables internal debug logging
Declaration
public bool EnableDebugLogging { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
Remarks
Default value is true
IdentityHandlerAuthKey
Defines the auth key used for the ConfigFileAuthKeyReader
Declaration
public string IdentityHandlerAuthKey { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
IdentityPrefix
Gets the identity prefix of the application
Declaration
public string IdentityPrefix { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Remarks
Should only be used on the client. To configure individual membership identity services, use configuration for its security manager.
LegacyUsernameIsValidIdentifier
If enabled, the username of a user is a valid identifier (as per ImageVault 4)
Declaration
public bool LegacyUsernameIsValidIdentifier { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
MediaRendererResourceServiceUrl
Default url to use for returning media renderer resources
Declaration
public string MediaRendererResourceServiceUrl { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
ObjectCache
Object cache options
Declaration
public ObjectCacheOptions ObjectCache { get; set; }
Property Value
| Type | Description |
|---|---|
| ObjectCacheOptions |
SecurityProtocolType
Gets the security protocol type to use
Declaration
public SecurityProtocolType SecurityProtocolType { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Net.SecurityProtocolType |
Methods
ReadFrom(ImageVaultCommonOptions)
Reads the data from the supplied object
Declaration
public void ReadFrom(ImageVaultCommonOptions configOptions)
Parameters
| Type | Name | Description |
|---|---|---|
| ImageVaultCommonOptions | configOptions |