Workflow TV - Workflow Services as a Batch Job
- Posted: Sep 01, 2010 at 6:34 AM
- 16,914 Views
- 8 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)
- MP3 (Audio only)
- MP4 (iPod, Zune HD)
Sometimes you have work that you want to schedule for off-peak times or have happen on a recurring schedule, such as every 3 hours. While there are many ways to do this, Workflow Services are an interesting option. In this episode, I'll show you how you
can create a service that accepts start, stop, and query messages, and supports scheduling.
WF4 Batch Job Example (MSDN Code Gallery)
endpoint.tv - AppFabric AutoStart and WF4 Batch Job Example
Ron Jacobs
blog http://blogs.msdn.com/rjacobs
twitter @ronljacobs
What do you want to see on endpoint.tv?
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
If you want to make the batch work autostart see this post
I have not done any direct performance comparisons to a Windows Service doing the same work. It seems to me that for most things the performance should be close to the same since mostly they are waiting for work to do. Having the workflow with AppFabric doing the job gives you the added benefit of the monitoring store which is really cool for this sort of thing.
It seems like everyone has the same requirements. The only diference between my workflow and yours is that I am using 3.5. I wanna be able to create a composite activity that does all that. The delay activity is not good enogh for me because of maximum time limitation.
I used the reflector to see how things work in built in composite activities and it's a little bit dificult to schedule and control child activities of a composite but I will do it.
I did something you sould also create in your examples (sugestion) is create a MMC extension (there is a hole lab on it). And implement a monitor to workflows just like an application (I forgot the name) I'll send you tomorrow. My boss loved.
About the Workflow app fabric windows service that check if there are workflows down and resume execution I will have to implement that. It will be not an issue.
I'll send you my sample as soon as it's ready. I would like to get you opinion. You seems to be the only other person that is working in WF besides me.
dinnernow http://dinnernow.net/ is the name of the application
Your second job was updated at 1:33:37 PM. So cool..
I appreciate the work you do Ron! If I see one more book or article with "cookbook", "practical examples", or "recipes" that are simply duplication of the reference materials I might flip out. The basic lack of adoption of workflow is due to the fact that nobody understands why you'd ever use it, and the learning curve is just simply not worth the effort. Some real-world examples are exactly what the WF4 universe is missing. I'm not sure I like the idea of encouraging the "batch" mentality in the workflow "idea space". But the example is both useful and illustrative. And it might ease a lot of people into adoption. Thanks again. I'm becoming a fan.
is there Doc's for the setup
i cant find this file in either example
BatchWorker.Contracts.BatchInfoResponse.datasource
Remove this comment
Remove this thread
close