Friday, October 07, 2016
Passing parameters from a resource group template in Azure to a WebJob
As it turns out, WebJobs retrieve their connectionStrings and appSettings from the Azure app service blade settings, same as the web application in which they're running! You can just use the built-in "connectionstrings" and "appsettings" resources underneath a Web Application in your Resource group template to populate these values for the WebJobs right from your template. This is particularly useful for things like WebJobs dashboard and storage connection strings. Microsoft could really have done a better job of advertising this fact.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment