Thursday, 27 September 2012

Introduction To Window WorkFlow Foundation


WINDOW WORKFLOW FOUNDATION


A workflow is a set of activities which is stored as a model and they depict a process.Every task is an activity and a group of activities depicts a complete workflow. A workflow is run by the workflow run-time engine.

The workflow model can be written in pure .NET code, pure XAML, or a mix of XAML and .NET   
code. A workflow model is compiled and can execute under Windows, ASP.NET, Web Services,
or Windows Services application.


Example:
Simon needs a loan to purchase a new Ferrari to impress his new girlfriend.
I.            He goes to bank and explains his need.
II.            Bank checks his credit history.
III.            Based on credit history, Simon was offered multiple loan options.
IV.            Simon selects one of options.
V.            Bank approves loan, money gets transferred to Simon's account.


Why Workflow?


1). One of the main reason for creating workflow is that you are actually creating a model.

2). Main focus is on business logic.

3). Before WF we would make couple of UML diagrams or a simple flow chart, writing pseudocode,        
     explain in text how an operation should work and then finally you will get to writing code.



No comments:

Post a Comment