简体   繁体   中英

Web.config transform and Azure App Service slot swap

据我所知,当我们交换插槽时,我们可以选择保留哪个appSetting键值,但是如果暂存插槽获得了不在现有生产槽web.config中的新键值,我们如何映射新键我们交换插槽时生产中的值web.config转换?

I am not sure if I understood your problem, but you can mark the AppSetting-Keys as "Slot Specific" or something like that and in this case they will not be transfered to another slot on swapping. Look here for more detailed description: https://docs.microsoft.com/en-us/azure/app-service/deploy-staging-slots

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM