Machine Level 1 (machine.config & root web.config) %Windir%/Microsoft.Net/Framework/v2.0.50.../Config
|
|
Machine Level 2 (applicationHost.config) %Windir%/system32/inetsrv/config
|
|
Site Level (web.config)
|
|
Application Level (web.config)
|
|
Virtual Directory Level(web.config)
特点:
1、低层次配置文件继承高层次配置文件,低层次配置文件可以重写、裁剪高层次配置
2、高层次配置文件可以锁定IIS7、.NET、Asp.net配置。安装后,applicationHost.config是全部锁定的