《Asp.net & IIS7 高级编程》读书笔记之 IIS7及Asp.net的分布式配置系统

来源:互联网 发布:word流程图制作软件 编辑:程序博客网 时间:2024/05/16 11:50

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是全部锁定的

 

原创粉丝点击