February 2010
Beginner
400 pages
11h 13m
English
In this section, we will write a simple workflow that will handle a booking for a movie theater. Our example workflow will do the following:
Process a booking for a specific film.
Check if seating is available for the requested showing. In our example, to keep everything simple, if less than five tickets are requested, then the booking will succeed.
Return a Boolean value indicating whether the booking was successful and a hard-coded alphanumeric ticket reference (blank if unsuccessful).
WF4 is a radical change, so even if you are an experienced WF developer, please take the time to work your way through this example, as the designer has changed completely and a number of new concepts have been introduced.
Open Visual Studio and ...