Windows Azure Storage Connection String

Windows Azure Storage Connection String

Rate This
  • Comments 0

If you are not using Visual Studio Cloud Projects (where one cloud project and n-number of Web/Worker Role project(s)) and building simple WebSite, you may need this.

This is the connection string you need in your Web.Config file under ConnectionStrings

DefaultEndpointsProtocol=http;AccountName=[account_name];AccountKey=[account_key]

After which you need to initiate by doing

CloudStorageAccount csa =

CloudStorageAccount.Parse(ConfigurationManager.ConnectionStrings["DataConnection"].ConnectionString);


Namoskar!!!
Leave a Comment
  • Please add 2 and 6 and type the answer here:
  • Post