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 5. Replicated Activities

In Chapter 4, you created a workflow that calculates the order total of an order passed in as an argument. So far, it includes only the handling and freight charges. In this chapter, you'll add logic to add the cost of each of the order items. To do that, you'll need to perform a sequence of activities for each of the items.

Reusing the Chapter 4 Project

Start Visual Studio 2010 and create a new project. Choose the Blank Solution template, as shown in Figure 5-1. Enter the solution name as Chapter05.

Creating a blank solution

Figure 5-1. Creating a blank solution

Next, copy the OrderProcess subfolder from the Chapter04 folder to the Chapter05 ...

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