Can we put instances of System.Activities.Activity class (WF 4.0) into the Windows Azure Cache? We would like to compile our workflows from XAML, but this is an expensive operation to repeat. Would Windows Azure Cache support the caching of System.Activities.Activity (is that class serializable)?
I don't think you will be able to use Azure cache for this. You could just use a static in-memory cache though. See http://www.neovolve.com/post/2010/07/23/Caching-workflow-activities-to-increase-performance.aspx