Welcome to MSDN Blogs Sign in | Join | Help

April 2006 - Posts

Why IComparable<T> does not extend IEquatable<T> [Krzysztof Cwalina]

Recently, somebody asked me why IComparable<T> does not extend IEquatable<T>. Here is this piece of history. When we were designing IComparer<T> and IEqualityComparer<T>, we observed that these two interfaces are rarely (never?)
Posted by BCLTeam | 2 Comments

IComparable and Sort in generic collection [KathyKam]

Someone asked me why you cannot pass in the non-generic IComparer to a generic collection (something like List<T>). Particularly, if a programmer using the .NET 2.0 framework and generic List (aka List<T>) is unable to pass custom legacy .NET
Posted by BCLTeam | 4 Comments

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

General Timer Background Information The System.Timers.Timer class provides a convenient way for .NET programmers to create a timer thread that fires events after elapsed time intervals. For more details on using System.Timers.Timer please refer to the
Posted by BCLTeam | 3 Comments

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

Bringing it all together Ok, that’s it for the explanation – let’s see how to actually run all this and watch it work. Here are the steps to follow: 1.) Create a simple service that we want to install 2.) Create a ProjectInstaller class specifying some
Posted by BCLTeam | 0 Comments
Filed under:

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 created to see how to let the user choose their own custom service name. Notice how I’ve hooked up two eventhandlers in my Project Installer code. BeforeInstall gets called
Posted by BCLTeam | 0 Comments
Filed under:

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 we can install it. Custom installers in the .NET Framework all derive from the Installer class. There are several methods that you can override in this class,
Posted by BCLTeam | 6 Comments
Filed under:

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 managed service, and was installing it with a custom name that was provided at install time by the user. I’ve seen several customer applications that do
Posted by BCLTeam | 6 Comments
Filed under:

BCL Bloggers [Kathy Kam & Krzsyztof Cwalina]

Krzysztof Cwalina and Kathy Kam are two BCL Program Managers that also have their own blogs. Krzysztof recently wrote about extending System.Diagnostics tracing APIs in the April Issue of MSDN Magazine . Kathy recently wrote an introduction to format
Posted by BCLTeam | 0 Comments

Want to peek inside Common Language Runtime? [Ravi Krishnaswamy]

Today CLR reveals certain key gc, threadpool events via ETW but nothing interesting besides that. If we were to design a larger scale instrumentation, - What kind of information/events you would like to see? - What kind of higher level bucketing (for
Posted by BCLTeam | 6 Comments

Creating and Initializing Objects in CodeDom [Benet Devereux]

The Forms Designer in Visual Studio 2005 takes away a lot of the drudgery of GUI development. All you do is drag and drop the components you need onto a panel, arrange them where you want them, and VS will generate the code to initialize them automatically;
Posted by BCLTeam | 13 Comments
Filed under:

No Virtual Members on Generic Collections [Ryan Byington]

A customer asked me why we decided to make the members on our generic collection non virtual when every member on the non generic collections was virtual. I though other might be interested in this so I decided to answer it here. When we shipped the first
Posted by BCLTeam | 5 Comments
Filed under:

What if we gave you $100 to spend? [Krzysztof Cwalina]

The BCL team is starting to plan our next release. Is there any base API that if you’d heard we were working on you’d say “I can’t wait to get the next version of the Framework”? Any basic data structures? Any Win32 functionality that we don’t currently
Posted by BCLTeam | 36 Comments

Time Zones in the .NET Framework [Anthony Moore]

The single most requested individual feature for the Base Class Libraries that has not been delivered yet is for support for Time Zones other than Local and UTC. This is a feature we are actively exploring for the next release of the .NET Framework. To
Posted by BCLTeam | 19 Comments

Relaunching the BCL Weblog [Kathy Kam]

We’ve taken a break on blogging since shipping Whidbey. As our team is gearing up for Orcas, we decided that it’s time that we blog again and engage our community. If you have a particular topic that you want to see or hear about, let us know. We are
Posted by BCLTeam | 5 Comments
 
Page view tracker