File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -18,12 +18,16 @@ hooks:
18
18
windows :
19
19
run : |
20
20
dotnet user-secrets set "CONFIGURATION:AZURECOSMOSDB:ENDPOINT" "$env:CONFIGURATION__AZURECOSMOSDB__ENDPOINT" --project ./src/web/Microsoft.Samples.Cosmos.NoSQL.Quickstart.Web.csproj
21
+ dotnet user-secrets set "CONFIGURATION:AZURECOSMOSDB:DATABASENAME" "$env:CONFIGURATION__AZURECOSMOSDB__DATABASENAME" --project ./src/web/Microsoft.Samples.Cosmos.NoSQL.Quickstart.Web.csproj
22
+ dotnet user-secrets set "CONFIGURATION:AZURECOSMOSDB:CONTAINERNAME" "$env:CONFIGURATION__AZURECOSMOSDB__CONTAINERNAME" --project ./src/web/Microsoft.Samples.Cosmos.NoSQL.Quickstart.Web.csproj
21
23
shell : pwsh
22
24
continueOnError : false
23
25
interactive : true
24
26
posix :
25
27
run : |
26
28
dotnet user-secrets set "CONFIGURATION:AZURECOSMOSDB:ENDPOINT" "$CONFIGURATION__AZURECOSMOSDB__ENDPOINT" --project ./src/web/Microsoft.Samples.Cosmos.NoSQL.Quickstart.Web.csproj
29
+ dotnet user-secrets set "CONFIGURATION:AZURECOSMOSDB:DATABASENAME" "$CONFIGURATION__AZURECOSMOSDB__DATABASENAME" --project ./src/web/Microsoft.Samples.Cosmos.NoSQL.Quickstart.Web.csproj
30
+ dotnet user-secrets set "CONFIGURATION:AZURECOSMOSDB:CONTAINERNAME" "$CONFIGURATION__AZURECOSMOSDB__CONTAINERNAME" --project ./src/web/Microsoft.Samples.Cosmos.NoSQL.Quickstart.Web.csproj
27
31
shell : sh
28
32
continueOnError : false
29
33
interactive : true
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ public async Task RunAsync(Func<string, Task> writeOutputAync)
31
31
32
32
{
33
33
Product item = new (
34
- id : "68719518391 " ,
34
+ id : "aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb " ,
35
35
category : "gear-surf-surfboards" ,
36
36
name : "Yamba Surfboard" ,
37
37
quantity : 12 ,
@@ -51,7 +51,7 @@ public async Task RunAsync(Func<string, Task> writeOutputAync)
51
51
52
52
{
53
53
Product item = new (
54
- id : "68719518371 " ,
54
+ id : "bbbbbbbb-1111-2222-3333-cccccccccccc " ,
55
55
category : "gear-surf-surfboards" ,
56
56
name : "Kiama Classic Surfboard" ,
57
57
quantity : 25 ,
@@ -70,7 +70,7 @@ public async Task RunAsync(Func<string, Task> writeOutputAync)
70
70
71
71
{
72
72
ItemResponse < Product > response = await container . ReadItemAsync < Product > (
73
- id : "68719518391 " ,
73
+ id : "aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb " ,
74
74
partitionKey : new PartitionKey ( "gear-surf-surfboards" )
75
75
) ;
76
76
You can’t perform that action at this time.
0 commit comments