Skip to Content
Introducing .NET 4.0: with Visual Studio 2010
book

Introducing .NET 4.0: with Visual Studio 2010

by Alex Mackey
February 2010
Beginner content levelBeginner
400 pages
11h 13m
English
Apress
Content preview from Introducing .NET 4.0: with Visual Studio 2010

6.5. Hello WF4

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 ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

ASP.NET 3.5 For Dummies®

ASP.NET 3.5 For Dummies®

Ken Cox
ASP.NET 4 Unleashed

ASP.NET 4 Unleashed

Stephen Walther, Kevin Hoffman, Nate Dudek

Publisher Resources

ISBN: 9781430224556Purchase book