Example #1
0
        private void BuildAppSettingsProvider()
        {
            AppSettings.DbConnectionString =
                Defines.GetDecodedString(Configuration["AppSettings:DBConnectionString"]);

            AppSettings.MicrosoftVisionApiKey =
                Defines.GetDecodedString(Configuration["AppSettings:MicrosoftVisionApiKey"]);
        }
Example #2
0
        private void BuildAppSettingsProvider()
        {
            AppSettings.DBConnectionString =
                Defines.GetDecodedString(Configuration["AppSettings:DBConnectionString"]);

            AppSettings.GMailLogin =
                Defines.GetDecodedString(Configuration["AppSettings:GMailLogin"]);
            AppSettings.GMailPassword =
                Defines.GetDecodedString(Configuration["AppSettings:GMailPassword"]);

            AppSettings.TwilioFromNumber =
                Defines.GetDecodedString(Configuration["AppSettings:TwilioFromNumber"]);
            AppSettings.TwilioAccountSID =
                Defines.GetDecodedString(Configuration["AppSettings:TwilioAccountSID"]);
            AppSettings.TwilioAuthToken =
                Defines.GetDecodedString(Configuration["AppSettings:TwilioAuthToken"]);
        }