New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
.NET Standard support for Table API #344
Comments
@SeanFeldman which API are you consuming (Table API/document API)? |
Table API @kirankumarkolli |
@SeanFeldman table API standard version is tracked for the end of year. |
Thank you @kirankumarkolli Not to be a PITA, but could you please either assign some milestone to this issue (I've renamed it to be more accurate) or raise another one? Even a label like |
Labeled it as Table. |
@SeanFeldman DocumentDB Client SDK has a .NET Standard version which we released last year https://docs.microsoft.com/en-us/azure/cosmos-db/documentdb-sdk-dotnet-core As Kiran mentioned, we would be releasing .NET Standard for Premium Table SDK in the near future. |
Thank you @rnagpal. I was specifically asking about Tables API 🙂 |
|
Microsoft has two different table offerings, Azure Table storage and Azure Cosmos DB Table API. They each target different audiences but use the same SDK. You can get a clear idea of how to choose which service by looking at https://docs.microsoft.com/en-us/azure/cosmos-db/table-introduction. I'm also tracking down the .net standard issue now with @kirankumarkolli |
Thank you. @yaronyg |
@SeanFeldman we don't currently support .net standard for Tables API but we do intend to eventually fix it. |
@yaronyg any idea on the bulk part when to expect it? |
@SeanFeldman not sure what you mean by bulk part? |
@yaronyg ETA w/o overcommitting |
@SeanFeldman Sorry for the slippage, but currently this is planned for the first 1/2 of 2018. |
It looks like a new version of the package hit nuget last week without netstandard support. Any updates to when we can expect to see that? |
We are still on the same schedule as I previously specified, first 1/2 of 2018. |
Is there any way to use TableAPI in Cosmo from a dot net core application at the moment, going through the older Windows.Storage libraries? I'm working on a large ish project and if i can't get table support then it will be AWS or similar instead. |
Can I get a rain check on this please? |
Azure Cosmos table API is REST protocol compliant with Azure table storage. .NET standard Widnows storage SDK can be leveraged as an alternative. |
@kirankumarkolli while it's true that the API is a REST protocol at heart, when working with .NET stack, you want to use a .NET SDK client rather than REST API. You can prepare pizza dough, all the ingredients, and bake the pizza at home. Or can go to the restaurant. Relating to the metaphore, I guess we're paying by waiting @aboo 🙂 |
Cannot agree more with @SeanFeldman |
First 1/2 of 2018 is almost upon us - should we look for alternative approaches? |
@yaronyg Are we still on track? Is there anything we can do to speed this along? 16 days left... |
@MisinformedDNA @kirankumarkolli is a better person to ask than me. :) |
Side note: All data in CosmosDB is stored the same underneath using its proprietary architecture and just exposed with different interfaces, so you can use any of the other APIs to get the same performance and scale. The Cassandra data model is a similar wide-column style to Azure Tables and it supports pretty much all of the same operations. The existing Storage Tables API also isn't going anywhere, and the pricing model is different too. |
Ok, it is October. Any updates on this? |
We are almost there. We expect to push out the preview version of the .NET Standard SDK during the week of 10/15. Really appreciate your patience with us so far waiting for this release. |
Will this preview .NET Standard SDK be released through NuGet? |
We really want to go on and use Cosmos DB. :( Any updates? |
Well, not sure what the issue is but personally I'm not very optimistic that this package will be released any time soon. How hard is it to write a client for an API? and CosmosDb is already there and Tables is just a simple dialect of CosmosDB. I've delayed a part of our project for over 6 months now waiting for this client to be released. We are using CSV files at the moment. I wish we had implemented our own client at the time. If the team could push whatever they have, the community will finish it. |
Hi all, thank you for your patience all this time. We just released a preview of the .NET Standard SDK for Cosmos DB Table API. You can download it here. We aim to pick up the pace of development in the future. Please send us feedback and we will address them as quickly as we can. Thanks! |
Just confirming that this work :) Apparently it only supports Cosmos DB Tables at the moment and if you try it with Storage tables you will get an error saying it's not supported. Here is a link to the release note page. I followed the .Net Framework samples and was able to create a table, add an item and query the table successfully. Would be great if someone from the dev team can share the road map for this package. Thanks so much. A bit late but hey late is always better than never ;) |
Given the client is for Azure *Cosmos DB Table* .NET Standard *API*, I'd
not expect it to work Storage Tables 🙂
|
Can anyone confirm whether the SDK will be updated to support Azure Storage Table endpoints? Trying to figure out whether we will have to migrate to CosmosDB instead of Azure Storage at some point to have access to latest SDK updates. I hope no as the CosmosDB pricing is way too different from Azure Storage and does not match our requirements... |
Well @wmengmsft - you asked, so here it is. What a cluster **** this is. We have been using
Azure has grown immeasurably since we first adopted the platform - and quite frankly it looks like it's about to blow apart at the seams. The various platform teams need to sit down in a big room and sort this stuff out. Right now I'm totally stuck - rewrite a bunch of code to support an older version of the Storage Library, or just park a giant investment in the future of out platform until the technology we depend on gets itself together |
We are at the point of selecting a cloud provider and services. Azure Table Storage, as well as CosmosDB Tables, are a good fit for one of our core needs but it has to be .NET Standard compliant. When can we expect the .NET Standard support for CosmosDB Tables to be complete and ready for production and is there a definitive period for which it will be maintained? |
@dlouwers, the .NET Standard SDK will be maintained for extended period of time (all foreseeable future). The goal is to make it the defacto .NET library for Table API. Currently we are looking to get to GA by early next year (around Jan). |
Just start re-implementing my library using the .Net Standards package. Noticed that the StorageCredentials class was reimplemented, but lacks the constructor that takes a Sas-powered Url to the Azure storage table: Example: (Old) .Net Framework: The StorageCredentials class in "new" exists in the Microsoft.Azure.Cosmos.Table namespace, while the class in "old" exists in the Microsoft.Azure.Storage.Auth namespace. Are we going to get a constructor that takes a Sas key-powered Uri? Using a Sas key-powered Uri is a more secure way to access an Azure storage table - it means we don't have to expose the storage account key. Thoughts? |
@geekcubed is very right. This is a complete mess. Also there is a severe lack of proper communication with the community about this. To add to all the problems, this package https://www.nuget.org/packages/Microsoft.Azure.Cosmos.Table does not support Microsoft_WindowsAzure_Storage_Table_CloudTableClient_BufferManager Microsoft_Azure_CosmosDB_Table_CloudTableClient_BufferManager Moreover, |
Hi, Been trying out the Microsoft.Azure.Cosmos.Table -Version 0.9.1-preview. If i new up a .net core console app project, and call methods in my .net standard library that uses the .net standard version of Microsoft.Azure.Cosmos.Table, everything seems to work just fine. However, calling the exact same methods from my Azure Function fires Storage Exceptions: Exception while executing function: NewFunction. It seems to me, that this must be a versioning issue, with using a constructor method that has changed? Or it can be a binding redirect issue, that Azure Functions suffers from, especially with versions of Json. But if I can get it to work fine calling it from a .Net Core app, I really should be able to get it working using Azure functions. Any help - or ideas? |
Is Table API client going to GA at some point soon? I'm not asking for a specific date, but to have an idea where this is heading. Some customers do not want to touch a nuget that is in it's first preview state. Thank you. |
@SeanFeldman , there are a couple items we are actively working through for the new Table API SDK before going GA:
We are targeting a GA release sometime towards the latter part of this quarter. |
@wmengmsft Interesting that you have to make your code "ready" to be open-sourced, instead of just developing in the open. |
@geekcubed I can feel your pain from across the planet. I need help folks. I have a Azure Bot Service application built on .NET Core that needs to use Azure Table Storage and the Table storage APIs are not supported for .NET Core. What do I do now? I need a solution within a week. What do I tell the stakeholders? |
@raghukrishnamoorthy - I've just used v9.3.2 of WindowsAzure.Storage : we went with that and have been running it in our dev stack for 3 months with no issues, and will take it production shortly. We'll continue to use it for Table Storage support until CosmosDB get their library sorted (which we already use to connect to CosmosDB itself) |
@geekcubed Are there any samples using that version of the WindowsAzure.Storage library? I need basic persistence and retrieval. That's all. |
@geekcubed I googled and tried the examples and had some problems running the samples on the docs site. Nonetheless, thanks for the snarky response. I'll poke around some more. Have a good one :) |
I am a bit confused on the Azure Table Storage support for this new library. It seems to work in my tests, but the name of the library clearly says it is for CosmosDB. Will this library officially support both Azure Table Storage and Cosmos DB Table API? |
@geekcubed, have you looked at our new .NET Standard Table SDK? It now supports Azure Storage Table endpoints as well. @raghukrishnamoorthy, I hope the above SDK can solve your needs. Here is a sample available here. Please let us know if you encounter any issues using it. @ilya-git, yes, this SDK officially supports both Azure Table and Cosmos DB Table API endpoints. |
Thank you for the answer, is it already possible to use that one in production or is it premature for that? I have tried using |
That is a big deal - I have been waiting for Azure Storage Table support for since May 2018. |
Is there a reason why the new SDK is a brand new package at https://www.nuget.org/packages?q=microsoft.azure.cosmos This will end up causing more confusion in an already confusing list of SDKs. I highly recommend consolidating these library names while they are still new. |
@manigandham I can only assume that multi-targetting is not possible with |
CosmosDB Table API is promoted as the replacement for Table Storage.
Table Storage has support for .NET Standard. This library doesn't.
Almost a year ago, it was mentioned that work on .NET Standard 1.6 is in progress and should be shortly released.
As of today, the latest version of the CosmosDB .NET client does not support .NET Standard.
This impedes migration plans for those that have to support .NET Standard.
Please provide an update and/or a milestone.
Update: latest client package name has changed to
Microsoft.Azure.CosmosDB.Table
The text was updated successfully, but these errors were encountered: