I connect to a blob store programatically:
string connectionString = CloudConfigurationManager.GetSetting("StorageConnectionString");
CloudStorageAccount storageAccount = CloudStorageAccount.Parse(connectionString);
CloudBlobClient blobClient = storageAccount.CreateCloudBlobClient();
...
My App.Config
settings are:
<configuration>
<appSettings>
<add key="StorageConnectionString"
value="DefaultEndpointsProtocol=http;AccountName=ACNAME;AccountKey=MYKEY==" />
</appSettings>
...
The connection works. However I see the message "Getting "StorageConnectionString" from ServiceRuntime: FAIL" on my local unit tests:
What is the reason for this message and how I can fix it?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…