Creating Service Interfaces

The service interface is entirely yours to create, and it should be based on the data you want to communicate between your workflow instance and your host application. For this sample application, imagine you need to design a workflow to retrieve driver information from various sources and that you want the information collated into a single data structure—a DataSet with multiple DataTables, one table for vehicle identification information and one table for driver traffic violations. In reality, you’d retrieve this data from some source, or from a set of different sources, but we’ll simply use imaginary data to keep things more focused on the workflow itself. In the host application, we’ll display the (bogus) data in ...

Get Microsoft® Windows® Workflow Foundation Step by Step now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.