Skip to content

Commit 50d48bc

Browse files
authored
Merge pull request #63 from seesharprun/update-guids
Update GUIDs
2 parents d8f9bba + 7a1db30 commit 50d48bc

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

assets/web.png

-623 Bytes
Loading

azure.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,16 @@ hooks:
1818
windows:
1919
run: |
2020
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
2123
shell: pwsh
2224
continueOnError: false
2325
interactive: true
2426
posix:
2527
run: |
2628
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
2731
shell: sh
2832
continueOnError: false
2933
interactive: true

src/services/DemoService.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public async Task RunAsync(Func<string, Task> writeOutputAync)
3131

3232
{
3333
Product item = new(
34-
id: "68719518391",
34+
id: "aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb",
3535
category: "gear-surf-surfboards",
3636
name: "Yamba Surfboard",
3737
quantity: 12,
@@ -51,7 +51,7 @@ public async Task RunAsync(Func<string, Task> writeOutputAync)
5151

5252
{
5353
Product item = new(
54-
id: "68719518371",
54+
id: "bbbbbbbb-1111-2222-3333-cccccccccccc",
5555
category: "gear-surf-surfboards",
5656
name: "Kiama Classic Surfboard",
5757
quantity: 25,
@@ -70,7 +70,7 @@ public async Task RunAsync(Func<string, Task> writeOutputAync)
7070

7171
{
7272
ItemResponse<Product> response = await container.ReadItemAsync<Product>(
73-
id: "68719518391",
73+
id: "aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb",
7474
partitionKey: new PartitionKey("gear-surf-surfboards")
7575
);
7676

0 commit comments

Comments
 (0)