The World’s Leading Microsoft .NET Magazine
   
 
The .NET Addict's Blog

My Top Tags

                                                           

My RSS Feeds








Latest Diggs - Programming

Internet Blogs - Blog Top Sites

Site Hits

Total: 2,639,104
since: 19 Jan 2005

Introduction to State Machine Workflows : Screencast

posted Thu 29 Jun 06
The 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.

Click here for the screencast.

tags:          

links: digg this    del.icio.us    technorati    reddit




1. Mike left...
Fri 30 Jun 06 10:05 am

Great work Kevin! I wish there would be more tutorials like this. Extremely helpful!


2. Jun Meng left...
Thu 03 Aug 06 7:31 pm

Excellent! :)


Tag Related Posts

WPF Bumper Stickers

Tue 12 Dec 06 7:32 P GMT-05

Ulysses Agenda Makes Redmond Developer News

Wed 29 Nov 06 7:10 P GMT-05
tags:                

Ulysses Agenda : First Cut Networking Design

Thu 14 Sep 06 12:46 A GMT-05
tags:                  

First Impressions of Windows Vista RC1

Thu 07 Sep 06 1:30 P GMT-05
tags:                      

Localizing a WPF Application

Tue 22 Aug 06 11:39 A GMT-05
tags:            

WPF Slide Show and Photo Album

Fri 18 Aug 06 6:48 P GMT-05

Is Windows Workflow Foundation Too Complex?

Fri 18 Aug 06 12:15 P GMT-05

ADO.NET Entity Framework Announced Today!

Wed 16 Aug 06 11:08 A GMT-05

Extending your Applications with MAF/VSTA - Part III

Fri 21 Jul 06 12:30 A GMT-05
tags:            

Extending your Application with MAF/VSTA AddIns

Thu 20 Jul 06 1:51 A GMT-05
tags:            

July CTP is out... yay.

Tue 18 Jul 06 6:34 P GMT-05
tags:    

.NET Framework 3.0 June CTP is out!

Fri 23 Jun 06 6:23 P GMT-05
tags: