azure - Azure.ConfigurationManager 与 .Net Core 兼容吗?

标签 azure azure-storage azure-blob-storage

我正在使用 .Net Core v1.0,并且想在我的应用程序中使用 Azure 表存储。我通过 NuGet 成功安装了 Azure.Storage 包,但是当我安装 Azure.ConfigurationManager 包时,我在执行 dotnet 还原时收到此错误:

Package Microsoft.WindowsAzure.ConfigurationManager 3.2.1 is not compatible with netcoreapp1.0 (.NETCoreApp,Version=v1.0).
Package Microsoft.WindowsAzure.ConfigurationManager 3.2.1 supports: net40 (.NETFramework,Version=v4.0)
    One or more packages are incompatible with .NETCoreApp,Version=v1.0.

有办法解决这个问题吗?如果没有 ConfigurationManager,我仍然可以使用 Azure 表存储吗?

谢谢!

编辑(2016 年 10 月 4 日):
看来您可以在没有 ConfigurationManager 的情况下使用 Azure 表存储,但您将无法在运行时访问和修改应用程序设置。 Storage Configure Connection String - Parsing a Connection String

最佳答案

Azure.ConfigurationManager 与 .NET Core 不兼容。

ConfigurationManager 是可选的,因此对于使用 Azure 表存储来说不是必需的。另外,您还可以使用 .NET Framework 的 ConfigurationManager Class 作为替代品。

Storage Configure Connection String - Parsing a Connection String

关于azure - Azure.ConfigurationManager 与 .Net Core 兼容吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39854081/

相关文章:

azure - 如何在 Azure DevOps 中等待 Azure 数据工厂管道完成?

Azure 存储 - 每个容器的自定义域

c# - 审核添加到 Azure 表存储的行

Silverlight clientaccesspolicy.xml 和 Azure 开发存储

python - 如何在azure blob上保存spark-df-profiling生成的html报告?

azure - Windows Azure Blob 中的 block 读取问题

azure - 如何防止逻辑应用(标准)中调用的工作流操作重试

azure - Azure 认知搜索的准确性指标

azure - Windows Azure 存储成员资格 Blob 权限

Azure 存储 blob 容器使用 ARM 分配 RBAC