【问题标题】:Which Azure Blob client library to use? Microsoft.Azure.Storage.Common or WindowsAzure.Storage?要使用哪个 Azure Blob 客户端库? Microsoft.Azure.Storage.Common 还是 WindowsAzure.Storage?
【发布时间】:2019-03-07 14:36:20
【问题描述】:

在使用 .NET Framework 4.7.1 时,哪个客户端库是正确的?

Microsoft.Azure.Storage.CommonWindowsAzure.Storage?

【问题讨论】:

    标签: .net azure azure-storage


    【解决方案1】:

    您应该使用 WinowsAzure.Storage

    Install-Package WindowsAzure.Storage
    

    在公众GitHub repository 中,他们建议不要直接引用 Microsoft.Azure.Storage.Common:

    Azure 引用了适用于 .NET 的 Microsoft Azure Storage Common SDK 存储 Blob/队列/文件 SDK 和 Azure CosmosDB 表 SDK,应该 不被您的应用程序直接引用

    延伸阅读:Azure Storage APIs for .NET

    【讨论】:

    • 非常感谢。除了官方链接之外,还有关于“Microsoft.Azure.Storage.Common”库的任何历史/信息吗?什么时候应该使用它或者它为什么存在?
    猜你喜欢
    • 2020-08-22
    • 2018-02-24
    • 2012-04-13
    • 2022-01-07
    • 2022-12-15
    • 2012-10-26
    • 2021-05-21
    • 1970-01-01
    相关资源
    最近更新 更多