私のweb.configファイル内のエラーを取得しています:なぜ私は、次のセクションでは、私のweb.configファイルに追加した
<system.webServer>
<caching>
<profiles>
<add extension=".html" policy="CacheUntilChange" kernelCachePolicy="DontCache" location="Client" />
<add extension=".htm" policy="CacheUntilChange" kernelCachePolicy="DontCache" location="Client" />
<add extension=".gif" policy="CacheUntilChange" kernelCachePolicy="DontCache" location="Client" />
<add extension=".js" policy="CacheUntilChange" kernelCachePolicy="DontCache" location="Client" />
<add extension=".css" policy="CacheUntilChange" kernelCachePolicy="DontCache" location="Client" />
<add extension=".jpg" policy="CacheUntilChange" kernelCachePolicy="DontCache" location="Client" />
</profiles>
</caching>
</system.webServer>
取られたが、私は、エラーを取得しています、私のweb.configファイル、と言って:
認識できない構成セクションのsystem.web /キャッシング/ I SE、また
プロファイルEこれは、Visual Studioで:
要素のキャッシングは、可能な期待されるの一覧を無効子要素のプロファイル」を持っている:私が見るようにキャッシュは、outputcache、outputcacheSettingsは、sqlCacheDependency」
は、この構成の変更についての何かをしましたこの正確な設定でウェブ上の多くの例がありますか?あなたのスクリーンショットで
あなたが提供したリンクでは、セクションはの中にあります。 –