You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This seems to be incorrect; I would expect AppSettings to contain a dictionary of key/value pairs. Instead, it contains a dictionary of key/[value.key, value.value] pairs.
Notice how one has to access the desired key/value pair:
var webApp = azure.WebApps.GetById(resourceId);
var settings = webApp.AppSettings;
foreach (var setting in settings)
{
var key = setting.Value.Key; // this is strange. Should be "setting.Key"
var value = setting.Value.Value; // this is strange. Should be "setting.Value"
}
The text was updated successfully, but these errors were encountered:
MattMcL4475
changed the title
IReadOnlyDictionary<string, IAppSetting> AppSettings has wrong signature
IReadOnlyDictionary<string, IAppSetting> AppSettings should be IReadOnlyDictionary<string, string>
Jan 24, 2017
MattMcL4475
changed the title
IReadOnlyDictionary<string, IAppSetting> AppSettings should be IReadOnlyDictionary<string, string>
AppSettings has wrong type (<string, IAppSetting> should be <string, string>
Jan 24, 2017
MattMcL4475
changed the title
AppSettings has wrong type (<string, IAppSetting> should be <string, string>
AppSettings has wrong type (<string, IAppSetting> should be <string, string>)
Jan 24, 2017
Currently when retrieving the AppSettings from a WebApp, the object that is returned is:
IReadOnlyDictionary<string, IAppSetting> AppSettings
This seems to be incorrect; I would expect AppSettings to contain a dictionary of key/value pairs. Instead, it contains a dictionary of key/[value.key, value.value] pairs.
Notice how one has to access the desired key/value pair:
The text was updated successfully, but these errors were encountered: