使用inheritInChildApplications避免子Web應(yīng)用程序中的web.config繼承我想補(bǔ)充一下<location inheritInChildApplications="false">到我的父Web應(yīng)用程序的web.config但它似乎沒有工作。我的父母web.config有:<configuration>
<configSections>
</configSections>
// 10 or so custom config sections like log4net, hibernate, <connectionStrings>
</connectionStrings>
<appSettings>
</appSettings>
<system.diagnostics>
</system.diagnostics>
<system.web>
<webParts>
</webParts>
<membership>
</membership>
<compilation>
</compilation>
</system.web>
<location ..>
<system.web>
</system.web>
</location>
<system.webServer>
</system.webServer>我的子Web應(yīng)用程序在IIS中設(shè)置為應(yīng)用程序,并且繼承了web.config導(dǎo)致問題的父級(jí)應(yīng)用程序。我應(yīng)該在哪里放置<location inheritInChildApplications="false">所以它忽略了所有各種web.config設(shè)置?
使用inheritInChildApplications避免子Web應(yīng)用程序中的web.config
慕碼人8056858
2019-08-26 11:11:30