Workflow Management Endpoint Sample
This sample shows how a workflow control endpoint can be used to create and run workflows both locally and remotely. The sample demonstrates how to host a control endpoint and write clients that call the control endpoint to create and run the instance of a workflow. The workflow is not a service.
On the service side of the sample a workflow is hosted with WorkflowServiceHost and a WorkflowControlEndpoint is added so that clients can perform control operations (Suspend, Start, etc). A user-defined CreationEndpoint is also added to allow the workflow to be created. The service then uses these endpoints to start the workflow in a suspended state and then resume the workflow. The client performs the same operations but from the client code. For more information about these interfaces see, Workflow Control Endpoint and How to: Host a non-service workflow in IIS
To run the sample
Run Visual Studio 2010 with administrator privileges.
Open the ManagementEndpoint.sln solution in Visual Studio 2010.
To build the solution, press CTRL+SHIFT+B or select Build Solution from the Build menu.
Start the ManagementEndpoint.exe application.
Start the Client.exe application.
The samples may already be installed on your computer. Check for the following (default) directory before continuing.