How to connect to China Azure Storage

本文介绍如何在Visual Studio 2012中配置并访问中国的Azure存储服务。步骤包括安装Azure SDK补丁,从Azure门户获取存储账户的访问密钥和端点,然后在VS2012中创建新的存储账户并输入这些信息。

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)

  2. Add new storage account

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

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

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

  7. Here you go:

     

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

评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符  | 博主筛选后可见
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值