Export (0) Print
Expand All

Channel Caching with Send

This topic applies to Windows Workflow Foundation 4 (WF4).

The SendMessageChannelCache enables users to have different levels of channel caching with Send and SendParametersContent activities. Instance-level caching is enabled by default and this sample demonstrates the following features:

  1. Share a SendMessageChannelCache across an application domain.

  2. Disable channel caching.

  3. Share a SendMessageChannelCache among workflow instances in a WorkflowServiceHost.


To set up, build, and run the sample

  1. Load the project solution in Visual Studio 2010 and build the project.

  2. Run the EchoWorkflowService application generated in \EchoWorkflowService\bin\debug.

  3. Run the EchoWorkflowClient application generated in .\EchoWorkflowClient\bin\debug.

  4. The client calls the Echo operation on the service and prints the results. When the results have been printed, press ENTER to exit the client and the service.

Ee834525.Important(en-us,VS.100).gif 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.


Community Additions

© 2014 Microsoft