简体   繁体   English

从Windows Azure存储客户端库2.1升级到3.0

[英]Upgrading from Windows Azure Storage Client Library 2.1 to 3.0

I'm upgrading a project from .NET MVC 4.0 to 5.0. 我正在将项目从.NET MVC 4.0升级到5.0。 Mostly just upgrading NuGet packages has worked without changes to the code; 大多数情况下,升级NuGet程序包无需更改代码即可正常工作。 however, there appear to be some rather large changes when upgrading the Azure Storage Client. 但是,升级Azure存储客户端时似乎会有一些相当大的变化。

I now have a ton of build errors - the BlobRequestOptions class seems to have lost several members like the DeleteSnapshotsOption and UseFlatBlobOption members, and CloudBlobContainer no longer has the function CreateIfNotExists. 我现在有很多构建错误-BlobRequestOptions类似乎丢失了几个成员,如DeleteSnapshotsOption和UseFlatBlobOption成员,并且CloudBlobContainer不再具有功能CreateIfNotExists。

Does anyone know of a migration guide for upgrading from previous Azure Storage Client versions to 3.0? 有谁知道从以前的Azure存储客户端版本升级到3.0的迁移指南? Or maybe I'm missing something dumb and easy? 还是我想念一些愚蠢而简单的东西?

The migration guide from 1.7 to 2.0 should help you with the migration. 从1.7到2.0的迁移指南应该可以帮助您进行迁移。 Although we have a few breaking changes in 3.0(listed here ), there should not be any major change between 2.0 and 3.0. 尽管我们在3.0( 此处列出)中做了一些重大更改,但2.0和3.0之间不应有任何重大更改。 Please let us know if you have any issues upgrading to the latest 3.X version and we can help. 如果您在升级到最新的3.X版本时遇到任何问题,请告诉我们,我们将为您提供帮助。

We strongly encourage you to upgrade to the latest version because it includes a ton of new features, broader platform compatibility, better performance and revisions to address the great feedback that customers have given us over time. 我们强烈建议您升级到最新版本,因为它包括大量的新功能,更广泛的平台兼容性,更好的性能和修订,以解决客户长期以来给我们的反馈。 In addition to that, the 3.X libraries also support the 2013-08-15 Storage REST version that introduced all these great features . 除此之外,3.X库还支持引入了所有这些出色功能的2013-08-15 Storage REST版本。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM