Is there a a version of parameters.xml, but for .net core?

rgelb's Avatar

rgelb

24 Jul, 2025 04:30 PM

From what I understand, parameters.xml is used to change the values of web.config or app.config. But my app is .net core and I need to change the values of appsettings.json during deployment. Is there a mechanism to change values in that file automatically similar to parameters.xml?

For reference, I need to change the following during deployment:

{
  "Service": {
    "ServiceStart": "CHANGE_ME",
    ...
  }
}
  1. Support Staff 1 Posted by Feodor Fitsner on 24 Jul, 2025 04:48 PM

    Feodor Fitsner's Avatar

    You can just edit a JSON file from a PowerShell script - looks like no need for special tools.

  2. Feodor Fitsner closed this discussion on 23 Sep, 2025 09:03 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac