O'Reilly logo

Building Applications with Windows Workflow Foundation: Extended Workflow Example by Michael Stiefel

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

SECTION #1. Activity Libraries

For our first foray into custom activities we will examine how to reuse a set of commonly used existing activities as an activity library. The ActivityLibrary example illustrates how to build such a component as a composition of already existing activities. Activity Library components also use some of the same features that custom activities do.

The PolicyServices project in the solution represents a Local Service that is used by the activity library. It consists of an interface IInsurancePolicyServices and an implementation class InsurancePolicyServices. These are defined in the file InsuranceServices.cs.

image

The PolicyWorkflow ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required