Closed SnehaGunda closed 5 years ago
No issues were found in this pull request.
No issues were found in this pull request.
No issues were found in this pull request.
@ThomasWeiss @markjbrown I made some updates for the code sample to create and perform other operations on partitioned containers. can you please review.
Addresses this Git issue: https://github.com/MicrosoftDocs/azure-docs/issues/23792
@SnehaGunda This sample uses a pretty old version of the .NET SDK and I think we should expose the most up-to-date experience instead:
CreateDatabaseIfNotExistsAsync
and CreateDocumentCollectionIfNotExistsAsync
, which simplifies the codeLet me know if you have questions or run into issues, thanks!
@SnehaGunda I would echo what @ThomasWeiss said w.r.t this:
I tried the sample afresh and when i install latest DocumentDB from NuGet, the sample doesn't work and i had to remove Documents.Client reference.
After this there is this issue of PartitionKey and i believe your commits should fix that.
@ThomasWeiss and @harshan007 Apologies for the long delay, I updated the package to the 2.2.3 version. When users download the sample and restore the Nuget packages, it should run successfully. I will now merge this PR.
Merge pull request #13 from SnehaGunda/master