Latest Programming Insights Articles - Page 6
Learn how to build Task Parallel Library Continuation with multiple Antecedents.
Developers typically choose a Timer to have an application perform a concurrent background process after some elapsed interval. Wouldn't it be nice to couple results and Timer control in a single class? Task Parallel Library (TPL) includes a class called TaskCompletionSource that enables this scenario.
Much of the .NET Task Parallel Library (TPL) Data Parallel functionality is encapsulated in Parallel Loops. Unlike a regular loop, Parallel loops must partition a collection, requiring a developer to address concurrency issues like cancellation and thread safe operations. This article introduces the TPL Data Parallel core classes and concepts.
Data Parallelism and Task Parallelism are common Parallel Computing forms. Task Parallel Library (TPL) bears the "Task Parallel" name, but where does Data Parallel fit into TPL? How is Data Parallel done in the Task Parallel Library? What does Data Parallel look like in the Task Parallel Library? Read on for the answer to these questions.
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 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...
Learn how to use a for loop to loop through all of the images found on a web page and save them via the DownloadFile method of the WebClient object.
SOLID principles form the base for writing good and clean object oriented code in C#. Learn about the S.O.L.I.D principles and explore C# coding samples for each.