Base solution for your next web application
Open Closed

Retain appconfig.json and appsettings.json files when swapping deployment Slots #8547


User avatar
0
dexter.cunanan created

Hello!

I am deploying an app service with ASP.net Core back end and Angular front end. When I swap one slot to another, I have noticed that the appconfig.json and appsettings.json files were also swapped. How do I get both files to stick per slot. Also, I have tried using the App settings under Configuration in the Azure Portal with no luck.

Regards,

Dexter

Markdown is supported
Copy & paste or drag & drop images (max 30 MB per image)

1 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team

    hi

    Regarding the environment in asp net core, please check Microsoft's documentation first

    https://docs.microsoft.com/en-us/aspnet/core/fundamentals/environments?view=aspnetcore-3.1 https://docs.microsoft.com/en-us/aspnet/core/fundamentals/environments?view=aspnetcore-3.1#configuration-by-environment

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)