Home > Software design >  How to edit appsettings in Azure pipeline?
How to edit appsettings in Azure pipeline?

Time:05-15

I'm trying to edit appsettings (.net) in azure pipelines, it's for differents environments(production, development, etc..) For example I want to change this value in appsettings:

"NodeServiceSettings":{
"Api": "http://localhost:4500/"
}

I tried the nexts things:

In pipeline > variables:

enter image description here

In app service configuration:

enter image description here

But nothing worked. Any ideas? Thanks

CodePudding user response:

There is a section in release pipelines to do exactly this, the section can be found here, but it is strongly recommended to use central Azure App Configuration and not local app settings so you can re use setitngs across applications.

App Settings in Release Pipeline

  • Related