This sample demonstrates how to host a declarative workflow in IIS. The sample is a basic workflow called
EchoService that has one operation.
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 (download page) to download all Windows Communication Foundation (WCF) and WF samples. This sample is located in the following directory.
Open the XAMLActivation.sln solution in Visual Studio 2010.
Build the solution by pressing F5.
Run WcfTestClient.exe. From a command prompt, type in the following:
cd %SystemDrive%\Program Files\Microsoft Visual Studio 10.0\Common7\IDE
Set the address of the service on WcfTestClient.exe by pressing CTRL+SHIFT+A and setting the service address to http://localhost:56133/Service.xamlx.
Perform the echo operation to test the service.
Deploy the Service in IIS using DeployToIIS.Bat in a command prompt with administrator privileges.
Update the service address in the client to http://localhost/XAMLActivation/Service.xamlx and test the service again using WcfTestClient.exe.