Hosting a Workflow in a Local Executable using Workflow Services Part III
- Posted: Apr 17, 2008 at 3:22 PM
- 4,686 Views
- 1 Comment
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…”
- Mid Quality WMV (Lo-band, Mobile)
When the Windows Workflow Foundation (WF) was first introduced in the .NET Framework 3.0, the only way to host a workflow in a client application was to use the WorkflowRuntime class programmatically, start the runtime, and create/start an instance of a workflow. Furthermore, if you wanted to communicate between the client code and the workflow logic, you needed to ues a ExternalDataExchangeService. This required a fair amount coding effort to get even the simplest of workflows up and running. The .NET Framework 3.5 introduced Workflow Services which are Windows Communication Foundation (WCF) Services authored as workflows. Workflow Services give you a new way to accomplish this scenario using a much simpler, cleaner, and arguably more elegant approach. In this three part screencast, I show you how to improve on the more manual hosting + ExternalDataExchangeServices approach by hosting a workflow in a client executable using Workflow Service.
Part I - Reviewing the SimpleExpenseReport application from the Create a Sequential Workflow tutorial so we can compare the two approaches. The application explicitly hosts the WorkflowRuntime & uses ExternalDataExchangeService
Part II - Walking through the fundamentals of creating a Workflow Service and hosting the Workflow Service locally
Part III - Walking through my rewrite of the SimpleExpenseReport application using Workflow Services.
Source code for the Workflow Services version of SimpleExpenseReport is available at http://cid-1f72da7294089597.skydrive.live.com/self.aspx/Public/WCF_WF/SimpleExpenseReportWorkflowServices.zip.
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
can anyone share how the poster managed to add the service reference named "ClientServiceProxies" into the workflow service "ExpenseReportWorkflowService"? The video literally opened up an existing project that already had this wired up.
Thanks.
Remove this comment
Remove this thread
close