Note: This setup is for the latest release of the Microsoft AppFabric on 6th June 2010
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">
dataCacheClient
<dataCacheClient>
<!-- (optional) specify local cache
<localCache
isEnabled="true"
sync="TimeoutBased"
objectCount="100000"
ttlValue="300" /> -->
<!--(optional) specify cache notifications poll interval
<clientNotification pollInterval="300" /> -->
<hosts>
<!-- for clustering purpose-->
<host name="MYPC01" cachePort="22233"/>
<host name="CacheServer2" cachePort="22233"/>
</hosts>
</dataCacheClient>
<sessionState mode="Custom" customProvider="Velocity">
<providers>
sessionState
<!-- specify the named cache for session data -->
<add name="Velocity" type="Microsoft.ApplicationServer.Caching.DataCacheSessionStoreProvider, Microsoft.ApplicationServer.Caching.Client, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" cacheName="VelocityCache"/>
</providers>
</sessionState>
No comments:
Post a Comment