
Microsoft Windows Workflow Foundation 4.0 Cookbook
By :

In this task, we are going to create a WCF client workflow. The workflow will send a WCF request with two integer numbers to a WF service and receive a reply from a WCF service with the addition result.
Now that we have finished at least one of the previous tasks—R eceiving and replying to a WCF message or Receiving and replying to a WCF message in code workflow—we can choose one of them as the WF service in this task. In this task I will use the code-style WF service.
Create a Workflow Console Application project:
Create a new Workflow Console project and name it SendAndReceiveInCode
.
Create workflow in imperative code:
Add a new class file SendAndReceiveWorkflow.cs
to the project and fill the file with the following code:
using System; using System.Activities; using System.ServiceModel; using System.ServiceModel.Activities; using System.Activities.Statements; namespace SendAndReceive { class...
Change the font size
Change margin width
Change background colour