I've seen questions similar to this on various platforms but haven't been able to find a definitive answer.
I have an Azure App Service running an ASP.NET application - connecting with Azure SQL Database but also some static files that are used for configuration purposes. These files currently reside within the d:\home\ folder within the App Service - and are accessed by some C++ native code within the app that is exposed via C++/CLR.
I want to use the deployment slots feature to host a staging environment so we can upgrade without any downtime, this means that our configuration would ideally be shared across slots. However, as I understand, upon swapping slots the entire site content is moved to the destination slot. This includes our configuration.
I believe that each deployment slot within an App Service still resides within the same 'parent' host (the App Service Plan). Is there really no storage container for files accessible to each of the App Services (or their slots) ?
We are also looking into ways of mirroring or sync'ing this configuration across slots, but in some ways this defeats the need for having slots.
Any advice / feedback would be appreciated!