我正在尝试关闭IIS中的卷影复制,以提高生产性能.
但是在我的web.config中添加它没有任何效果.这是我的web.config
<?xml version="1.0"?>
<configuration>
<system.web>
<compilation debug="true" targetFramework="4.5" />
<httpRuntime targetFramework="4.5" />
<hostingEnvironment shadowCopyBinAssemblies="false" />
</system.web>
</configuration>
Run Code Online (Sandbox Code Playgroud)
当我点击URL时,第一次需要的时间和文件仍然出现在C:\ Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files中,因此它似乎没有任何效果.
IIS 7.5和Windows 7.我正在使用一个很小的Hello World ASPX页面进行测试.任何想法为什么这不起作用?这个设置被覆盖了吗?