Class CoreConfigurationSection
Core configuration settings
Inheritance
Namespace: ImageVault.Core.Configuration
Assembly: ImageVault.Core.dll
Syntax
public class CoreConfigurationSection : ConfigurationSectionWithAppSettingsBase
Constructors
CoreConfigurationSection()
Initializes a new instance of the CoreConfigurationSection class.
Declaration
public CoreConfigurationSection()
Properties
DefaultImageCompression
Gets the default compression for image-conversions.
Declaration
public byte DefaultImageCompression { get; }
Property Value
Type | Description |
---|---|
System.Byte | The configured compression quality (0-100) or the default value (88) |
DisableAuthenticationCheckOnInternalMedia
Get/Sets the DisableAuthenticationCheckOnInternalMedia of the CoreConfigurationSection
Declaration
public bool DisableAuthenticationCheckOnInternalMedia { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | If true, no access control is performed on internal media requests. All internal media requests will be allowed. |
DisableRepositoryCache
Get/Sets the DisableRepositoryCache of the CoreConfigurationSection
Declaration
public bool DisableRepositoryCache { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
DisableShadowCopy
Gets the DisableShadowCopy of the CoreConfigurationSection
Declaration
public bool DisableShadowCopy { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
ExcludeNullMediaConversionsInMediaQueries
Get/Sets the ExcludeNullMediaConversionsInMediaQueries of the CoreConfigurationSection
Declaration
public bool ExcludeNullMediaConversionsInMediaQueries { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | If true, all MediaItem Queries for conversions that cannot be done and would return a null entry in the MediaConversions list, will be omitted so the MediaConversions property will not contain any items with a null value. This will on the other hand, not guarantee that the MediaConversions list will contain an entry for all the requested formats. |
Instance
Returns the singleton instance of the CoreConfigurationSection class.
Declaration
public static CoreConfigurationSection Instance { get; set; }
Property Value
Type | Description |
---|---|
CoreConfigurationSection |
LeadToolsExcludeMimeTypes
Get/sets the mime types to include from the CoreConfigurationSection
Declaration
public string LeadToolsExcludeMimeTypes { get; }
Property Value
Type | Description |
---|---|
System.String |
LeadToolsIncludeMimeTypes
Get/sets the mime types to include from the CoreConfigurationSection
Declaration
public string LeadToolsIncludeMimeTypes { get; }
Property Value
Type | Description |
---|---|
System.String |
LoadBalancingDisableCertificateValidation
Gets the LoadBalancingClientValidationEnabled of the CoreConfigurationSection
Declaration
[Obsolete("Only used in ImageVault 4, will be removed in next major version")]
public bool LoadBalancingDisableCertificateValidation { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
LoadBalancingEnabled
Gets the LoadBalancingEnabled of the CoreConfigurationSection
Declaration
[Obsolete("Only used in ImageVault 4, will be removed in next major version")]
public bool LoadBalancingEnabled { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
LoadBalancingQueuePollInterval
Gets the LoadBalancingQueuePollInterval of the CoreConfigurationSection
Declaration
[Obsolete("Only used in ImageVault 4, will be removed in next major version")]
public int LoadBalancingQueuePollInterval { get; }
Property Value
Type | Description |
---|---|
System.Int32 | The number of milliseconds between LoadBalancing messages are sent out to clients. Default value is 500 milliseconds |
MaxConversionConcurrency
Gets the maximum number of simultaneous threads performing media conversions.
Declaration
public int MaxConversionConcurrency { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Metadata
Declaration
public MetadataConfigurationElement Metadata { get; }
Property Value
Type | Description |
---|---|
MetadataConfigurationElement |
ServiceHostTimeout
Gets the ServiceHostTimeout of the CoreConfigurationSection
Declaration
[Obsolete("Only used in ImageVault 4, will be removed in next major version")]
public int ServiceHostTimeout { get; }
Property Value
Type | Description |
---|---|
System.Int32 | The number of milliseconds used for timeout. Default value is 60000 milliseconds |
ShadowCopyFolder
Gets the ShadowCopyFolder of the CoreConfigurationSection
Declaration
public string ShadowCopyFolder { get; }
Property Value
Type | Description |
---|---|
System.String |
UploadFolder
The path to the folder where files are temporarily stored during upload.
Declaration
public string UploadFolder { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ZipArchiveFolder
Gets the ZipArchiveFolder of the CoreConfigurationSection
Declaration
public string ZipArchiveFolder { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ZipFilePrefix
Gets the ZipFilePrefix of the CoreConfigurationSection
Declaration
public string ZipFilePrefix { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
Reset()
Resets runtime values to configured values
Declaration
public void Reset()