Connection strings for Windows Azure Storage

The Windows Azure storage services provide persistent, redundant storage in the cloud. The storage services include these fundamental services; Blob service, Queue service and Table service.

.NET libraries for Windows Azure Storage

Windows Azure Storage Client Library

Type .NET Framework Class Library
Usage
Manufacturer Microsoft

Standard

DefaultEndpointsProtocol=http;AccountName=myAccount;AccountKey=myKey;
 
 

Secure

DefaultEndpointsProtocol=https;AccountName=myAccount;AccountKey=myKey;
 
 

Local Emulator

If you’re using the Windows Azure Emulator, you can shortcut the connection string.

UseDevelopmentStorage=True;
 
 

Local Emulator using Standard format

If you prefer to keep the connection string consistent with the standard format, the local emulators credentials can be hard coded.

DefaultEndpointsProtocol=https;AccountName=devstoreaccount1;
AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;
 
 

Blob Storage (custom domain)

DefaultEndpointsProtocol=https;AccountName=myAccount;AccountKey=myKey;
BlobEndpoint=customEndpoint;
 
 

Table Storage (custom domain)

DefaultEndpointsProtocol=https;AccountName=myAccount;AccountKey=myKey;
TableEndpoint=customEndpoint;
 
 

Queue Storage (custom domain)

DefaultEndpointsProtocol=https;AccountName=myAccount;AccountKey=myKey;
QueueEndpoint=customEndpoint;
 
 

Service Bus Connection String

This connection string works for both Topics and Queues.

Endpoint=myEndpoint;SharedSecretIssuer=myWrapAuthenticationName;
SharedSecretValue=myWrapPassword;
 
 

Popular