Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

web config and machine config

Tags:

asp.net

what is the differnce b/w webconfig and machine config

like image 895
Domnic Avatar asked Nov 13 '09 14:11

Domnic


1 Answers

Careful. There is a hierarchy of config files:

applicationHost.config is the top-level IIS config file.

Next is machine.config, which is the top-level, server-specific config file.

Next is a server-level web.config file.

Then there is an application-specific web.config.

Next, there is an optional application.config file.

Finally, there are optional directory-specific web.config files.

The higher-level files often contain directives that limit what you can configure in the lower level files. The highest-level web.config, for example, is where server trust levels are configured.

like image 99
RickNZ Avatar answered Sep 30 '22 13:09

RickNZ