How to set China Azure Storage Connection String

时间:2020-12-17 19:58:16

Configure Visual Studio to access China Azure Storage

  1. Open Visual Studio 2012, Server Explorer

How to set China Azure Storage Connection String

  1. Add new storage account

How to set China Azure Storage Connection String

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

How to set China Azure Storage Connection String

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

How to set China Azure Storage Connection String

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

How to set China Azure Storage Connection String

  1. Here you go:

How to set China Azure Storage Connection String

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==