Jeffrey Juday shows you how to bring Task Parallel Library (TPL) and Managed Extensibility Framework (MEF) together to manage a workload on the .NET platform.
Latest Programming Insights Articles - Page 5
Creating OData Entries in WCF Data Services
To fully exploit Open Data Protocol (OData) with WCF Data Services there are classes and interfaces a .NET app must instantiate or implement. Using a sample WCF Data Services application, this article explains how to implement data creation on an OData Endpoint.
Navigating OData and WCF Data Services
Understanding OData conventions are important to building an OData client and testing an OData Endpoint. Of all the OData conventions the most important convention a WCF Data Services developer must understand are the OData URI conventions. This article explains how OData URI conventions map to code living inside of WCF Data Services.
WCF Data Services Providers
OData's simplicity and common underlying Web standards have made it a popular Data protocol in the Microsoft stack. WCF Data Services includes several Providers that surface OData from .NET classes.
SpinWait.SpinUntil and the Task Parallel Library
Often blocking and checking is combined with some sort of timeout. SpinUntil, a static method on the SpinWait structure, combines blocking, waiting, and timeouts. New in the .NET Framework 4.0, SpinUntil simplifies many different scenarios involving the Task Parallel Library (TPL). Jeffery Juday shares some common recipes employing SpinUntil alongside TPL.
Understanding the Task Parallel Library IProducerConsumerCollection
A substantial number of Task Parallel Library (TPL) Concurrent collections implement IProducerConsumerCollection. Jeffrey Juday explains the scenarios and mechanisms around implementing IProducerConsumerCollections.
Latest Developer Videos
More...Latest CodeGuru Developer Columns
MFC Integration with the Windows Transactional File System (TxF)
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.
.NET Framework: Collections and Generics
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...

How to use Visual Studio 2012 to Download Images from Websites
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 in C# - An Overview
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.
