Posted By: Cliff Simpkins | Nov 5th, 2008 @ 8:00 AM | 13,801 Views | 2 Comments
Welcome to the latest video in the weekly WF/WCF Screencast series. This week, we switch back to a series of WF screencasts.

In this short video, CSD MVP Matt Milner from PluralSight guides the viewer through how to use the ReceiveActivity within Windows Workflow Foundation (WF) to allow WCF clients to invoke the WF 3.5 workflow.

Matt starts with an existing WF sequential workflow (for more info, see Creating your First Sequential Workflow), and adds a WF 3.5 ReceiveActivity to the beginning of the workflow, and setup the activity to process the incoming work. To configure the activity, we add a service contract and a child activities to the ReceiveActivity that will process the request and return a result to the calling client and continue doing additional work after the workflow responds.

Along the way, Matt configures the workflow to create new instances of the workflow when a WCF call is received, and sets up the workflow in the WorkflowServiceHost that was added in 3.5. We will configure the host with an initial endpoint, add a MEX behavior, and then opens up the host. Matt then uses the WCF Test Client (discussed in Creating your First WCF Service) to interface with the hosted WCF workflow service to step through the workflow in the debugger.

For additional information on WF, please check out the WF Dev Center on MSDN and the .NET Endpoint team blog. For more information on classes offered by Aaron and the PluralSight folks, check out their catalog of instructor led courses and new online courses that cover a variety of Microsoft technologies, ranging from .NET v3.5 to WSS to BizTalk server.
Media Downloads:
Rating:
1
0
pajocomo
pajocomo
Paulo Morgado
Why aren't these webcasts being sindicated like the episodes?
Microsoft Communities