MicrosoftDocs / azure-docs

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

When using service bus trigger in Web Job location connection string in configuration of is not documented #40406

Open richardcox13 opened 4 years ago

richardcox13 commented 4 years ago

The name of an app setting that contains the Service Bus connection string to use for this binding. If the app setting name begins …

Reference to app settings assumes configuration in Azure Portal, but that doesn't work when running a web job project locally for debugging. Nor does it help when using Key Vault for secrets,

The documentation should state where in the usual core configuration (appsettings.json) this value is looked up (other configuration source naming can be easily derived from this by the reader).

It seems based on the source and other docs that it comes from the ConnectionStrings section when using IConfiguration.

But why did I have to hunt through the source code?


Document Details

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

mike-urnun-msft commented 4 years ago

@richardcox13 Thank you for your feedback! We will review and update as appropriate.