Monday, June 28, 2010

Tip: Microsoft AppFabric Velocity SessionState Web.config setup

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>

Saturday, June 26, 2010

Tip: MSN Messenger Live Error 800706be

Recently my MSN Messenger suddenly stopped working, no matter how many times i tried to login, it still failed. Eventually I came across this web site http://windowslivehelp..com/solution.aspx?solutionid=48cb38e4-dffa-4250-8671-8b44fe19383b which solved my problem. The problem was actually related to corrupted contact data in my local computer.