David Klempfner
David Klempfner

Reputation: 9930

Can't find Azure webjob's App.config in Kudu

I have an Azure webjob running which is a .NET 4.6.1 console application.

My project has an App.config file, however I can't find it in Kudu.

I'd like to see what settings are being used.

Where can I find it in Kudu?

enter image description here

Upvotes: 0

Views: 716

Answers (1)

Harshitha Veeramalla
Harshitha Veeramalla

Reputation: 1753

  • app.config file will not be deployed to Azure.
  • We cannot access the app settings from Azure WebJobs directly, we can access the AppSettings in the Azure portal.
  • WebJobs are console app, it uses the environment variables stored in the system, which is different from the AppSettings in the Azure portal.
  • Azure WebJobs uses environment variables instead of configuration files.

enter image description here

Please refer Configuring Azure Web Jobs and SO Thread for more information.

Upvotes: 1

Related Questions