我可以在这里看到有关如何使用.NET的Cosmos DB Table API的文档https://docs.microsoft.com/en-us/azure/cosmos-db/tutorial-develop-table-dotnet .
但我无法使用.NET Core项目 . 有没有办法对.NET Core的Cosmos DB Table API进行工作调用?
谢谢
我可以在这里看到有关如何使用.NET的Cosmos DB Table API的文档https://docs.microsoft.com/en-us/azure/cosmos-db/tutorial-develop-table-dotnet .
但我无法使用.NET Core项目 . 有没有办法对.NET Core的Cosmos DB Table API进行工作调用?
谢谢
2 回答
目前没有Cosmos DB Table API的.NET Core版本,但他们正在努力 . 请参阅以下GitHub问题:https://github.com/Azure/azure-cosmosdb-dotnet/issues/344 .
从one of the comments那里:
您需要将以下nuget包添加到dotnet核心项目中
dotnet add package Microsoft.Azure.DocumentDB.Core
我在Wear out the features of Azure CosmosDB with AspNetCore application写了一篇博客
EDIT
单击“安装”以安装Microsoft.Azure.CosmosDB.Table库 . 这将安装Azure Cosmos DB Table API包和所有依赖项 .