Azure 2012年10月SDK打破UseDevelopmentStorage = true [英] Azure October 2012 SDK broke UseDevelopmentStorage=true

查看:39
本文介绍了Azure 2012年10月SDK打破UseDevelopmentStorage = true的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人用usedevelopmentstorage = true连接字符串尝试过2012年10月的Azure SDK吗?

Has anyone tried the October 2012 Azure sdk with usedevelopmentstorage=true connection string ?

CloudStorageAccount.Parse("UseDevelopmentStorage=true")

引发字典中不存在给定键"的异常.

throws a 'The given key was not present in the dictionary' exception.

CloudStorageAccount.DevelopmentStorageAccount 

可以.

这是天蓝色SDK中的错误吗?

Is this a bug in the azure sdk ?

推荐答案

这是存储SDK v2.0.0.0中的一个错误(如果要使用开发存储,则需要在连接字符串中使用DevelopmentStorageProxyUri).这些是变通办法:

This is a bug in v2.0.0.0 of the storage SDK (it requires you to use DevelopmentStorageProxyUri in the connection string if you're working with development storage). These are the workarounds:

  • 不要使用模拟器
  • 运行提琴手并通过 DevelopmentStorageProxyUri 设置: CloudStorageAccount.Parse("UseDevelopmentStorage = true; DevelopmentStorageProxyUri = http://ipv4.fiddler");
  • 直接引用存储帐户: CloudStorageAccount.DevelopmentStorageAccount;

这篇关于Azure 2012年10月SDK打破UseDevelopmentStorage = true的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆