Although, most of the examples I checked on the Internet use WF to deal with wizard-like steps or designing a workflow-based UI, and since Windows Workflow can deal with state machines, and if we say, we have a website like Stackoverflow.com, In what areas of the application would we use the WorkFlow foundation?
Examples:
Should these small (but there is really too many of them) events should be handled using Windows Workflow?
Is there any WF components to be placed on the top of the built-in WF to ease such operations?
Windows Workflow Foundation (WWF or WF) is a framework for creating and managing workflows within . NET applications. It treats each step of a process as an activity, working with a . NET library of activities and adding custom activities for other kinds of functionality.
This is true in general, but it is especially important for ASP.NET Web applications. Harnessing Workflows. Windows Workflow Foundation (WF) may not be the technology that comes to mind for building Web applications.
Workflow Core is a light weight embeddable workflow engine targeting . NET Standard. Think: long running processes with multiple tasks that need to track state. It supports pluggable persistence and concurrency providers to allow for multi-node clusters.
WorkflowRuntime. Represents the configurable execution environment provided by the workflow run-time engine for workflows. WorkflowRuntimeEventArgs. Provides data for the Started and Stopped events.
I have yet to see a successful application build with a workflow engine like WF, BizTalk or any of the other engines out there. By successful I mean: it made it to production and the resulting application was easier to maintain than if it had been built without an out of the box workflow engine.
Udi Dahan posted a very interesting blog on the topic where he elaborates why this stuff usually only works on demos but not in real life.
To be fair, I should clarify that I do not have any hands on experience on WF, I did play with BizTalk a while ago and found it completely over the top for what I needed.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With