Here is the updated version of the sample I showed at Philly .NET on April 18. Thanks everybody for a fun time!
The sample is an order processing state machine workflow. It consists of two projects.
OrderProcessing contains the state machine workflow, the interface the host and workflow use to communicate, and the Windows Form used to manage orders.
CreditCardProcessing is a sequential workflow used by the credit card company to pre-approve charges and then approve or deny once it is time to ship the product. The workflow is exposed as a Web service to OrderProcessing.
In the VB folder is the VB code. I may do a C# version for the next rev. In the Data folder is the database used in the sample.
Because the workflow uses transactions, it uses persistence. So you need to setup the SqlPersistence database. The docs tell you how to do that.
Let me know what you think. Let me know what doesn't work!