ASP.NET - 有条件的Web.config [英] ASP.NET - Conditional Web.config

查看:131
本文介绍了ASP.NET - 有条件的Web.config的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是新来的ASP,并想知道它是否有有条件的编译(我知道这是不是编译)

I'm new to ASP and wanted to know if it has conditional "compiling" (I know it is not compiled)

我的意思是: 我的应用程序交付给diferent用户。每个人都有它自己的条件应用程序编译。 现在我需要condicionaly变化的Web.config的是有没有办法使用条件编译符号?

What I mean is: My app is delivered to diferent users. Each has it's own conditional app compilation. Now I need to condicionaly change Web.config's is there a way to use conditional compilation symbols ?

EOG

推荐答案

有没有像对于配置文件。用最好的办法是配置文件的转换。

There is nothing like that for config files. The best thing to use is configuration file transformations.

下面是一些文档: http://msdn.microsoft.com /en-us/library/ie/dd465318.aspx

这篇关于ASP.NET - 有条件的Web.config的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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