Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This topic applies to Windows Workflow Foundation 4 (WF4).
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 computer. Check for the following (default) directory before continuing.
<InstallDrive>:\WF_WCF_Samples
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.
<InstallDrive>:\WF_WCF_Samples\WF\Basic\Services\XAMLActivation
|
To set up, build, and run the sample
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
Run WcfTestClient.exe.
Set the address of the service on WcfTestClient.exe by pressing CTRL+SHIFT+A and setting the service address to https://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 https://localhost/XAMLActivation/Service.xamlx and test the service again using WcfTestClient.exe.