O'Reilly logo

Beginning WF: Windows Workflow in .NET 4.0 by Mark Collins

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 19. Interoperability with Workflow 3.5

I stated in Chapter 1 that activities created in WF 4.0 are not interchangeable with WF 3.5 activities. However, as promised, I'll now show you how you can execute workflows and activities created in WF 3.5 from within a WF 4.0 workflow. This will allow you to do the following:

  • Continue to use third-party activities that you cannot port to WF 4.0

  • Delay porting parts of your solution to WF 4.0

  • Use 3.0 and 3.5 activities not yet provided in WF 4.0

Creating a 4.0 Workflow

Start by creating a Workflow Console Application as shown in Figure 19-1. For the project name, enter SampleInterop, and for the solution use Chapter19.

Figure 19-1. Creating a WF 4.0 application

Drag a Sequence onto the workflow, drag a ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required