Esempio n. 1
0
        public static bool IsAzureActive()
        {
            var root            = ManageAppSettingFileAccess.GetTheAppSettingInformation();
            var valueInSettings = root.GetSection(AppSettingsNames.AzureEnabled.ToString());

            return(Convert.ToBoolean(valueInSettings.Value));
        }
Esempio n. 2
0
        public static string GetConnectionStringFromAppSetting()
        {
            var root = ManageAppSettingFileAccess.GetTheAppSettingInformation();

            return(root.GetConnectionString(AppSettingsNames.DefaultConnection.ToString()));
        }
Esempio n. 3
0
        public static IConfigurationSection GetTheAzureOptionsForSSO()
        {
            var root = ManageAppSettingFileAccess.GetTheAppSettingInformation();

            return(root.GetSection(AppSettingsNames.AzureAd.ToString()));
        }