XAML and Workflow Foundation
You can design workflow in three possible ways using Workflow Foundation; purely code-based, partially code/XAML-based, and totally XAML-based. Partially code/XAML-based workflows are combination of code and XAML. For instance, a typical scenario would be: a panoramic view of application is taken and workflow is defined using XAML, and later on, technical nitty-gritty is added by developer(s) for each workflow activity in code. These solutions need compilation. Purely XAML-based solutions have workflow as well as all conditions/rules specified in XAML and can be hosted without compilation, though "XAML Activation" would be needed to make them work. 1