Blue Theme Orange Theme Green Theme Red Theme
 
Home | Forums | ASP.NET 2.0 Tutorials | Web Services | How Do I...? | Class Browser | WPF Quick Starts | Advertise with Us
 | Consulting  
Submit an Article Submit a Blog 
 Jump to
Skip Navigation Links
TechnologyExpand Technology
WebsiteExpand Website
Team Foundation Server Hosting
Search :       Advanced Search »
Home » .NET 3.0 » An Introductory concept of Window Workflow Foundation(WWF)

An Introductory concept of Window Workflow Foundation(WWF)

How WWF plays an important role in making the workflow of our project? There are so many advantages of using WWF in complex business flow of operation.

Author Rank :
Page Views : 11857
Downloads : 0
Rating :
 Rate it
Level : Beginner
   Print Read/Post comments Post a comment  Similar Articles  
   Email to a friend  Bookmark  Author's other articles  
 
Nevron Gauge for SharePoint
Become a Sponsor
Become a Sponsor
 Tag Cloud
 Latest Jobs
More ... 
 Latest Interview Questions
More ... 

Here in this article I tried to throw the light on the new technology of Microsoft newly released .NET version .NET 3.0. Here in .NET 3.0 there are some new concept, one of them, is Window Workflow foundation also named as WWF. Windows Workflow Foundation represents one of the Key technologies in the .NET framework version 3.0. It enables business processes to be expressed graphically and linked directly to business logic. Basically WWF is stands for manage the flow of work in the project.

WWF provides a singles engine to execute the workflow. WWF is an extensible framework from Microsoft to implement workflow based solutions. In simple terms, a workflow is a collection of activities. WWF can be thought of consisting of tools, engine and a model for building workflow applications.

 

There are two types of workflow:

  1. Sequential Workflows Sequential workflow follows the traditional style of thinking.
  2. State machine Workflows State machine workflows deal with different states of the workflow.

Some advantages of WWF


In our project there will be many tasks. Then if there is no plan like as which task is using in operation or from where the task is coming, what is the flow of that task in the project; if all of these are not in a plan then the situation can be very critical. Which task is using or will be use or will not be use in future, from window work flow we can find it easily. Window work flow shows the flow of our operation in the site. For doing any work there is flow, mean step by step process. A real benefit of developing Workflows to model processes in our businesses is simplifying complex looking. By making it declarative and explicit, a Workflow definition creates the correct abstraction for the scenario.

 

Major advantages of WWF.

 

  • Representation of process in a project can be easily defined.
  • We can modify at run time
  • With WWF we get long running. 

How we develop a WWF

Step 1
Create a work flow application to select a workflow model.

step 2 Add activities to this model.



Figure 1.

Here in WWF there can be dozen of activity some of them are.

  • Code activity
  • Compensate Activity
  • Conditional Activity Group
  • Delay Activity
  • If Else Activity
  • Parallel Activity
  • Replicator Activity
  • Policy Activity
  • Invoke web service Activity
  • Fault Handler Activity
  • While Activity
  • Suspend Activity
  • Set State Activity
  • State Initialization Activity
  • Terminate Activity
  • Throw Activity 

As we seen above, in WWF, a workflow definition consists of Activities. Activities can be single or composite. A composite activity itself comprises of individual activities. A workflow can be thought of as a composite activity. This allows us to call a workflow within a workflow. To implement a custom activity; all we have to do is derive from the Activity class and override the Execute method.

 

public class ActivityCreate : Activity

{

    protected override Status Execute(ActivityExecutionContext context)

    {

    }

}

Comment Request!
Thank you for reading this post. Please post your feedback, question, or comments about this post Here.
Login to add your contents and source code to this article
 [Top] Rate this article
 
 About the author
 
Rahul Kumar Saxena
Rahul shows great interests in working with Microsoft technologies. He specializes in the implementation of DataBase & Graphics. His area of expertise includes: C#, ASP.NET,ADO.NET,Windows Forms & Web Services. He hails from background , Master's in Computer Application. With programming he loves photography, traveling and reading books.
(Talabpur*)
Looking for C# Consulting?
C# Consulting is founded in 2002 by the founders of C# Corner. Unlike a traditional consulting company, our consultants are well-known experts in .NET and many of them are MVPs, authors, and trainers. We specialize in Microsoft .NET development and utilize Agile Development and Extreme Programming practices to provide fast pace quick turnaround results. Our software development model is a mix of Agile Development, traditional SDLC, and Waterfall models.
Click here to learn more about C# Consulting.
 
Introducing MaxV - one click. infinite control. Hyper-V Hosting from MaximumASP.
Finally – a virtual platform that delivers next-generation Windows Server 2008 Hyper-V virtualization technology from a managed hosting partner you can truly depend on. Visit www.maximumasp.com/max for a FREE 30 day trial. Hurry offer ends soon. Climb aboard the MaxV platform and take advantage of High Availability, Intelligent Monitoring, Recurrent Backups, and Scalability – with no hassle or hidden fees. As a managed hosting partner focused solely on Microsoft technologies since 2000, MaximumASP is uniquely qualified to provide the superior support that our business is built on. Unparalleled expertise with Microsoft technologies lead to working directly with Microsoft as first to offer IIS 7 and SQL 2008 betas in a hosted environment; partnering in the Go Live Program for Hyper-V; and product co-launches built on WS 2008 with Hyper-V technology.
Dynamic PDF
ceTE software specializes in components for dynamic PDF generation and manipulation. The DynamicPDF™ product line allows you to dynamically generate PDF documents, merge PDF documents and new content to existing PDF documents from within your applications.
Nevron Chart for .NET 2010.1 Now Available
The leading .NET charting control now features PDF, Flash and Silverlight export, visualization of large datasets and more. Deliver true charting functionality to your BI, Scorecard, Presentation or Scientific apps. Download evaluation now.
ASP.NET 4 Hosting
Get 2 Months Free of ASP.NET Hosting for Only $4.95/month! Receive FREE MS SQL and MySQL Databases Including ASP.NET 4/3.5, MVC 3.0, Silverlight 4, Windows 2008/IIS 7.0 Plus FREE IIS 7 Modules. Host UNLIMITED ASP.NET Web Sites – Click Here!
 
 Post a Feedback, Comment, or Question about this article
Subject:
Comment:
6 Months Free & No Setup Fees ASP.NET Hosting!
Become a Sponsor
 Comments
Nice post by kurt On November 18, 2009
Nice article Rahul, hope to hear more topic in WWF from you soon! Thanks
Reply | Email | Modify 
Need to know more about WWF by umed On December 2, 2011
Want to know about WWF concept using Windows Forms and WPF..
Reply | Email | Modify 

 © 2012  contents copyright of their authors. Rest everything copyright Mindcracker. All rights reserved.