Adding the Context Service client cache configuration to your Web.config
If you run the Context Service client inside a .NET Web application, modify Web.config to enable caching for this feature.
Procedure
- In your .NET Web application, open Web.config for editing.
- From your installation media, open Content Delivery\roles\context\api\dotnet\config\application.config.
- In application.config, from within the
<configSections>section, copy thesectionGroupsection with itsnameattribute set touserSettingsto your clipboard. - In Web.config, paste this element into the
<configSections>section. - In application.config, copy the
<system.runtime.caching>and<userSettings>sections to your clipboard. - In Web.config, paste this element anywhere within the root
<configuration>section, below the<appSettings>section. - Save and close Web.config.