Search Results for

    Show / Hide Table of Contents

    Class ApplicationSettings

    Common Application settings for both client and server of ImageVault

    Inheritance
    System.Object
    ApplicationSettingsBase
    ApplicationSettings
    Inherited Members
    ApplicationSettingsBase.AppSettingsPrefix
    ApplicationSettingsBase.ApiPath
    ApplicationSettingsBase.CurrentUserApiPath
    ApplicationSettingsBase.GetAppSetting(String)
    ApplicationSettingsBase.GetAppSettingAsBool(String, Boolean)
    ApplicationSettingsBase.GetAppSettingAsLong(String, Int64)
    ApplicationSettingsBase.GetAppSettingAsInt(String, Int32)
    Namespace: ImageVault.Common.Configuration
    Assembly: ImageVault.Common.dll
    Syntax
    public class ApplicationSettings : ApplicationSettingsBase

    Constructors

    ApplicationSettings()

    Default constructor

    Declaration
    public ApplicationSettings()

    Fields

    ApplicationInsightsDeveloperModeKey

    appSettings key for Application insights disabled

    Declaration
    public const string ApplicationInsightsDeveloperModeKey = "iv:applicationInsightsDeveloperMode"
    Field Value
    Type Description
    System.String

    ApplicationInsightsDisabledKey

    appSettings key for Application insights disabled

    Declaration
    public const string ApplicationInsightsDisabledKey = "iv:applicationInsightsDisabled"
    Field Value
    Type Description
    System.String

    ApplicationInsightsEnableProfilingKey

    appSettings configuration key for applicationInsightsEnableProfiling

    Declaration
    public const string ApplicationInsightsEnableProfilingKey = "iv:applicationInsightsEnableProfiling"
    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

    IdentityHandlerAuthKey

    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.

    Instance

    Gets the singleton instance of the ApplicationSettings

    Declaration
    public static ApplicationSettings Instance { get; }
    Property Value
    Type Description
    ApplicationSettings

    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

    SecurityProtocolType

    Gets the security protocol type to use

    Declaration
    public SecurityProtocolType SecurityProtocolType { get; set; }
    Property Value
    Type Description
    System.Net.SecurityProtocolType

    Methods

    Reset()

    Resets the settings runtime values to the configured values

    Declaration
    public void Reset()

    Extension Methods

    ApplicationSettingsExtensions.CreateIdentity(ApplicationSettings, String)
    EnumExtensions.GetNames<TEnum>(TEnum)
    In This Article
    Back to top (c) Meriworks 2002-2022