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

Download this episode

Download Video

Description

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  
http://blogs.msdn.com/rjacobs
Twitter: @ronljacobs http://twitter.com/ronljacobs

Tags:

WF, WF4

Embed

Format

Available formats for this video:

Actual format may change based on video formats available and browser capability.

    The Discussion

    • User profile image
      dcuccia

      Thanks Ron! I was particularly impressed with all the automatic logging at the end of Exercise 1 - neat.

    • User profile image
      Rahil

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

      Thanks

    • User profile image
      Bhanu

      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.

      Thanks.

    • User profile image
      Pavan

      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.

      Thanks.

    • User profile image
      pavan

      sorry Ron Jacobs. Typing mistake.

    Comments closed

    Comments have been closed since this content was published more than 30 days ago, but if you'd like to send us feedback you can Contact Us.