在Azure云服务中部署应用程序后更改web.config中的变量 [英] Changing a variable in web.config after Deploying an App in Azure Cloud Service

查看:87
本文介绍了在Azure云服务中部署应用程序后更改web.config中的变量的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Azure云服务中部署我的应用程序后,我想在我的web.config中自动更改变量的值.  有可能吗?如果可能的话,请告诉我方法.从上个星期开始,我就一直陷在这个问题中.           谢谢

I want to change the value of a variable automatically in my web.config after deployment of my app in Azure Cloud Service.  Is it possible anyhow? If it possible then please tell me the way. I have benn stuck in this problem from last one week.              Thanks

推荐答案

如何:转变 部署Web应用程序项目时的Web.config .

How to: Transform Web.config When Deploying a Web Application Project.

文件 变换和变量替换参考 .

File transforms and variable substitution reference.

- -------------------------------------------------- --------------------------------------
如果此答案有帮助,请单击标记为答案"或上投票".要提供有关您的论坛体验的其他反馈,请单击 span> .

------------------------------------------------------------------------------------------
If this answer was helpful, click "Mark as Answer" or "Up-Vote". To provide additional feedback on your forum experience, click here.


这篇关于在Azure云服务中部署应用程序后更改web.config中的变量的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆