How to: Create a WCF Workflow Service Application
Windows Communication Foundation (WCF) workflow service applications are distributed communications services that pass messages between clients and themselves across process boundaries. The implementation of the service contract on the service side is done declaratively through workflow activities in .NET Framework 4 in a manner analogous to legacy workflow services in .NET Framework 3.5.
To create a WCF workflow service application
Start Visual Studio 2010.
On the File menu, point to New, and then select Project….
The New Project dialog box opens.
In the Installed Templates pane, select WCF or Workflow from either the Visual C# or Visual Basic groupings depending on you language of choice.
In the middle pane, select WCF Workflow Service Application.
In the Name box, enter a descriptive name for your project to make it easy to identify.
In the Location box, enter the directory in which you want to save your project, or click Browse to navigate to it.
In the Solution box, select to either create a new solution and then click OK.
Note: If you want to add a workflow console application to an existing solution, open that solution in Visual Studio 2010, right click the solution in Solution Explorer, and select Add, then New Project… to open the New Project dialog box. Proceed as described above in this procedure.