private static string GetSetting(string key, string defaultValue) { return ConfigurationManager.AppSettings[key] ?? defaultValue; }