只需要在上级目录的web.config的system.web配置节的外边中添加location:
<configuration> <location path="."? allowOverride="false"? inheritInChildApplications="false"> <system.web> ..... </system.web> </location> </configuration>
path 指定一个目录
allowOverride? 是否可以将这个重写
inheritInChildApplications?? 是否被子级应用程序继承
发表评论
相关文章
想了解服务发现、配置管理的同学,欢迎加入1000人Consul交流群:234939415
扫码关注公众号:萤火架构
文章分类
最新评论