How to set China Azure Storage Connection String

Configure Visual Studio to access China Azure Storage

  1. Open Visual Studio 2012, Server Explorer

clip_image001

  1. Add new storage account

clip_image002

  1. Go to "Dashborad" page of storage account from windows azure portal  https://manage.windowsazure.cn/
  2. Find Access keys from dashborad

clip_image003

  1. Copy the strings to VS 2012 new window "Add New Storage Account"

clip_image004

  1. Back to dashborad and find the endpoints and copy to the new windows as well.

clip_image005

  1. Here you go:

clip_image006

Finally the connection string will be like:

BlobEndpoint=https://ciestevstorlongrunning.blob.core.chinacloudapi.cn; QueueEndpoint=https://ciestevstorlongrunning.queue.core.chinacloudapi.cn; TableEndpoint=https://ciestevstorlongrunning.table.core.chinacloudapi.cn;

AccountName=portalvhdsy1jv6tnmq0cz5;

AccountKey=V5QufK3PJiq0bLRS9LHfO9yQBvpfQQjV+Kcdn6W/53jV+QS9K3eYdinBfzqoRbRsdncD2T0UMQ==

posted @ 2013-09-02 16:30  EricWen  阅读(964)  评论(0编辑  收藏  举报