How to connect to China Azure Storage

Configure Visual Studio to access China Azure Storage:    

  1. Open Visual Studio 2012, Server Explorer. (Ensure you have installed patches for Azure, like Azure SDK)

    How to connect to China Azure Storage_第1张图片

  2. Add new storage account

    How to connect to China Azure Storage_第2张图片

  3. Go "Dashborad" page of storage account from portal
  4. Find Access keys from dashborad

    How to connect to China Azure Storage_第3张图片

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

    How to connect to China Azure Storage_第4张图片

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

    How to connect to China Azure Storage_第5张图片

  7. Here you go:

    How to connect to China Azure Storage_第6张图片

     

Finally the connection string will be like, you can also save the connection string into your cloud project configuration file:

BlobEndpoint=http://strcarson1.blob.core.chinacloudapi.cn/;

QueueEndpoint=http://strcarson1.queue.core.chinacloudapi.cn/;

TableEndpoint=http://strcarson1.table.core.chinacloudapi.cn/;

AccountName=strcarson1;

AccountKey=DJ+zmoRs4WcqPy/*obscuredstrings*/F026H2hrJw==

转载于:https://www.cnblogs.com/CarsonSong/p/3287068.html

你可能感兴趣的:(How to connect to China Azure Storage)