Things to know about Windows Workflow Foundation
According to Harry, 9 things to be aware of when programming with Windows Workflow Foundation :
One comment in the “More Stuff I Didn’t know about WF” entry reads, “Despite these nits, I'm a big fan of WF. I like the engine design and it's fast (1ms overhead to execute a 10-step no-op sequental workflow.”
- You can customize how you load workflows.
- You can swap out the default workflow scheduler.
- You can add any object to the workflow runtime as a service.
- All communication from the host to the workflow goes thru the WorkflowQueuingService.
- The built-in sequential and state machine workflows are customizable.
- You can execute workflows across a farm, similar to how you build a web farm.
- The built in SQL Persistence Service is a toy.
- WF Web Service integration is also a toy.
- Activities can generate code.
Paul Andrew responded to points 7,8 and 9 above in Henry's blog post detailing the Persistence Service and the web service activities as well as some of the internal functionality. He addresses the tempuri.org namespace issue with a workaround and lets bloggers know the WF team is condsidering some additional samples to ease the learning curve for WF, directly due to feedback from bloggers like Harry. Paul's Top 10 reasons why WF is not a toy:
InfoQ contacted the WF Product Team at Microsoft and Matt Winkler, WF Technical Evangelist, responded:
- Six Microsoft products are building on it.
- It will be supported including the persistence service by regular Microsoft support once it releases in November 2007.
- WF has best practices like any programming model and following this guidance is important to be successful.
- The APIs for WF are carefully factored and aligned with the rest of the .
- No development tool that uses CodeDom can be considered a Toy.
- Respected software architects at Microsoft working on future internal applications are spending considerable time working on it.
- Performance is enterprise ready.
- Toys don't drive busines process like WF does.
- You can't buy WF at www.amazon.com because it's free for installing on Windows XP, Windows Server 2003 and included with Windows Vista./toys
- WF wasn't featured in Toy Story :-)
"We want to hear what people do and do not like and what they would like to see changed, or if there are areas where we can provide more guidance. If any of your readers have feedback, please feel free to direct them to my blog or they can email me."To download the latest bits and start coding, developers need to grab the latest .NET Framework 3.0 RC and here is ample sample code to browse.
I like the engine design and it's fast (1ms overhead to execute a 10-step no-op sequental workflow
The execution is indeed fast, but the creation of a workflow instance isn't. This can ben a problem in a production scenario where you may have a high load and constantly need to create new workflow instances, specially because there isn't a way to have a "workflow pool" out of the box.
Brandon Holt, Preston Briggs, Luis Ceze, Mark Oskin May 21, 2015
Kai Kreuzer, Olaf Weinmann May 21, 2015