Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Workflow Management Endpoint Sample

.NET Framework 4.6 and 4.5

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

  1. Run Visual Studio 2010 with administrator privileges.

  2. Open the ManagementEndpoint.sln solution in Visual Studio 2010.

  3. To build the solution, press CTRL+SHIFT+B or select Build Solution from the Build menu.

  4. Start the ManagementEndpoint.exe application.

  5. Start the Client.exe application.

Important Note:
The samples may already be installed on your computer. Check for the following (default) directory before continuing.


If this directory does not exist, go to Windows Communication Foundation (WCF) and Windows Workflow Foundation (WF) Samples for .NET Framework 4 to download all Windows Communication Foundation (WCF) and WF samples. This sample is located in the following directory.


Build Date:

© 2015 Microsoft