Reputation: 2350
I can see documentation on how to use Cosmos DB Table API with .NET here https://learn.microsoft.com/en-us/azure/cosmos-db/tutorial-develop-table-dotnet.
But I can't make this work with .NET Core project. Is there a way to make a working call to Cosmos DB Table API for .NET Core?
Thanks
Upvotes: 3
Views: 2310
Reputation: 390
If you're looking to develop .NET Standard applications for Azure Cosmos DB Table API, you should install the Microsoft.Azure.Cosmos.Table package
You can check out the NuGet specs here:https://www.nuget.org/packages/Microsoft.Azure.Cosmos.Table
Upvotes: 0
Reputation: 3409
There's currently no .NET Core version of the Cosmos DB Table API, but they are working on it. See the following GitHub issue: https://github.com/Azure/azure-cosmosdb-dotnet/issues/344.
From one of the comments there:
We are fully committed to delivering a .Net Standard SDK for Table API. We are tracking for delivery by October or before.
Upvotes: 4
Reputation: 222722
You need to add the following nuget package to the dotnet core project
dotnet add package Microsoft.Azure.DocumentDB.Core
I have written a blog on Wear out the features of Azure CosmosDB with AspNetCore application
EDIT
Click Install to install the Microsoft.Azure.CosmosDB.Table
library. This installs the Azure Cosmos DB Table API package and all dependencies.
Upvotes: 1