Chapter 8. Send and Receive

The primary activities used for communication are the Send and Receive activities (and their variations SendReply and ReceiveReply). These activities use the Windows Communication Foundation (WCF) to transmit and listen for messages. In this chapter, you'll build a simple console application that uses workflow to communicate with another copy of the same application.

Creating the Project

Start by creating a new project using the Console Application template, as shown in Figure 8-1.

Creating a new console application

Figure 8-1. Creating a new console application

This is a standard console application, not a workflow console application. Use LibraryReservation ...

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.