Connection String to an Azure Cloud Storage Account

user281674 picture user281674 · Feb 26, 2010 · Viewed 40.2k times · Source

How do I make a connection string to a cloud storage account so I can access tables, blobs, and queues? Sample code appreciated.

Answer

chadwackerman picture chadwackerman · Aug 16, 2011

Notating this because it's a top Google hit and the information is no longer current.

You can configure CloudStorageAccount via a connection string passed to FromConfigurationSetting().

You build a configuration string per below: https://docs.microsoft.com/en-gb/azure/storage/common/storage-configure-connection-string

There's also a helper in the IDE if you right click on the Role.