I’m happy to announce that we have just posted a “Labs” release on our http://wf.codeplex.com site with some new Caching Activities.  These activities work with Windows Server AppFabric Caching making it possible for you to use the cache directly from your workflow

Get Microsoft Silverlight

In this example I’m implementing the “Cache Aside” pattern where I first try to get the value from the cache and then if I can’t find it I get the value from a repository of some kind and then put it into a cache.

sampleWorkflow 

The source includes unit tests but be sure to start the cache cluster before running the test.  The notification tests also require a named cache – just look for the TODO comments in the unit test code before you run the tests.

I would love to know what you think of these.  This release is an experiment to get code out the door quickly.  If you like these activities – let me know and they may end up in a more formal release in the future.