Where can I get/need help creating an in-memory InstanceStore
I've been doing lots of work recently on the new Workflow 4.0. One of the things that would make it easier to whip together test apps would be an in memory InstanceStore. One that holds offloaded workflows in memory for a short while.
The documentation on how to create a store is pretty anemic, and the interface on it is pretty complex and开发者_如何学C obscure. Instead of investing a day figuring it out, I'm wondering if anybody knows of either a good explanation of how to implement an InstanceStore, or just some code that does what I'm looking for.
It looks like the 2 things you really need to implement are these virtual protected members:
object OnCreateInstanceHandle(InstanceHandle);
and
void OnFreeInstanceHandle(InstanceHandle, object);
Edit: WRONG see below
精彩评论