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.
Figure 5-1. Creating a blank solution
Next, copy the OrderProcess subfolder from the Chapter04 folder to the Chapter05 ...
Get Beginning WF: Windows Workflow in .NET 4.0 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.