Workflow TV - Lab Introduction to WF4: Exercise 3 - The Code Activity

Download this episode

Download Video


In the previous exercise you authored a new activity using the workflow designer and XAML. In this exercise you will create an activity that does the same thing in code.

Intro To WF4 Hands On Lab (Visual Studio Gallery)
Intro To WF4 Hands On Lab (MSDN Code Gallery)

Lab Exercises

  • Exercise 1 - Hello Workflow (video)
  • Exercise 2 - Refactoring Workflow (video)
  • Exercise 3 - The CodeActivity (video)
  • Exercise 4 - Dynamic Workflows with XAML (video)
  • Exercise 5 – Testing Activities (video)
  • Exercise 6 – WorkflowApplication (video)
  • Exercise 7 – If/Else Logic (video)





Available formats for this video:

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

    The Discussion

    • User profile image

      It's a shame the WF namespace isn't System.Workflow.


      Does WF use TPL?


      Does the hosted designer block if a CodeActivity blocks?



    • User profile image

      There is a System.Workflow namespace - it belongs to the old WF 3.x - we had to create a new one.

    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.