E-Book, Englisch, 852 Seiten
Bukovics Pro WF
1. ed
ISBN: 978-1-4302-0976-8
Verlag: Apress
Format: PDF
Kopierschutz: 1 - PDF Watermark
Windows Workflow in NET 3.5
E-Book, Englisch, 852 Seiten
ISBN: 978-1-4302-0976-8
Verlag: Apress
Format: PDF
Kopierschutz: 1 - PDF Watermark
Windows Workflow Foundation is a groundbreaking addition to the core of the .NET Framework that allows you to orchestrate human and system interactions as a series of workflows that can be easily mapped, analyzed, adjusted, and implemented. As business problems become more complex, the need for a workflow-based solution has never been more evident. WF provides a simple and consistent way to model and implement complex solutions. As a developer, you focus on developing the business logic for individual workflow tasks. The runtime handles the execution of those tasks after they have been composed into a workflow. Pro WF: Windows Workflow in .NET 3.5 provides you with the skills you need to incorporate WF into your applications. This book gets you up to speed with Windows Workflow Foundation quickly and comprehensively. The practical aspects of using WF are covered in a lively tutorial style with each workflow concept illustrated in C#. You'll find detailed coverage of how to customize your workflows and access them in a variety of ways and situations so you can maximize the advantages of this technology. Pro WF: Windows Workflow in .NET 3.5 is written by an experienced Windows and .NET developer. Rather than simply duplicating the available references on the subject, author Bruce Bukovics leads you through a series of practical WF topics that enable you to gain immediate experience and learn how to use the technology as you progress through the book.
Bruce Bukovics has been a working developer for over 25 years. During this time, he has designed and developed applications in such widely varying areas as banking, corporate finance, credit card processing, payroll processing, and retail automation. He has firsthand developer experience with C, C++, Delphi, VB, C#, and Java, and he rode the waves of technology as they drifted from mainframe to client/server to n-Tier, from COM to COM+, and from Web Services to .NET Remoting and beyond. He considers himself a pragmatic programmer. He doesn't stand on formality and doesn't do things just because they have always been done that way. He's willing to look at alternate or unorthodox solutions to a problem if that's what it takes. He is employed at Radiant Systems, Inc., in Alpharetta, Georgia, as a lead developer and architect in the centralized development group.
Autoren/Hrsg.
Weitere Infos & Material
1;Contents at a Glance;5
2;Contents;6
3;About the Author;20
4;About the Technical Reviewers;21
5;Acknowledgments;22
6;Introduction;23
6.1;Who Should Read This Book;23
6.2;An Overview of This Book;24
6.3;What You Need to Use This Book;27
6.4;Obtaining This Book’s Source Code;27
6.5;How to Reach Me;27
7;A Quick Tour of Windows Workflow Foundation;28
7.1;Why Workflow?;28
7.2;Your Development Environment;30
7.3;Hello Workflow;31
7.4;Passing Parameters;39
7.5;Making Decisions;42
7.6;Summary;55
8;Foundation Overview;56
8.1;Workflow Types;56
8.2;Foundation Deliverables;59
8.3;Runtime Environment;62
8.4;Design-Time Environment;73
8.5;Summary;90
9;Activities;91
9.1;Understanding Activities;91
9.2;Exploring Standard Activities;93
9.3;Standard Activities Summary;103
9.4;Adding Workflow Logic;104
9.5;Using the CodeActivity;105
9.6;Developing Custom Activities;119
9.7;Enhancing the Design Experience;140
9.8;Summary;154
10;Hosting the Workflow Runtime;155
10.1;Overview of Hosting;155
10.2;Simple Workflow Hosting;156
10.3;Improved Workflow Hosting;163
10.4;Controlling a Workflow Instance;185
10.5;Synchronous Workflow Execution;188
10.6;Summary;191
11;Flow Control;192
11.1;Condition Types;192
11.2;Using the IfElseActivity;193
11.3;Using the WhileActivity;205
11.4;Using the ParallelActivity;211
11.5;Using the ReplicatorActivity;219
11.6;Using the ConditionedActivityGroup;231
11.7;Using the InvokeWorkflowActivity;237
11.8;Using the TerminateActivity;238
11.9;Using the SuspendActivity;239
11.10;Summary;239
12;Local Services;240
12.1;Understanding Local Services;240
12.2;Implementing and Using a Local Service;242
12.3;Loading from App. config;250
12.4;Using a Custom Activity;252
12.5;Using the CallExternalMethodActivity;257
12.6;Summary;260
13;Event-Driven Activities;261
13.1;Using Event-Driven Activities;261
13.2;Using the HandleExternalEventActivity;263
13.3;Generating Communication Activities;280
13.4;Manually Controlling Correlation;282
13.5;Using the EventHandlingScopeActivity;291
13.6;Developing Custom Event- Driven Activities;302
13.7;Summary;320
14;Workflow Persistence;321
14.1;Understanding Persistence;321
14.2;Using the SqlWorkflowPersistenceService;324
14.3;Implementing a Custom Persistence Service;343
14.4;Summary;355
15;State Machine Workflows;356
15.1;Understanding State Machine Workflows;356
15.2;Implementing a State Machine Workflow;361
15.3;Eliminating Duplicate Event Handlers;383
15.4;Identifying Available Events;385
15.5;Accessing Runtime Information;388
15.6;Summary;391
16;Transactions and Compensation;392
16.1;Understanding Transactions;392
16.2;Using the TransactionScopeActivity;395
16.3;Understanding Compensation;410
16.4;Using Compensatable Activities;412
16.5;Participating in a Batch of Work;432
16.6;Using the IPendingWork Interface;432
16.7;Summary;439
17;Workflow Rules;440
17.1;Understanding Workflow Rules;440
17.2;Using Rules in WF;442
17.3;Defining Rules with a PolicyActivity;450
17.4;Tracing Rules;462
17.5;Adjusting Rule Sequence;464
17.6;Using Methods Within Rules;467
17.7;Executing a RuleSet in Code;470
17.8;Constructing a RuleSet in Code;473
17.9;Summary;477
18;Exception and Error Handling;479
18.1;Understanding Workflow Exception Handling;479
18.2;Reviewing Default Behavior;482
18.3;Using FaultHandlerActivity;486
18.4;Containing the Exception;491
18.5;Rethrowing an Exception;493
18.6;Compensation and Exceptions;495
18.7;Using CancellationHandlerActivity;500
18.8;Summary;503
19;Advanced Custom Activities;504
19.1;Developing a Fit- for- Purpose Composite Activity;504
19.2;Developing a General- Purpose Composite Activity;510
19.3;Developing a Priority Sequence Activity;520
19.4;Developing Long- Running Activities;528
19.5;Summary;538
20;Dynamic Workflow Updates;539
20.1;Understanding Dynamic Updates;539
20.2;Applying Updates from the Host Application;542
20.3;Restricting Dynamic Updates;551
20.4;Applying Updates from Within a Workflow;552
20.5;Updating a Rule Condition;558
20.6;Replacing a Rule Definition;564
20.7;Summary;568
21;Workflow Tracking;569
21.1;Understanding Workflow Tracking;569
21.2;Using the SqlTrackingService;573
21.3;Creating User Track Points;588
21.4;Tracking Rules Evaluation;589
21.5;Extracting Data with a Custom Tracking Profile;592
21.6;Maintaining the SQL Tracking Database;602
21.7;Developing a Tracking Service;604
21.8;Summary;613
22;Web Services and ASP.NET;614
22.1;Publishing a Workflow As a Web Service;614
22.2;Developing a Web Service Workflow;617
22.3;Returning a Web Service Fault;624
22.4;Developing a Stateful Web Service;626
22.5;Invoking a Web Service from a Workflow;631
22.6;Using Workflows from ASP. NET;637
22.7;Summary;643
23;Workflow Services and WCF Integration;644
23.1;Understanding WCF;644
23.2;Understanding Workflow Services;647
23.3;Developing a Stateless Workflow Service;653
23.4;Hosting in IIS and Developing a Client;659
23.5;Self- hosting the Workflow Service;665
23.6;Defining a Workflow-First Service;669
23.7;Developing a Stateful Workflow Service;671
23.8;Using SendActivity;681
23.9;Context and Conversations;687
23.10;Summary;711
24;Workflow Serialization and Markup;712
24.1;Understanding Workflow Authoring Modes;712
24.2;Developing a Code- Only Workflow;717
24.3;Developing a Code- Separation Workflow;722
24.4;Developing a No- Code Workflow;724
24.5;Using Rules with a No- Code Workflow;731
24.6;Serializing to Markup;734
24.7;Compiling a Workflow;738
24.8;Compiling a Workflow with Rules;741
24.9;Compiling from the Command Line;744
24.10;Deserializing Markup;745
24.11;Summary;749
25;Hosting the Workflow Designers;750
25.1;Understanding the Workflow Designers;750
25.2;Building a Designer Application;753
25.3;Using the Designer;806
25.4;Summary;811
26;Index;812




