官术网_书友最值得收藏!

Chapter 2. Authoring Workflows

The workflow designer hosted in Visual Studio 2005 makes workflow design a drag-and-drop operation. In this chapter, we will build a workflow with the designer, and then take a detailed look at what happens behind the scenes. Ultimately, the workflow definition we see in the designer becomes a type in a .NET assembly. Because Windows Workflow is flexible, there are several paths available for the workflow to journey from designer to compiled type.

One approach is to author our workflows using a purely declarative style (using only XAML). We can also author workflows using a purely imperative style (using only C# or Visual Basic code). Finally, we can use a combination of XAML and code.

When a workflow is executing, these different approaches won't have a noticeable impact. When we are building workflows, however, the authoring styles offer various strengths and weaknesses we can align with our needs. We will examine the pros and cons of the available approaches and see how a workflow moves from design to executable instructions.

主站蜘蛛池模板: 承德市| 丁青县| 微山县| 呼玛县| 彭州市| 霍州市| 华阴市| 伊金霍洛旗| 通化县| 宁津县| 泽州县| 永兴县| 嘉峪关市| 瑞金市| 天等县| 东乡| 常德市| 湾仔区| 稷山县| 高雄县| 承德市| 柯坪县| 额尔古纳市| 桐城市| 瑞昌市| 遂平县| 方城县| 汪清县| 图们市| 舒兰市| 西丰县| 福海县| 革吉县| 咸宁市| 辰溪县| 微博| 泾源县| 内乡县| 城步| 南昌市| 永德县|