机器和有什么区别.配置和网络.配置? [英] What is the difference between machine. config and web. config?

查看:110
本文介绍了机器和有什么区别.配置和网络.配置?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

朋友,

我对与点网有关的一个疑问.请建议回答这个问题.
机器和有什么区别.配置和网络. config?

hi friends,

I have one doubt for dot net related. please suggest to answer to this question.
What is the difference between machine. config and web. config?

推荐答案

如果只有大量的信息可以保存这样的信息!它会有用吗? :sigh:

可是等等!那里:互联网.

但是...不,它太大了,您将永远找不到任何东西...

我们需要的是搜索工具",这意味着您可以缩小搜索范围,这很有用,不是吗?

那是黑烟?有一个?


^ ]


将来,请尝试至少自己进行基础研究,不要浪费您或我们的时间.
If only there was a huge body of information that held information like that! How useful would it be? :sigh:

But wait! There : The Internet.

But ... no, it''s far too big, you''ll never find anything...

What we need is a "search tool" that means you can narrow your search down considerabley - that''d be useful, wouldn''t it?

What''s that Sooty? There is one?


Google using your subject line: over one million hits[^]


In future, please try to do at least basic research yourself, and not waste your time or ours.


Web.Config->在应用程序级别使用.例如,当我们只需要特定于该应用程序的某些配置时,则应在Web.config文件中添加这些配置.

Machine.Config --->在机器级别使用.例如,当我们希望同一台机器上的2个或3个应用程序遵循相同的配置时,我们可以在Machine.Config文件中对其进行配置.
Web.Config --> Used at application level.For Example, when we want some configuration only specific to that application then we should be adding those configuration in the Web.config file.

Machine.Config---> Used at machine level. For Example, When we want 2 or 3 application in the same machine should follow the same configuration then we can configure it in Machine.Config file.


这篇关于机器和有什么区别.配置和网络.配置?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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