Chapter 9. Communicating with the Host Application

In this chapter, you'll build a solution similar to the one from Chapter 8, except that you'll replace the console application with a Windows Presentation Foundation (WPF) application. In the projects you've built so far, the host simply invoked the workflow and displayed the results upon completion. With this project you'll need a lot more communication between the workflow and the host application. Fortunately, WF 4.0 provides the features you'll need to accomplish this.

Creating a WPF Project

Open VS 2010 and create a new project using the WPF Application template, as shown in Figure 9-1. For the project name, use LibraryReservation, and the solution should be Chapter09.

Figure 9-1. Creating 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.