The Wayback Machine - https://web.archive.org/web/20120306011312/http://www.codeguru.com:80/columns/experts/

    Programming Insights


    This column is written by a variety of industry leaders including people such as Jeffrey Richter, Jason Clark, Brent Rector, John Robbins, Jeff Prosise, Kenn Scribner, and Dino Esposito. The authors in this column are some of the industry's most respected and sought-after experts. They focus on helping you writing real-world code tomorrow so you can ship products that work right the first time — they provide you with insights into programming!

    .NET Workload Indirection with Managed Extensibility Framework and Task Parallel Library

    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.

    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.

    Understanding JavaScript Web Workers

    Microsoft's recent Windows 8 announcement makes HTML5 and anything HTML5/JavaScript related an important subject for any Windows developer. To most developers HTML is a "tag" based user-interface specification. However, HTML5 is more than just new "tags". Yoked to, but separate from the HTML5 specification is a specification defining background running scripts called Web Workers.

    Advanced Task Parallel Library Continuations

    Learn how to build Task Parallel Library Continuation with multiple Antecedents.

    Timers and the Task Parallel Library TaskCompletionSource

    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.

    .NET Task Parallel Library Advanced Data Parallel

    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.

    Understanding Data Parallel in the .NET Task Parallel Library

    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.

    Composing Windows Workflow Foundation with .NET Framework Task Parallel Library

    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.

    Active Objects Pattern Futures with .NET Framework Task Parallel Library

    Learn how to handle Active Object method return values with .NET Framework Tasks.

    .NET Framework Task Parallel Library and the Active Objects Pattern

    Task Parallel Library contains all the plumbing a developer will need to implement the Active Object pattern.

    Understanding the .NET Task Parallel Library TaskScheduler

    Hardly noticeable, yet critical to a smoothly executing Parallel workload. TaskSchedulers are the "conductors" of the Task Parallel Library world.

    Working with .NET Framework Task Parallel Library and Windows Presentation Foundation

    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.

    Understanding .NET Framework Task Parallel Library Cancellations

    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.

    Microsoft .NET Reactive Extensions and .NET Framework Task Parallel Library

    In making parallel computing more accessible, Microsoft has also made asynchronous execution more accessible. Nowhere is this fact more apparent than in technologies built from the ground up on these new asynchronous capabilities. Take, for example, Reactive Extensions (Rx); a set of libraries built on LINQ and the Task Parallel Library (TPL).

    .NET Framework Parallel Programming Design Patterns

    There is a buffet of Parallel Programming patterns and conventions documentation. A good approach to digesting all the available information is to ingest a little bit at a time. Developers looking for a Parallel Programming Patterns and Conventions appetizer will find it in this article.

    .NET Framework: Task Parallel Library Dataflow

    Learn about the Task Parallel Library Dataflow, a new member of Microsoft's Technical Computing Initiative built on the Task Parallel Library.

    Microsoft .NET Framework 4.0 Task Parallel Library Continuations

    Task Continuations allows developers to create interdependencies between tasks. The interdependencies can involve simple execution in response to task completion or aggregated exception handling among tasks. Read along to learn more.

    Awaiting Future C# Asynchronous Features Brought to you by .NET Parallel Computing

    Learn how .NET Framework 4.0 Parallel Computing will enable an upcoming C# programming feature and make asynchronous coding easier.

    Introducing the .NET Framework 4.0 Task Parallel Library BlockingCollection

    Learn how BlockingCollection, a new .NET Framework 4.0 concurrency friendly data structure, can serve as a mediator between task classes sharing data.

    Working with the .NET Framework 4.0 Windows Communication Foundation (WCF) Routing Service

    Learn how to configure the Windows Communication Foundation (WCF) Routing Service for common service scenarios.

    Coordinating .NET Framework Custom PowerShell Providers, Pipelines, and Custom Cmdlets

    Learn how to design custom PowerShell CmdLets and providers that leverage the PowerShell pipeline.

    Debugging and Designing Custom .NET Framework PowerShell Providers

    This article and the accompanying resources are a good starting point for learning how to design and debug a .NET Framework PowerShell Provider.

    .NET Framework 4.0 Task Parallell Library vs. the Concurrency and Coordination Runtime

    See where the .NET Framework 4.0 Task Parallel Library fits within Concurrency and Coordination Runtime.

    Understanding Tasks in .NET Framework 4.0 Task Parallel Library

    Parallel computing has been around for quite some time, but it was never a mainstream topic. However, as CPU clock rates have reached a plateau and multi-core processors have become the norm, parallel computing will become more important for .NET developers.

    A Guided Tour of Microsoft Visual Studio 2010 Database Development

    Learn about the new database development features in Microsoft Visual Studio 2010.

    Visualizing Nodes and Edges with Microsoft Automatic Graph Layout

    Learn about the Microsoft Automatic Graph Layout using a Windows Presentation Foundation (WPF) sample application.

    SQL Server Modeling Services with Microsoft Visual Studio 2010 Beta 2

    Learn how to use SQL Modeling Services to hunt for interdependencies without having to access source code.

    SELECT, INSERT, UPDATE with the SQL MERGE Statement

    In today's column we'll demonstrate how and when to use the new TSQL MERGE statement and how this can be a helpful addition to your toolbox.

    Constructing your First PowerShell Provider

    PowerShell, it seems, is going to be here for awhile. So today we'll focus on a few of the major PowerShell Provider concepts.

    Extending Microsoft's Concurrency and Coordination Runtime with MSMQ

    Join Microsoft's Concurrency and Coordination Runtime and MSMQ to coordinate work across processes on multiple computers.

    Creating Responsive .NET Applications with Microsoft Concurrency and Coordination Runtime (CCR)

    Discover how CCR can work with the .NET Ping class APM functions.

    RESTing with the Microsoft REST Starter Kit

    Tap the Starter Kit for your next REST Web Service.

    Using "M" and the Microsoft Oslo SDK to Develope a TSQL Domain Specific Language

    Delve into "M" and the Oslo SDK. Discover how a runtime can more effectively leverage the Oslo SDK data structures generated by M.

    BLOG: Real Developers Don’t Need No Designers

    "Desktop Developers don't have designers! Ask one of us who designed the application and we'll scratch our heads and mutter...."

    Using M and the Oslo SDK to Build a WPF Animation DSL

    Here is your starting point for figuring out how Oslo M can solve your business problems.

    Text Transformation with MGrammar and the Oslo SDK

    Learn to build a text DSL in MGrammar.

    Building Microsoft Oslo Models

    Learn modeling and M development with the Oslo CTP SDK.

    Exploring the Oslo Repository

    Walk through examples and see how existing Repository models are constructed using the M language, how the models are stored in a SQL database, and how to query the SQL database for model information.

    Building a Windows Workflow SQL Server Integration Services Activity

    Learn to how to make SQL Server Integration Services a part of Windows Workflow Foundation.

    Dynamically Building Windows Presentation Foundation DataTemplates

    Discover how to use the XamlReader to dynamically create a Datatemplate. Then, see how you can bind to a Dataset and display the data in a ListView control (via a sample application pointing to the Northwind database).

    Beginner's Guide to SQL Server Database Development with VSTS Database Edition

    Learn how to make Visual Studio Team Suite Database Edition part of your development process.

    Developing Microsoft System Center Operations Manager 2007 Management Packs

    Learn to build a Management Pack to monitor your application.

    An Introduction to BizTalk 2006 R2 Development

    Learn about BizTalk 2006 R2's core features housed in the BizTalk Messaging Engine and what they can do for you.

    Building a Regular Expression Stream Search with the .NET Framework

    Learn to implement a Regular Expression search for .NET Streams.

    You've Got the BizTalk POP3 Adapter

    Leverage the BizTalk POP3 Adapter to manage an inbox.

    Building a BizTalk Pipeline Content Enricher with SQL Server 2005

    Learn how to implement the Content Enricher integration pattern using BizTalk 2006 R2 and SQL Server 2005.