The documentation under the heading "ASP.NET Output Cache Provider" has a snippet of code. We didn't have context for this snippet as it wasn't in our web.config previously, so an internet search suggested that it go inside <system.webServer>. When we do that, we get an squiggly line on the <outputCache> element. The error message tooltip in Visual Studio is this: "The element 'caching' has invalid child element 'outputCache'. List of possible elements expected: 'profiles'."
So maybe we're placing this snippet in the wrong location, not sure.
For what it's worth, here is our old appfabric-related web.config pieces, with the fat trimmed:
<configSections>
<section name="dataCacheClient" type="Microsoft.ApplicationServer.Caching.DataCacheClientSection,Microsoft.ApplicationServer.Caching.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" allowLocation="true" allowDefinition="Everywhere"/>
</configSections>
<!-- ... -->
<dataCacheClient>
<hosts>
<host name="#{AppFabricIP}#" cachePort="22233"/>
</hosts>
</dataCacheClient>
We're wondering what the magic sauce is that's missing. I'm guessing that once the <outputCache> issue is solved, we'll be in business. Thank you for your time!
So maybe we're placing this snippet in the wrong location, not sure.
For what it's worth, here is our old appfabric-related web.config pieces, with the fat trimmed:
<configSections>
<section name="dataCacheClient" type="Microsoft.ApplicationServer.Caching.DataCacheClientSection,Microsoft.ApplicationServer.Caching.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" allowLocation="true" allowDefinition="Everywhere"/>
</configSections>
<!-- ... -->
<dataCacheClient>
<hosts>
<host name="#{AppFabricIP}#" cachePort="22233"/>
</hosts>
</dataCacheClient>
We're wondering what the magic sauce is that's missing. I'm guessing that once the <outputCache> issue is solved, we'll be in business. Thank you for your time!