我怎么知道我使用Azure存储code是要由即将推出的API版本去除2015年12月的影响?
我已经得到了来自微软的电子邮件说低版本的存储服务都将在2015年12月被移除
I've got an email from Microsoft saying lower versions of Storage Service are going to be removed in December 2015.
我们的应用程序使用的Azure SDK 1.8和2.0。
Our applications use Azure SDK 1.8 and 2.0.
我们如何检查确认,如果我们通过这个变化影响?
How do we check for sure if we're impacted by this change?
我不知道如何跨preT的细节,这封信(如果需要的最低SDK版本是2.0或2.1不明确),所以最好的办法是自己进行验证。开始提琴手和运行有问题的code,看看哪些 X-MS-版本
头连接请求。
I'm not sure how to interpret the details in that letter (not clear if the lowest required SDK version is 2.0 or 2.1), so the best bet is to validate it yourself. Start Fiddler and run the code in question and see which x-ms-version
headers are attached to the request.
例如,你可以尝试 CloudBlob.DownloadToFile()
。提琴手会显示这样的要求:
For example, you might try CloudBlob.DownloadToFile()
. Fiddler will show a request like this:
GET /path/to/specific/blob/here?timeout=600 HTTP/1.1
和请求头中,你可能会看到这个(如果你使用SDK 1.8)
and among the request headers you might see this (if you use SDK 1.8)
x-ms-version: 2011-08-18
这意味着code目标API版本 2011-08-18
。因为这将被保留的最早API版本 2012-02-12
这将意味着你的影响。
which means that the code targets API version 2011-08-18
. Since the earliest API version that will be kept is 2012-02-12
that would mean you're affected.
我不知道SDK 2.0,但你可以自己使用相同的技术很容易地检查它。
I'm not sure about SDK 2.0 but you can easily check it yourself using the same technique.