.Net Framework, Asp.net, Ado.net, .Net Remoting, .Net Webservice, SQL, XML, XSLT, WCF, WPF, WWF NHibernate, Ajax, Jquery, DHTML

Ado.netAsp.Net 2.0SQLC-SharpXMLFrameworkIISXMLWebServiceArchitecture
UMLProject ManagementSDLCMethodologiesDesign PatterenOOPWCF.Net RemotingWWF
MVPMVCSilver LightN-HibernateAjaxJ-QuerySEO-MarketingSite MapPhp

WWF(Windows Workflow Foundation)

What is workflow and why ?
Workflow is essentially a way of documenting the activities involved in completing a task. WWF is a framework that provides the building blocks that needed to build workflow-based applications. WWF provides all base components to developers that they need to build any module which can be used to automate processes.

I belive leraning by example, and want to share the same with you.

You must have 3.0 and 3.5 installed in your machine if not dowload from microsoft site.

Sequential Workflow Console ApplicationSequential Workflow Library
Workflow as Web Service


Sequential Workflow Console Application

Now create a project
1. Select project type Workflow => Sequential Workflow Console Application
2. Rename the Workflow1 to "OfficeEntryWorkflow"
3. Now add two code activities Security check & Office Activity
4. Right click on security check code activity & set executecode property name "OnSecurityCheck"
5. Similarly set executecode property name "OnEnter" for Office Activity
6. Now click on run to see whats written on console.



To see what code is generated behind the workflow i have attached "OfficeEntryWorkflow.cs" & "Program.cs"

Leave your comment.
Name
Email
Comments
Tell Us6415+5 =

Reduce your Dialy IT Cost, Consult with us
Stay healthy in recession

Advertisement
Sponsored by

Privacy Policy ©2009 ETG Consultancy, All Rights Reserved Terms & Conditions
Asp.net, Ado.net, .Net Remoting, .Net Webservice, SQL, XML, XSLT, WCF, WPF, WWF NHibernate, Ajax, Jquery, DHTML