我们可以在asp.net(c#)中使用多个web.config文件......? [英] Can we use multiple web.config file in a asp.net (c#) ...?

查看:293
本文介绍了我们可以在asp.net(c#)中使用多个web.config文件......?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们可以在asp.net(c#)中使用多个web.config文件吗??

Can we use multiple web.config file in a asp.net (c#) ...?

推荐答案

当然可以,但在不同的目录中。



这是一个例子:

在asp.net应用程序中使用多个web.config文件。 [ ^ ]





= Tadit ]

添加链接文本以反映文章标题。

[/编辑]
Of course you can, but in different directories.

Here is an example:
Working with more then one web.config files in asp.net application.[^]



Link text added to reflect the article title.
[/Edit]


这是文章的链接



[如何使用多个web.config文件]













Ravi Halvadiya

www.InsightSoftech.com
Here is the Link of an Article

[How to use multiple web.config file]






Ravi Halvadiya
www.InsightSoftech.com


每个IIS站点只能有一个Web.config文件。所以要有另一个,从技术上讲,你需要在IIS中使文件夹/ rpt成为一个单独的应用程序。
You can only have one Web.config file per IIS site. So to have another, technically you would need to make the folder /rpt a seperate application within IIS.


这篇关于我们可以在asp.net(c#)中使用多个web.config文件......?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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