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

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.

主站蜘蛛池模板: 突泉县| 灵宝市| 乌兰察布市| 诸暨市| 陕西省| 河北区| 苏州市| 乌兰浩特市| 望奎县| 忻州市| 永胜县| 榕江县| 安庆市| 资中县| 杭锦后旗| 富平县| 濮阳县| 呼伦贝尔市| 长武县| 凤城市| 彝良县| 常山县| 武功县| 濉溪县| 从化市| 桃园市| 繁峙县| 五莲县| 自治县| 姚安县| 阿拉尔市| 新巴尔虎右旗| 仪陇县| 深水埗区| 北票市| 长宁区| 辉南县| 苍山县| 庆元县| 神农架林区| 邛崃市|