WWF State Machine demo

Here is the presentation and demos from last week’s SA Developer talk “Managing State with Windows Workflowâ€. I’ve cleaned up the code and split the communication demo into 2 separate projects for better clarity.
What’s important to see in the communication demo, HostToWorkflow is that the host might ask you to enter your name and only then does the workflow say it’s started. This is because the workflow runs in a separate thread and has a “warm-up timeâ€. The same goes for the state machine demo; if you remove the Console.Readline’s the app should crash because the host is trying to change state before the workflow is ready.
I still have a tonne of hand-out DVDs with the WinFX Feb 06 CTP and extensions, the MSDN nuggets on WinFX and the BB&D Quick Reference Posters.
I also want to thank Mike Taulty whose state machine demo I borrowed for this presentation because of its elegant simplicity.


