How to do configuration changes in application deployed on an App Service

Satyam Chauhan 547 Reputation points
2023-09-04T05:20:18.3533333+00:00

Hi,

I have an app service on which I have deployed a .NET web API application. There are few configurations that I wish to change after deployment (Example - change the delay duration from 1 minute to 30 secs in some method), so for doing this I have to change the configuration in code first and the redeploy it.

Is there any way to store these configuration so that it can be changed directly from Azure portal without redeployment.

Thanks

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,664 questions
{count} votes

Accepted answer
  1. Sander van de Velde | MVP 32,011 Reputation points MVP
    2023-09-04T06:23:09.6433333+00:00

    Hello @Satyam Chauhan ,

    yes, Azure Web Apps have a configuration menu:

    User's image

    You can add your own configuration settings and save them.

    Once saved, the application will restart and read the new settings.

    More details can be read here.


    If the response helped, do "Accept Answer". If it doesn't work, please let us know the progress. All community members with similar issues will benefit by doing so. Your contribution is highly appreciated.

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.