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 ...

Get Beginning WF: Windows Workflow in .NET 4.0 now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.