Граф коммитов

194 Коммитов

Автор SHA1 Сообщение Дата
j82w e1ef934997 Bump samples to 3.5.1 and remove old CodeSamples (#1095)
* Bump samples to 3.5.1

* Switch to using * to always get the latest nuget version.

* Removed deprecated samples
2019-12-12 14:30:51 +05:30
abhijitpai 94d517b692 Batch sample project rename and other doc fixes (#1051)
* Rename Batch in Samples to TransactionalBatch. General doc fixes to fix non-displayed / stray links.

* Minor for consistency

* Update Microsoft.Azure.Cosmos/src/Serializer/CosmosSerializer.cs

Co-Authored-By: Matias Quaranta <ealsur@users.noreply.github.com>

* Remove en-us from link
2019-11-27 21:49:09 +05:30
abhijitpai 14849dcf45 Samples for Batch API (#941)
* Batch API Sample

* Dispose BatchResponse consistently for simplicity

* More polish to sample

* Minor typos

* Minor cleanup bug

* Unexpected error handling; minor tweaks

* Dispose the streams

* Use SDK v3.4
2019-11-09 00:06:06 +05:30
Matias Quaranta a8605e80b1 Updating package (#975) 2019-11-07 02:03:48 +05:30
j82w 563bd2511f Update samples to 3.3.1 (#907) 2019-10-14 19:37:24 +05:30
j82w 712f0d8d37 Bump the samples to version 3.3.0 (#887) 2019-10-10 20:21:02 +05:30
Sean Feldman b240f849e0 Removed unused variable (#849) 2019-09-26 02:04:19 +05:30
Matias Quaranta 48781d8576 Adding IndexManagement samples (#841)
* Adding project

* ExplicitlyExcludeFromIndex

* Other samples

* Adding project to SLN
2019-09-24 23:26:21 +05:30
j82w 6022471bc6 Updated samples to 3.2.0 and added diagnostics examples (#832) 2019-09-24 23:21:29 +05:30
Thomas Weiss 846cd0ec9e Added schema validation handler sample (#826)
* Added schema validation handler sample

* Fixed request stream management in schema validation handler
2019-09-24 23:14:48 +05:30
Matias Quaranta 6459cec853 Adding Change Feed Processor code migration sample (#782)
* Adding migration sample

* Adding more options

* Code comments

* comments
2019-09-17 02:12:31 +05:30
Matias Quaranta 2f1178635b Adding sample for Bulk support (#787)
* Adding sample

* Removing comparison

* texts

* Using continuewith

* Counting
2019-09-12 22:18:55 +05:30
Naveen Singh e6510130dd Adding sample to run powershell rest api (#680)
* initial commit

* removing unnecessary code

* removing extra entry from csproj file

* moving powershell samples from codeSamples to Usage

* removing sln change fir codeSamples

* adding assembly for system.web
2019-08-15 09:05:33 +05:30
Matias Quaranta 52cf88eb05 ChangeFeed Samples (#673)
* Adding sample

* Moving to usage

* packages

* Adding extra tag for docs
2019-08-14 08:41:23 +05:30
j82w c636322f4a Updated sample to use 3.1.1 and added CosmosSerializationOptions sample (#669) 2019-08-13 02:33:06 +05:30
kirankumarkolli fd82f6bc9a Including publish artifacts 2019-08-07 01:10:53 +05:30
j82w 5c1315add3 Updating samples to 3.1.0 nuget. (#609)
* Updating samples to 3.1.0 nuget. Fixed bug in scripts sample.

* Fixed typo in pull request template
2019-07-30 22:23:03 +05:30
JamesHyot 6e2609f357 Added missing count increment causing Assert to never fail (#598) 2019-07-25 23:26:39 +05:30
Jesus Santander 099124028f Fixing typo error. (#594) 2019-07-25 23:25:28 +05:30
kirankumarkolli dbfcee7b7e
README.md for Benchamrk tool 2019-07-20 05:29:37 +05:30
kirankumarkolli 1655624f03
Draft of nenchamrk tool with V3 SDK. (#579) 2019-07-20 05:13:01 +05:30
kirankumarkolli 72e95c8baf
Samples refractored into "usage", "Tools" & "Scenarios" groups. (#577)
First draft snapshotting existing CodeSamples to "Usage"
2019-07-20 00:01:22 +05:30
j82w b8587acae4 Updated to 3.0.0 GA nuget (#534) 2019-07-13 01:30:09 +05:30
Naveen Singh 0e1e2f31d5 updating samples to rc version (#505) 2019-07-02 21:28:28 +05:30
Naveen Singh 5a42906874 adding repo snippet code for documents (#487) 2019-06-26 23:21:01 +05:30
Naveen Singh a32aa719f7 Samples updated to latest cosmos sdk client (#470)
* initial commit

* initial commit

* reverting  change from linw pr which got in by mistake

* reverting change for item test

* reverting change for item test , replacing the file itself with master
2019-06-20 05:09:16 +05:30
Vincent Biret fe1c18a874 replaced lazy by consistent indexing to get free socks :) (#418)
* added comment on lazy indexing to get free socks :)

* replaced custom policy by a recommended one
2019-06-15 02:41:20 +05:30
Matias Quaranta ce56d9b9ee Updating samples for 3.0.0.17 (#396)
* functions

* container

* databases

* items

* nonpk

* queries

* scripts

* Fixing queries

* Fixing script

* shortcut
2019-06-10 18:21:38 +05:30
Matias Quaranta ca0b972cf1 Adding environment support (#383) 2019-06-07 19:06:01 +05:30
Matias Quaranta 859ba9d737 Documentation: System properties (Json property documentation) (#347)
* Adding sample

* Adding comment

* Addressing comments

* Tests

* More texts
2019-06-01 06:28:40 +05:30
Pradeep a0b2449c92 V3 SDK Samples demonstrating various operations on pre-existing NP collections (#195)
* Adding a sample for performing various operation on Container migrated with a system partition key.

* Use DeviceId for partition key to match documentation.

* Addressing comments

* Resolved comments

* Refreshing commenting stye
2019-05-12 20:08:35 +05:30
kirankumarkolli 134452746d
Forcing samples to use nuget.org always (#237)
* Revert "Fixing samples build break (#236)"

This reverts commit cda890337e.

* Force samples to Nuget.org only
2019-05-11 02:12:45 +05:30
kirankumarkolli cda890337e
Fixing samples build break (#236) 2019-05-10 22:22:54 +05:30
Matias Quaranta 59ef6e42c7 using DI (#198) 2019-05-10 13:57:22 +05:30
j82w fd72b1b4bb Updated sample to use v3.0.0.10-Preview (#187) 2019-05-07 02:20:14 +05:30
kirankumarkolli 389f7f76c0
Merge pull request #20 from arturek/patch-1
Fixed code sample
2019-03-04 20:16:01 +05:30
Naveen Kumar Singh 36e431ce1a Merged PR 191103: Correcting spelling mistake for CreateStoredProceducreAsync
Miscellaneous typo fix   as per https://github.com/Azure/azure-cosmos-dotnet-v3/issues/45 , https://github.com/Azure/azure-cosmos-dotnet-v3/issues/41

Related work items: #378054
2019-02-28 22:07:38 +00:00
Jake Willey bf4bca5026 Merged PR 175684: Converted samples to use nuget, and updated all sample projects to use async main.
Converted samples to use nuget, and updated all sample projects to use async main.

Related work items: #337637
2018-12-26 17:47:19 +00:00
Artur Zgodziński 76f0d9dfc8
Fixed code sample
I haven't tested it at all.
BTW, it seems there's still a chance that setBody will fail with the REQUEST_ENTITY_TOO_LARGE error.
2018-12-24 13:57:53 +00:00
Matias Quaranta b8ad242995 Merged PR 174077: Adding Azure Functions sample
As requested in https://github.com/Azure/azure-cosmos-dotnet-v3/issues/10, adding Azure Functions V2 sample.

Also adding some missing Samples CSPROJ files.

Related work items: #333833
2018-12-20 19:52:59 +00:00
REDMOND\gaausfel 64237853b1 Add handler samples 2018-12-03 13:30:27 -08:00
REDMOND\gaausfel a21b6e934c Add handler samples 2018-12-03 13:30:27 -08:00
REDMOND\gaausfel 4d35e9ce6a add source 2018-11-30 19:06:23 -08:00
REDMOND\gaausfel 7e49190e51 add source 2018-11-30 19:06:23 -08:00