Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I view the final appSettings values on an Azure App Service web app?

I have an ASP.NET MVC app deployed to Microsoft Azure App Service and am having some trouble with the appSettings and connectionStrings values.

I have some values set in the web.config and some values overriding them in the Application Settings tab of the App Service. I want to quickly and easily view the final values to check that the settings are being picked up correctly.

How can I do this?

Note: I've tried using az webapp config appsettings list but this only seems to bring back what is configured in the Application Settings of the App Service and not the merged results of combining with web.config.

like image 644
John Mills Avatar asked Oct 23 '25 14:10

John Mills


1 Answers

You may also use the following blades in Azure Portal (under Development Tools section):

enter image description here

Console

In order to see the file, you may use type command, e.g.:

type web.config

Advanced Tools

This points to the Kudu service.

You may see files deployed when navigating to Debug Console > Choose either CMD or PowerShell. Then navigate to your config directory (e.g. site/wwwroot) and choose to either download or edit file.

enter image description here

App Service Editor

App Service Editor is a relatively new tool in Azure toolset. Default view is a list of files, so you can browse all hosted files, including configuration ones.

like image 88
Dariusz Woźniak Avatar answered Oct 26 '25 03:10

Dariusz Woźniak