WWF State Machine demo


State Machine Result
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.

Information and Links

Join the fray by commenting, tracking what others have to say, or linking to it from your blog.


Other Posts

Write a Comment

Take a moment to comment and tell us what you think. Some basic HTML is allowed for formatting.

Reader Comments

Be the first to leave a comment!