MicrosoftDocs / azure-docs

Open source documentation of Microsoft Azure
https://docs.microsoft.com/azure
Creative Commons Attribution 4.0 International
10.2k stars 21.35k forks source link

Update to the "Run" method section, "In-process model", copy element that begins with "[CosmosDB( ... " #120443

Open garyciampa opened 6 months ago

garyciampa commented 6 months ago

Hey folks, it appears an update is required, needed for a small snippet of code listed "here"

You will see the code reads:

[CosmosDB(databaseName: "my-database", collectionName: "my-container", ConnectionStringSetting = "CosmosDbConnectionString" )]IAsyncCollector documentsOut,

And should read:

[CosmosDB(databaseName: "my-database", containerName: "my-container", Connection = "CosmosDbConnectionString" )]IAsyncCollector documentsOut,

IOW: replace "collectionName" with "containerName" and "ConnectionStringSetting: with "Connection" .. The code in the following section is correct. Section that starts with "At this point, ... "

Cheers


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

SaibabaBalapur-MSFT commented 6 months ago

@garyciampa Thanks for your feedback! We will investigate and update as appropriate.

ggailey777 commented 6 months ago

Thanks @garyciampa I'm in the process of refreshing this article anyway, so thanks for the reminder!

reassign:ggailey777

garyciampa commented 6 months ago

All the best .. Sent from my iPhoneOn Mar 5, 2024, at 17:07, Glenn Gailey @.***> wrote:Re: [MicrosoftDocs/azure-docs] Update to the "Run" method section, "In-process model", copy element that begins with "[CosmosDB( ... " (Issue #120443)Thanks @garyciampa I'm in the process of refreshing this article anyway, so thanks for the reminder!#reassign:ggailey777—Reply to this email directly, view it on GitHub or unsubscribe.You are receiving this email because you were mentioned.Triage notifications on the go with GitHub Mobile for iOS or Android.