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