Tuesday, October 20, 2009
« Microsoft Velocity CTP3 and Windows 7 In... | Main | Microsoft Distributed Cache (Velocity) A... »

So as I was saying in the last post I wanted to at a minimum get Velocity up and running as the SessionStoreProvider for my site. But as I was looking around there were no instructions for setting this up with CTP3. There are some for CTP2 but there appears to be some breaking changes between the two. So I have noted the sections that I added to my web.config to get this working for me. But as they say YMMV so if you are having problems leave me a comment and I will see if I left something out.

This node goes between your configSections node:

 <section name="dataCacheClient" type="Microsoft.Data.Caching.DataCacheClientSection, CacheBaseLibrary" allowLocation="true" allowDefinition="Everywhere"/>

 

These node goes between your system.web node:

<dataCacheClient deployment="simple">

<localCache isEnabled="false" />

<hosts>

<!--List of hosts -->

<host name="<your server name>" cachePort="<your port. 22233 is default>" cacheHostName="DistributedCacheService" />

</hosts>

</dataCacheClient>

<sessionState mode="Custom" customProvider="SessionStoreProvider">

<providers>

<add name="SessionStoreProvider" type="Microsoft.Data.Caching.DataCacheSessionStoreProvider, ClientLibrary" />

</providers>

</sessionState>

 

Tuesday, October 20, 2009 6:20:20 AM (GMT Standard Time, UTC+00:00)  #    Comments [0]  |  Related posts:
Microsoft Distributed Cache (Velocity) Admin Tool
Microsoft Velocity CTP3 and Windows 7 Installation Error

Comments are closed.