MSDN Magazine: .NET Matters
.NET Matters: Aggregating Exceptions
Stephen Toub - August 2009
Exceptions in .NET are the fundamental mechanism by which errors and other exceptional conditions are communicated. This month’s column provides information about how to aggregate exceptions to help manage a variety of scenarios in which multiple exceptions might result from one operation, including scenarios involving parallelism and concurrency.
.NET Matters: Parallelizing Operations With Dependencies
Stephen Toub - April 2009
In this month’s installment, Stephen Toub examines some techniques for enforcing dependencies in the running order of asynchronous operations and builds a DependencyManagement class to help.
.NET Matters: Ordered Execution With ThreadPool
Stephen Toub - February 2009
This month we demonstrate how you can use the ThreadPool to support ordered execution without having to build custom thread pools yourself.
.NET Matters: False Sharing
Stephen Toub, Igor Ostrovsky, and Huseyin Yildiz - October 2008
This month: memory access issues in multi-core systems and diagnosing and avoiding false sharing in your parallel computing applications.
.NET Matters: Asynchronous I/O with WebClient
Stephen Toub - July 2008
In this month’s installment of .NET Matters, columnist Stephen Toub answers reader questions concerning asynchronous I/O .
.NET Matters: Asynchronous Stream Processing
Stephen Toub - March 2008
This month Stephen Toub discusses asynchronous stream processing.
.NET Matters: Stream Pipeline
Stephen Toub - February 2008
This month Stephen Toub explains how to make the most of dual processors when running encryption and compression tasks.
.NET Matters: IFileOperation in Windows Vista
Stephen Toub - December 2007
The author creates a managed wrapper to use the new IFileOperations interface in Windows Vista from managed code.
.NET Matters: Debugging finalizers
Stephen Toub - November 2007
Find out how to use finalizers as a way to warn developers who use your custom types when they are garbage collected without having been disposed of correctly.
.NET Matters: Deadlock monitor
Stephen Toub - October 2007
This month Stephen Toub discusses deadlocks that can occur when synchronizing threads.
.NET Matters: Tales from the CryptoRandom
Stephen Toub and Shawn Farkas - September 2007
Stephen Toub and Shawn Farkas discuss creating an adapter that takes the functionality of RNGCryptoServiceProvider and adapts it to the interface of Random.
.NET Matters: Handling Messages in Console Apps
Stephen Toub - June 2007
Many developers who use the Microsoft .NET Framework think that application type is tied to the libraries that can be used in that application. Stephen Toub clarifies.
.NET Matters: Restart Manager and Generic Method Compilation
Stephen Toub - April 2007
This month Stephen Toub answers questions pertaining to the Windows Vista Restart Manager API and generic method compilation.
.NET Matters: Deserialization Progress, and More
Stephen Toub - December 2006
Build a standard progress bar that indicates how much deserialization has completed and how much still remains. Plus, System.Collection.Generics performance.
.NET Matters: Event Accessors
Stephen Toub - November 2006
Creating events on classes by adding the event keyword to a delegate member variable declaration.
.NET Matters: Scope<T> and More
Stephen Toub - September 2006
This month Stephen Toub explains how you can get some of the functionality found in the TransactionScope class in your own classes.
.NET Matters: Parameterized ThreadStart, EventWaitHandle, and More
Stephen Toub - June 2006
This month Stephen Toub answers readers questions that include: How do I pass data to a new thread? Why can't I convert from "ref string" to "ref object"? And what's the difference between EventWaitHandle, AutoResetEvent and ManualResetEvent?
.NET Matters: Abortable Thread Pool
Stephen Toub - March 2006
.NET Matters: Iterating NTFS Streams
Stephen Toub - January 2006
.NET Matters: BigInteger, GetFiles, and More
Stephen Toub - December 2005
.NET Matters: NamedGZipStream, Covariance and Contravariance
Stephen Toub - October 2005
.NET Matters: Stream Decorator, Single-Instance Apps
Stephen Toub - September 2005
.NET Matters: StringStream, Methods with Timeouts
Stephen Toub - July 2005
.NET Matters: ICustomTypeDescriptor, Part 2
Stephen Toub - May 2005
In last month's . NET Matters column, I answered a question concerning the PropertyGrid control, specifically about using it with classes that expose fields instead of properties. I demonstrated how the ICustomTypeDescriptor interface in the Microsoft® .
.NET Matters: ICustomTypeDescriptor, Part 1
Stephen Toub - April 2005
.NET Matters: File Copy Progress, Custom Thread Pools
Stephen Toub - February 2005
.NET Matters: Sepia Tone, StringLogicalComparer, and More
Stephen Toub - January 2005
.NET Matters: Asynchronous HttpWebRequests, Interface Implementation, and More
Stephen Toub - December 2004
.NET Matters: ThreadPoolPriority, and MethodImplAttribute
Stephen Toub - November 2004
.NET Matters: ThreadPoolWait and HandleLeakTracker
Stephen Toub - October 2004
.NET Matters: Debugger Visualizations, Garbage Collection
Stephen Toub - August 2004
.NET Matters: How Microsoft Uses Reflection
Edited by Stephen Toub - July 2004
In this fourth installment of . NET Matters, I'm taking a breather from the Q&A format. Instead, this month I bring you stories from the trenches; developers in product groups within Microsoft describe how they use .
.NET Matters: XML Comments, Late-bound COM, and More
Stephen Toub - June 2004
.NET Matters: Finalizers, Assembly Names, MethodInfo, and More
Stephen Toub - May 2004
.NET Matters: Const in C#, Exception Filters, IWin32Window, and More
Stephen Toub - April 2004
Welcome to . NET Matters. This new column will delve into the ins and outs of the Microsoft® . NET Framework, answering readers' questions on various topics related to its extensive libraries, languages, and the common language runtime.