The Ramblings of Two Microsoft .NET Developers, TFS, and Visual Studio ALM Guys --- "Yes, we are both named Ed."

AppFabric cache event notification



If you are wanting to take advantage of poll based cache event notification in Windows Server AppFabric then you need to be aware of the cluster and app config settings to enable this functionality.

When setting up a new cache via XML or PowerShell you need to enable the notification feature. If you already have a cache setup and want to enable this feature then you will need to stop the cache cluster then apply the update via xml or PowerShell (Set-CacheConfig {yourCache} -NotificationsEnabled true)

image

XML based Cluster Config

image

 

For the application configuration you need to add the optional element “pollInterval” and specify a time in seconds, otherwise the default time is 300 seconds (not ideal if you are testing this feature out).

Client App.Config

image

 

Ed Kisinger