Windows Workflow Foundation is a powerful framework to develop a workflow component in your application. This framework has two workflow types: Sequential workflow (pre-defined flow) and State Machine (event driven flow). In this post I’ll explain and show you how to define a workflow from the later kind. Each state machine consists of two major components: state (unique configuration) and Transitions (between the states, based on events or input). Each state machine should have initialize state...
In the last sprint we ( Ori – my teammate and me) had a task to create an infrastructure to manage some common processes in our systems. The processes can be a batch, schedule tasks and on-line services (WCF). Let see some of our processes: We have a background process (aka "Directory monitoring") which monitors a specific directory in predefined interval and checks for new incoming files. When a new file arrives, the process wakes-up and checks the file name by regular expression. Then...