February 2010
Beginner
400 pages
11h 13m
English
Microsoft supplies many activities out of the box, but you will want to and should create your own activities. Activities can be created in three main ways:
As a composition of other existing activities
In code
In pure XAML
Let's create a simple activity to simulate writing a customer's ticket booking to a database:
Right-click the project and add a new activity (from the Workflow section) called SaveBooking.xaml.
Open SaveBooking.xaml in design view.
Create an argument for the SaveBooking activity (String, In) called BookingReference.
Drag a Sequence activity onto the design surface.
Drag a WriteLine activity onto this activity and change its display name ...