我们可以在一个以上的应用程序中使用一个web.config吗?

问题描述:



我们可以在一个以上的应用程序中使用一个web.config吗?如果是,如何?

Hi,

Can we use one web.config in more then one application? if yes, how ?

否,您不能将一个web.config用于多个应用程序.
阅读关于Web.Config的初学者视图 [
No, you cannot use one web.config for more than one application.
Read a beginners view about Web.Config[^] here to understand the reason.


网络配置和计算机配置
什么是web.config和machine.config?
machine.config中的共享应用程序设置
调整.NET Machine.Config以进行生产部署
ASP.NET配置文件结构
ASP.NET网站管理

希望以上信息对您有所帮助.如果您还有其他疑问,请告诉我.
web config and machine config
What is web.config and machine.config ?
Shared Application Settings in machine.config
Tweaking .NET Machine.Config For Production Deployments
ASP.NET Configuration File Structure
ASP.NET Web Site Administration

I hope the above information will be helpful. If you have more concerns, please let me know.


您可以将所需的任何共享条目放入machine.config
You can put any shared entries you need in machine.config