[英]How can I update my app.config file without republishing Azure Worker Role Service
我想为我的Cloud Service Worker角色在app.config appSettings中更改特定值。 我不想重新发布我的服务以使其继续运行。 如何从Visual Studio或Powershell或任何其他工具中执行此操作?
您只能在ServiceConfiguration.cscfg文件中更改值,而无需重新部署,因此建议您将设置(而不是app.config)存储在该文件中以用于Cloud Service。
https://azure.microsoft.com/en-us/documentation/articles/cloud-services-how-to-configure/
您应该更新应用程序的暂存版本,验证其是否可以正常运行,然后仅交换暂存和生产。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.