Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cosmos DB Table API with .NET Core

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

like image 962
muhihsan Avatar asked May 30 '26 05:05

muhihsan


2 Answers

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.

like image 142
Sipke Schoorstra Avatar answered May 31 '26 18:05

Sipke Schoorstra


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.

like image 31
Sajeetharan Avatar answered May 31 '26 17:05

Sajeetharan