Full Stack Universal Windows Platform

Don't just dream it. Hack it.

SetConfigurationSettingPublisher needs to be called before FromConfigurationSetting can be used

Dump to myself:

CloudStorageAccount.SetConfigurationSettingPublisher((configName, configSetter) =>
{
string connectionString;

if (RoleEnvironment.IsAvailable)
{
connectionString = RoleEnvironment.GetConfigurationSettingValue(configName);
}
else
{
connectionString = ConfigurationManager.AppSettings[configName];
}

configSetter(connectionString);
});