endpoint.tv Screencast - Using the WCF Receive Activity in Windows Workflow Foundation (WF)
- Posted: Nov 05, 2008 at 8:00 AM
- 20,328 Views
- 2 Comments
Download
How do I download the videos?
- To download, right click the file type you would like and pick “Save target as…” or “Save link as…”
Why should I download videos from Channel9?
- It's an easy way to save the videos you like locally.
- You can save the videos in order to watch them offline.
- If all you want is to hear the audio, you can download the MP3!
Which version should I choose?
- If you want to view the video on your PC, Xbox or Media Center, download the High Quality WMV file (this is the highest quality version we have available).
- If you'd like a lower bitrate version, to reduce the download time or cost, then choose the Medium Quality WMV file.
- If you have a Zune, WP7, iPhone, iPad, or iPod device, choose the low or medium MP4 file.
- If you just want to hear the audio of the video, choose the MP3 file.
Right click “Save as…”
- High Quality WMV (PC, Xbox, MCE)
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.
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.
Comments Closed
Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation,
please create a new thread in our Forums,
or
Contact Us and let us know.
Follow the Discussion
The downsides are: no embeddable player by default (which would be great for blogging) and the video links aren't attached to the feeds. I believe the accepted assumption is that most people use screencasts when needed, as opposed to subscribing to them like a typical 'show'.
That being said, I'll follow up with the Channel9 folks to get a more complete answer. Would there be a preference for video feeds for the screencast videos (and having them show up in the same format/player as the podcasts) over the current posting format?
Remove this comment
Remove this thread
close