I am trying to create (update if exists) Azure App Config values through .NET 7 C# controller.
The goal is basically send a key-value pair as json through my controller and let my backend process save that key-value pair to Azure App Config.
So the question is: can I send a key-value pair to Azure App Config through my C# code?
PS: I know it is possible through Azure CLI and Importing through portal :)
Yes, you can send a key-value from Controller Action Method and create a key-value pair in
Azure App Configuration.SetConfigurationSettingto create a Key-Value pair.My
appsettings.jsonfile:My
Program.csfile:My
ControllerActionMethod:Output: