English French German Italian Portuguese Russian Spanish

logo_old

  • Microsoft Training

    microsoftInterSource offers courses on all practically all Microsoft products and technologies:

    Operating Systems: XP, Vista, Server Server2003, Server 2008 IIS, SQL Server

    Development Tools & Environments: ASP, ASP.NET, C#, .NET, VBA, Visual Basic

    Applications: Dynamics, Expression, Access, Excel, Word PowerPoint, Exchange, InfoPath, Outlook, SharePoint , Project, Publisher, Business Intelligence

    Please refer to our detailed course outlines below.

  • About Microsoft

    Microsoft has had an impact on, and indeed defined the computing world like no other company. The development tools, operating systems and applications produced by Microsoft have achieved near-ubiquity in the desktop computer market. The original mission set by Microsoft's founder was to have "a computer on every desk and in every home, running Microsoft software". About 90% of computer users worldwide run Microsoft products, hence this objective has largely been met. For operating systems, Web client statistics suggest that Microsoft Windows has about a 92% share, Apple Mac OS 6% and Linux, 1%.

    Read More

  • Course Details Microsoft

    Classes are offered at client sites, at our Geneva training center, and via a live web conference. For detailed course outlines and scheduled classes, please see below.

    To book training, navigate to the course you need, then:

    • For scheduled online classes, register from the choices indicated.
    • If you need an alternative date, time or location, or if you want a live classroom course, click on “request an offer for this course,” to complete the form.

Windows Workflow Foundation Using C#

 PDF PrintEmail

Course duration

  • 4 Days

Course Outline

Microsoft's Windows Workflow Foundation (WF) provides a framework for creating scalable applications consisting of independent program units called activities. WF 4 was a major rewrite of this technology, offering significantly higher performance and making it easier to create and execute workflow applications. WF 4.5 contains new activities, designer capabilities, and a new workflow development model (state machines). It also supports the use of C# expressions in C# workflows. This four-day course covers WF 4.5 and uses Visual Studio 2013, which provides a visual designer for creating workflows.

This Windows Workflow Foundation Using C# training class begins with an overview of the concepts of workflow and the programming model provided by WF. The essentials of WF programming are then covered followed by a systematic treatment of the major features of WF, including the Built-In Activity Library. Primitive and control flow activities are discussed, and the alternatives to hosting workflows are covered. Collection and parallel activities are covered. The creation of custom activities, both using the designer and code, is explained. Flowchart and state machine activities are covered. Persistence and bookmarks are discussed. Workflow Services, using Windows Communication Foundation (WCF) is covered. The course concludes with a discussion of debugging, error handling, transactions and compensation.

Numerous programming examples and exercises are provided. The student will receive a complete set of notes and all the programming examples.

  • Understand the concept of workflow and the architecture of WF
  • Implement workflow applications using WF
  • Use standard activities from the Built-In Activity Library
  • Implement custom activities for workflow applications
  • Provide hosting for workflow applications
  • Implement persistence in workflow applications
  • Implement and consume workflow services
  • Debug workflow applications
  • Handle errors and perform compensation in workflow applications
  • Programming experience in C# and the .NET Framework.
  • Familiarity with the Visual Studio development environment. .
  1. Workflow Foundation Conceptual Overview
    1. What is Workflow?
    2. Windows Workflow Foundation
    3. Workflows
    4. Activities
    5. A Workflow Business Scenario
    6. Workflow Foundation 3
    7. Workflow Foundation 4
    8. Workflow Foundation 4.5
  2. Getting Started with WF 4.5
    1. Visual Studio Workflow Projects
    2. Workflows in Code
    3. Workflows in XAML
    4. Workflow Designer
    5. Sequence
    6. Assign
    7. Variables, Arguments and Expressions
    8. WriteLine
    9. Control Flow
  3. Primitive and Control Flow Activities
    1. InvokeMethod
    2. Workflow Variables
    3. Delay
    4. Parallel
    5. If
    6. While and DoWhile
    7. Switch
  4. Custom Activities
    1. Why Custom Activities?
    2. Arguments
    3. Activity Class Hierarchy
    4. CodeActivity
    5. Composing Activities
  5. Workflow Hosting
    1. WorkflowInvoker
    2. WorkflowApplication
    3. WorkflowApplication Delegates
    4. Canceling and Aborting a Workflow
    5. Terminating a Workflow
    6. Workflows in a Windows Application
    7. Workflows in ASP.NET
  6. Collection and Parallel Activities
    1. Collection Activities
    2. ForEach
    3. ParallelForEach
    4. AsyncActivity
  7. More about Custom Activities
    1. Waiting for Input
    2. Bookmarks
    3. NativeActivity
    4. Pick
  8. Flowchart and State Machine
    1. Flowcharts
    2. Flowchart Activity Designers
    3. State Machines
    4. States and Transitions
    5. State Machine Activity Designers
    6. Threading Issues
  9. Persistence
    1. Long-lived Workflows
    2. Persistence and Bookmarks
    3. Persistence Store in SQL Server
    4. PersistableIdle
    5. Unloading and Loading
    6. Serializing Instance Identification
  10. Workflow Services
    1. What is WCF?
    2. Address, Binding and Contract
    3. Workflow Services
    4. Messaging Activities
    5. Exposing a Workflow as a Service
    6. Calling a Service from a Workflow
    7. Hosting using WorkflowServiceHost
    8. Multiple Operations
  11. Debugging and Error Handling
    1. Breakpoints in Activities
    2. Handling Exceptions in the Host
    3. Handling Exceptions in the Workflow
    4. Transactions
    5. Compensation

InterSource Geneva, a premier Information Technology training firm, offers over 400 different courses on server, database and programming technologies, as well as end-user classes for the most popular office, graphics and design applications. We serve clients in Switzerland (Geneva, Lausanne, Bern, Basel, Zurich) and throughout Europe (France, Germany, Austria, Finland, Sweden, England, Netherlands, Spain, etc.).


InterSource offers custom, private courses at client sites, standard public courses in our Geneva classroom, and online training via live Web conference. Training is offered in English and many other languages (Francais, Deutsch, Espanol, Italiano.)


For an overall view of our offerings, please visit us at www.intersource.ch.