Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Windows Workflow usage in large web applications

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:

  • A user's question has got 10 up-votes, give its owner a bronze badge.
  • A question has just got 10,000 views, set its top_question flag.

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?

like image 241
Ken D Avatar asked Jul 21 '11 07:07

Ken D


People also ask

What is Windows Workflow Foundation used for?

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.

What is WF in asp net?

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.

What is workflow in .NET core?

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.

What is workflow runtime?

WorkflowRuntime. Represents the configurable execution environment provided by the workflow run-time engine for workflows. WorkflowRuntimeEventArgs. Provides data for the Started and Stopped events.


1 Answers

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.

like image 173
Hector Correa Avatar answered Nov 15 '22 17:11

Hector Correa