March 2008 - Posts

VisualStudio 2008 install failing because of pre-release products
I can get my work machines into pretty odd states due to various private/beta versions of Microsoft products I've installed. While trying to install VS 2008 on one of my machines, install kept failing, saying I had a pre-release product installed. Problem Read More...
Difference between Disposing and Finalizing (referral)
I've gotten some pings on the difference between Disposing and Finalizing, which I didn't discuss in my Dispose/Close post. Fortunately Brian Grunkemeyer has written an excellent blog on the topic: http://blogs.msdn.com/bclteam/archive/2007/10/30/dispose-pattern-and-object-lifetime-brian-grunkemeyer.asp Read More...
Posted 23 March 08 12:49 by kimhamil | 0 Comments   
Filed under
The never-ending saga of Close/Dispose
I made some quick updates in my recent post to describe the difference between Close and Dispose for SqlConnection: http://blogs.msdn.com/kimhamil/archive/2008/03/15/the-often-non-difference-between-close-and-dispose.aspx If you're wondering about the Read More...
Posted 17 March 08 11:23 by kimhamil | 2 Comments   
Filed under ,
The (often non-) difference between Close and Dispose
Some classes in the .NET framework, such as System.IO.FileStream, have both a Close() and Dispose() method. The natural question is what's the difference, and when you should use one versus the other. The framework guidelines refer to Close and Dispose Read More...
Posted 15 March 08 06:43 by kimhamil | 5 Comments   
Filed under ,
What's been happening with Long Paths?
It appears that part 3 of the long path blog series on the BCL blog is now nearly a year overdue! This sounds hard to believe, but BCL really has been that busy . On the bright side, we've been working on exciting projects, such as Silverlight , and now Read More...
Posted 08 March 08 05:46 by kimhamil | 1 Comments   
Filed under ,
Hashtable and Dictionary thread safety considerations
Let’s start with the basics: System.Collections.Hashtable is multiple-reader, single-writer threadsafe. System.Collections.Generic.Dictionary<K,V> has no thread safety guarantees. Consider a class that has a Dictionary member, and assume that multiple Read More...
Posted 08 March 08 01:42 by kimhamil | 1 Comments   
Filed under

Search

This Blog

Syndication

Page view tracker