Channel Caching with Send
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:
Share a SendMessageChannelCache across an application domain.
Disable channel caching.
To set up, build, and run the sample
Load the project solution in Visual Studio 2010 and build the project.
Run the EchoWorkflowService application generated in \EchoWorkflowService\bin\debug.
Run the EchoWorkflowClient application generated in .\EchoWorkflowClient\bin\debug.
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.
The samples may already be installed on your machine. 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.