Languages  >>  .net

Introduction to State Machine Workflows

Language : English Quality : High Has Audio : true Source : Other Media : Flash
he workflow that I've modelled in this screencast is one based on one of my favorite inventions of all time: the Flavia coffee machine. You walk up to the machine, tell it what kind of coffee-related drink you want, and the machine prompts you to insert various flavor packets. The workflow in this screencast uses a simplified version of this where it models the act of creating a creamy coffee drink or a regular coffee drink.

In this demo, you'll see creating a State Machine workflow from scratch ,as well as a really good pattern for storing workflows in their own libraries instead of what you get with the default Visual Studio templates (e.g. you shouldn't embed a workflow in an executable, it should be separated in a class library) and you'll see that I delete the code-only Workflow and replace it with a XAML workflow.

Finally I will walk you through creating some really simple Console application code that exercises the workflow and tests it to make sure that the state transitions are working as intended.

If you have Shockwave Flash installed, then you should be able to view the screencast.     [SUGGEST  A  ARTICLE]

Tags: State Machine, Workflow, .NET Framework, .net, Screencast, XAML,     [SUGGEST  A  TAG]

Resources referenced in this screencast
  • .net Framework

  • Created : 2006-06-29   Duration : 23:57