Loading user information from Channel 9

Something went wrong getting user information from Channel 9

Latest Achievement:

Loading user information from MSDN

Something went wrong getting user information from MSDN

Visual Studio Achievements

Latest Achievement:

Loading Visual Studio Achievements

Something went wrong getting the Visual Studio Achievements

Workflow TV - WF4 State Machine Hands On Lab: Exercise 1

13 minutes, 52 seconds


Right click “Save as…”

In this episode I'm going to show you exercise 1 of the Windows Workflow Foundation (WF4) - Introduction to State Machine Hands On Lab.  In this exercise we will focus on States and Entry / Exit actions. For more information on the State Machine activity see Microsoft .NET Framework 4 Platform Update 1

State Machine Hands On Lab

  • Getting Started (Video)
  • Exercise 1 - States (Video)
  • Exercise 2 - Card Inserted Scenario (Video)
  • Exercise 3 - PIN Entry (Video)
  • Exercise 4 - Implement the Main Menu (Video)

Ron Jacobs  
Twitter: @ronljacobs http://twitter.com/ronljacobs


Follow the discussion

  • Oops, something didn't work.

    Getting subscription
    Subscribe to this conversation
  • Thanks Ron! I was particularly impressed with all the automatic logging at the end of Exercise 1 - neat.

  • RahilRahil

    Just started looking at WF yesterday, your videos are really helpful, great way of explaining.


  • BhanuBhanu

    i have a question, how do i call a method in class of another project from this state workflow. i mean, i'm designing the state workflow with linq to sql to connect to the database. so, i need to know how can this state machine communicate with the classes in another project to run and get the respected values. and how to import other projects into this state workflow to get the access to all the methods and properties to the state workflow design.


  • PavanPavan

    hello Rom Jacobs,

    i'm pavan. i'm actually building a state machine workflow for my project and using Linq to SQL with that. my question is, when i was using 3.5, i had a code behind for the design to call the DataAccessLayer and get the respected data from the database and transfer to different activities using Dependency Properties. as WF4 doesn't have code behind, and also Dependency Properties, how can i access the DataAccessLayer class and deal with the data in the State Workflow in WF4. How do i use the Custom Activities to do this Data transactions with the Database. how to pass the values from one Custom activity to another in this State Machine Flow. please help me out in this.


  • pavanpavan

    sorry Ron Jacobs. Typing mistake.

Remove this comment

Remove this thread


Comments closed

Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums, or Contact Us and let us know.