BCL Team Blog

Base types, Collections, Diagnostics, IO, RegEx...

Orcas January CTP Now Available [Justin Van Patten]

The Orcas January Community Technology Preview (CTP) has been publicly released as of Wednesday...

Author: BCL Team Date: 01/12/2007

Introducing Pipes [Justin Van Patten]

The Orcas October Community Technology Preview (CTP) includes new types that make it easy for...

Author: BCL Team Date: 12/07/2006

Orcas October CTP Now Available [Justin Van Patten]

The Orcas October CTP became available for download earlier this week. This CTP contains a couple...

Author: BCL Team Date: 11/02/2006

Hi from the New Guy [Matt Ellis]

As one of the newest members of the BCL team, I wanted to take some time to introduce myself....

Author: BCL Team Date: 10/31/2006

Process and ServiceProcess Caching [Robert Villahermosa]

I’ve seen several questions over the last month or two about refreshing the status of certain...

Author: BCL Team Date: 10/26/2006

Hello from the New PM [Inbar Gazit]

I just stared out working for this team and I’m very excited to be part of the larger .NET...

Author: BCL Team Date: 10/24/2006

Regex Class Caching Changes between .NET Framework 1.1 and .NET Framework 2.0 [Josh Free]

The .NET Framework System.Text.RegularExpressions.Regex class maintains a cache of parsed regular...

Author: BCL Team Date: 10/19/2006

CLR Behavior on OutOfMemoryExceptions [Brian Grunkemeyer]

For out of memory exceptions, keep in mind that we can run out of memory in the native heaps in the...

Author: BCL Team Date: 10/17/2006

Decimal Negative Zero Representation [Lakshan Fernando]

One of our customers wondered recently if we represent negative zero in Decimal. At first glance, it...

Author: BCL Team Date: 10/12/2006

Top 5 SerialPort Tips [Kim Hamilton]

The SerialPort class requires some “warming up” time for our users coming from VB6 or other non-.NET...

Author: BCL Team Date: 10/10/2006

How to Read Performance Counters Without Administrator Privileges [Ryan Byington]

If you have ever tried to read performance counter data on a Windows 2003 machine as a non admin...

Author: BCL Team Date: 09/08/2006

Why are NameValueCollection lookups slower than Hashtable? [Kim Hamilton]

An internal discussion came up recently on the performance difference of lookups in Hashtable versus...

Author: BCL Team Date: 09/05/2006

Lang.NET Symposium 2006 [Thottam Sriram]

Last week was the Lang.NET Symposium 2006 here in Redmond. I still remember us planning for this...

Author: BCL Team Date: 08/09/2006

Hi, I’m Shawn. I mostly work on Windows Vista, but I also work on lots of the stuff in...

Author: BCL Team Date: 08/04/2006

TraceOptions: An Easy Way to Get Common and Useful Data in Traces [Robert Villahermosa]

I have seen a few recent posts floating around the user community where users have been writing...

Author: BCL Team Date: 08/01/2006

MSDN Wiki [Matt Connelly]

MSDN Wiki is a new site that experiments with adding community content to our product documentation....

Author: BCL Team Date: 07/27/2006

FileInfo.LastWriteTime discrepancies [Lakshan Fernando]

I recently investigated a customer issue of incorrect time reporting with FileInfo.LastWriteTime and...

Author: BCL Team Date: 07/25/2006

Arbitrary length Integer/Arbitrary precision Double Classes [Ari Weinstein]

Another set of functionality we may want to add in Orcas are classes which can be an integer of...

Author: BCL Team Date: 07/20/2006

Hi From the New Guy [Justin Van Patten]

This is my first week here as a program manager on the BCL team at Microsoft and what a week...

Author: BCL Team Date: 07/18/2006

Copying Access Control List (ACL) entries between files [Kim Hamilton]

If you’re trying to transfer the access rights from one file to another, the obvious way seems...

Author: BCL Team Date: 07/14/2006

Time Zone Scenario Feedback Wanted [Anthony Moore]

The Base Class Libraries is exploring scenarios related to Time Zone support and we are very likely...

Author: BCL Team Date: 07/05/2006

How to use SafeHandle in a Resilient Library [Brian Grunkemeyer]

SafeHandle is the preferred mechanism for controlling the lifetime of an OS resource (such as a...

Author: BCL Team Date: 06/23/2006

Retrieving the Parent Process of a Child when Multiple Instances Exist [Robert Villahermosa]

I recently got assigned a question on one of the MSDN forums about obtaining the Parent Process of a...

Author: BCL Team Date: 06/20/2006

Making Command Line Arguments Easier [Matt Ellis]

Before we get to the meat of this blog post, I want to take a moment to introduce myself. My name is...

Author: BCL Team Date: 06/15/2006

How to find CPU usage of a process? [Ravi Krishnaswamy]

I’ve seen this question come up a few times and the solution is hard to infer, especially...

Author: BCL Team Date: 06/06/2006

How to Read Performance Counters [Ryan Byington]

In the time that I have owned performance counters I have seen a lot of code that incorrectly uses...

Author: BCL Team Date: 06/02/2006

Meet the BCL team [KathyKam]

Monday was a holiday, so no one was around to post anything. :( Instead, I'll share this off-topic...

Author: BCL Team Date: 05/30/2006

SerialPort Encoding [Ryan Byington]

The SerialPort class uses the encoding specified by the SerialPort.Encoding property to convert...

Author: BCL Team Date: 05/26/2006

Why does Double.Parse(Double.MaxValue.ToString()) not work? [Anthony Moore]

System.Double and System.Single are have inexact precision of decimal digits because internally they...

Author: BCL Team Date: 05/24/2006

Generic List enumerator order [Vance Morrison]

“Is the order returned by the List<T> enumerator guaranteed to be the same as looping...

Author: BCL Team Date: 05/17/2006

SerialPort and DataReceived Event [Ryan Byington]

I have seen a few customers complain that their DataReceived event handler was never getting called...

Author: BCL Team Date: 05/15/2006

Testing the Base Class Library [Lakshan Fernando]

The test role at Microsoft generally and in the BCL team specifically is somewhat different from a...

Author: BCL Team Date: 05/12/2006

Using a MemoryStream with GZipStream [Lakshan Fernando]

We’ve seen cases where our customers have run into issues when using a MemoryStream with GZip...

Author: BCL Team Date: 05/10/2006

Breaking changes and the BCL [Ari Weinstein]

One of the areas that I have been involved in for the past half year is application compatibility....

Author: BCL Team Date: 05/08/2006

Using FileStream from Restricted User Accounts [Josh Free]

Every so often, I run into code that requests security permissions that are not needed. Take the...

Author: BCL Team Date: 05/05/2006

Set Collection [Ryan Byington]

So the BCL thinking of implementing a set collection for a future release and we would like to get...

Author: BCL Team Date: 05/03/2006

Reading a file in Managed Code [Lakshan Fernando]

Some of our new users to managed code take a little time to get used to the design pattern in...

Author: BCL Team Date: 05/01/2006

Why IComparable does not extend IEquatable [Krzysztof Cwalina]

Recently, somebody asked me why IComparable<T> does not extend IEquatable<T>. Here is...

Author: BCL Team Date: 04/28/2006

IComparable and Sort in generic collection [KathyKam]

Someone asked me why you cannot pass in the non-generic IComparer to a generic collection (something...

Author: BCL Team Date: 04/26/2006

Why do unexpected Timer Elapsed Events fire in my application? [Josh Free]

General Timer Background InformationThe System.Timers.Timer class provides a convenient way for .NET...

Author: BCL Team Date: 04/24/2006

Installing a Managed Service with a Custom Name [Robert Villahermosa]

Title: Installing a Managed Service with a Custom NameAuthor: Robert Villahermosa (RobVi) An...

Author: BCL Team Date: 04/21/2006

Installing a Managed Service with a Custom Name (Part 4 of 4) [Robert Villahermosa]

Bringing it all togetherOk, that’s it for the explanation – let’s see how to...

Author: BCL Team Date: 04/21/2006

Code: Installing a Managed Service with a Custom Name [Robert Villahermosa]

using System; using System.ServiceProcess; using System.Configuration.Install; using...

Author: BCL Team Date: 04/21/2006

Installing a Managed Service with a Custom Name (Part 3 of 4) [Robert Villahermosa]

What happened to specifying a custom name?Ahh, I haven’t forgotten – this post was...

Author: BCL Team Date: 04/20/2006

Installing a Managed Service with a Custom Name (Part 2 of 4) [Robert Villahermosa]

The Installer class Now that we have our simple service to install, let’s take a look at how...

Author: BCL Team Date: 04/18/2006

Installing a Managed Service with a Custom Name (Part 1 of 4) [Robert Villahermosa]

An interesting customer question came to my attention a few weeks ago. The customer had created a...

Author: BCL Team Date: 04/17/2006

BCL Bloggers [Kathy Kam & Krzsyztof Cwalina]

Krzysztof Cwalina and Kathy Kam are two BCL Program Managers that also have their own blogs....

Author: BCL Team Date: 04/14/2006

<Previous Next>