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

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.

主站蜘蛛池模板: 恭城| 永清县| 大埔县| 永仁县| 阿图什市| 日喀则市| 浪卡子县| 丁青县| 宁河县| 周宁县| 达日县| 东乡县| 宕昌县| 明光市| 孝昌县| 临澧县| 宁武县| 永新县| 西峡县| 乐平市| 兴隆县| 吉木乃县| 密云县| 师宗县| 桂东县| 安远县| 罗定市| 舟山市| 乌鲁木齐县| 巩留县| 沾化县| 滦南县| 罗江县| 梁山县| 呈贡县| 木兰县| 会东县| 东平县| 余江县| 兴义市| 平谷区|