دوره Windows Workflow Foundation (WF 4.0)
در بسیاری از سناریوهای تولید نرمافزار شما با جریانهای کاری (workflow) روبرو هستید، به این صورت که باید یک فرآیند تجاری (Business Process) که شامل یک سری فعالیت (Activity) هستند را پیادهسازی کنید. هر Business Process در واقع یک مجموعه از اعمالی است که به طور کلی یک عمل منطقی را برای شما انجام میدهند. برای نمونه شما میتوانید برای عمل رزرو کردن یک اتاق در هتل، یک فرآیند تجاری را تعریف کنید. WF تکنولوژی جدید مایکروسافت برای مدلسازی، پیکربندی، نظارت و اجرای جریانهای کاری است . شما میتوانید جریانهای کاری را به صورت اعلانی و با استفاده از محیطهای طراحی مخصوص این کار در Visual Studio 2008 به صورت ویژوال انجام دهید.
مخاطبین دوره: برنامه نویسان و مدیران فنی پروژه ها
پیش نیاز ها: تسلط بر زبان #C ، آشنایی با Data Access و WCF
تعداد ساعات: 40 ساعت + 5 ساعت کارگاه عملی
سرفصل ها:
Workflow Program
Creating the first WF program: HelloWorkflow
Creating a WF program using C# Code
Initializing a WF program using InArguments
Creating a WF program using OutArgument
Creating a WF program using InOutArgument
Using Variable in a WF program
Running a WF program asynchronously
Customizing a MyReadLine activity with Bookmark
Converting a WF program instance to XAML
Loading up a WF program from an XAML file
Testing a WF program with a unit test framework
Debugging a WF program
Built-in Flow Control Activities
Using the Foreach activity
A number guessing game in Sequence
A number guessing game using a flowchart
Using the InvokeMethod activity
Using the Switch<T> activity in Sequence workflow
Using the FlowSwitch<T> activity
Using the Parallel activity
Using the ParallelForEach<T> activity
Using the Pick activity
Handling errors
Messaging and Transaction
Creating a pure WCF service
Receiving and replying to a WCF message
Receiving and replying to a WCF message in code workflow
Sending and receiving a reply to a WCF message
Sending and receiving a reply to a WCF message in code workflow
Using CancellationScope activity
Performing a transaction by using TransactionScope activity
Performing compensation by using Compensable activity
Performing manual compensation by using Compensate activity
Performing manual compensation by using Compensate activity
Manipulating Collections
Printing collection items
Using AddToCollection<T> activity
Using ClearCollection<T> activity
Using RemoveFromCollection<T> activity
Using ExistsInCollection<T> activity
Custom Activities
Creating an activity by inheriting the root activity
Creating a FileWriter activity
Creating a SendEmail activity
Creating an Input Message activity using Bookmark
Creating an Asynchronous HTTP Get activity
Creating a Composite activity
Creating an Activity Designer for the SendEmail activity
Creating an Activity Designer for the MySquence activity
WF4 Extensions
Configuring ETW tracking
Creating FileTrackingParticipant
Configuring the SQL persistence store
Loading a persisted workflow from the database
Using a persistence participant to persist additional data
Using a customized extension
Hosting Workflow Applications
Hosting a workflow service in IIS7
Hosting workflow in ASP.NET
Hosting workflow in WPF
Hosting workflow in a Windows Form
Custom Workflow Designer
Implementing designer layout
Implementing Toolbox, Workflow Designer, and Property Inspector views
Implementing New Workflow and Load Workflow events
Implementing Save and Save As events
Implementing XAML Workflow Tab and Run events
Implementing visual tracking