I have a .NET 8 application deployed to the Azure app service as a Virtual application along with another application in the root folder.
I was able to overwrite the application settings for the root application but not to the virtual application.
I was not able to find any documentation related to this.
I am able to override the application settings of both Root and Virtual App.
Virtual Path:
Environment Variables:
.cshtmlfile.Root Application:
Child App:
There is no such documentation related to override Virtual App Settings.
You can refer this SOThread on how to deploy and work with Virtual Apps.
Make sure you haven't set environment as Development in
Web.config(if you have any) or in deployedappsettings.jsonfile.Also refer this to override
appsettings.jsonfor the Azure App Service.