Even though WF was not built on TPL, there are TPL features that can make running WF workflows easier. In self-hosted scenarios, for example, a desktop application may be running a workflow. Code examples in this article demonstrate how TPL and WF can work together.
Latest Programming Insights Articles - Page 7
Learn how to handle Active Object method return values with .NET Framework Tasks.
Task Parallel Library contains all the plumbing a developer will need to implement the Active Object pattern.
Hardly noticeable, yet critical to a smoothly executing Parallel workload. TaskSchedulers are the "conductors" of the Task Parallel Library world.
Like all .NET technologies there are many approaches to combining Windows Presentation Foundation (WPF) and Task Parallel Library (TPL) within the .NET Framework. Using some code samples I'm going to demonstrate how to incorporate TPL into WPF.
TPL includes Cancellations and AggregateExceptions for interrupting work and dealing with collections of exceptions often generated when multiple Tasks are interrupted. There are patterns to implementing Cancellations and this article demonstrates some of the more common patterns.
Latest Developer VideosMore...
Latest CodeGuru Developer Columns
The Transactional File System (TxF), which allows access to an NTFS file system to be conducted in a transacted manner through extensions to the Windows SDK API. MFC 10, has been extended to support TxF and related technologies. This support allows existing MFC applications to be easily extended to support kernel transactions.
The original release of the .NET Framework included collections as .NET was introduced to the Microsoft programming world. The .NET Framework 2.0 introduced generics to complement the System.Collections namespace and provide a more efficient and well performing option. Read on to learn more...
Hannes du Preez shows you how to disable titlebar buttons and menus in your programs temporarily.
WebSockets are intended to build bi-directional connections between a web browser and a server. This must be done in a safe way. In addition, the WebSockets have a huge disadvantage (to say it politely). Read on to learn more.