You gotta love the little things in .NET Framework 2.0: File.ReadAllLines()

I was recently reviewing some samples and I ran across one that made me really appreciate the work we did in BCL in .NET Framework 2.0… it maybe a very trivial thing, but it really improves the code.    The code sample in question looked something like:         if (autoCompleteWordList == null)       {…


Novice tip for doing Ajax development

I spent a little time over the holiday break experimenting with Ajax development specifically with the December Atlas preview.  Overall I am very impressed with what you can do with zero client impact.    One problem I ran into fairly quickly was that I needed to debug to the client side JScript I wrote.  All…


Program Manager Wisdom #78: Reveal your stupidity

I have been doing a little thinking recently about how to be a good Program manager.  What skills, habits and practices I have seen successful in the past?  And I have been making my way through Orson Scott Card’s Ender series.  I never thought the two would meet… but they did.    Last night I…


Some thoughts on concurrency

Joe recently published some thoughts on concurrency in the CLR… this is still early thinking kind of stuff, but it does give you an idea of where our current thinking is.   Love to hear your thoughts\comments.    


Framework Design Guidelines: The right number of exceptions

A reader asks me about a salutation where they are catching a SoapException and wrapping it with their own API specific exception type.  I think this is a fairly common scenario so I wanted to start a dialog about it here.   Part of this is covered in chapter 7 of Framework Design Guidelines.  …


try{}catch{} changes in .NET Framework 2.0

David did a little digging and came up with the good write up… take a look!


Framework Design Guidelines on Names of Generic Type Parameters

Framework Design Guidelines on Names of Generic Type Parameters Continuing in the series of discussing topics from the Framework Design Guidelines… The last post generated some good discussion on generic type parameter naming I though I’d include this.      Names of Generic Type Parameters Generics are a major new feature of the .NET Framework…


The SLAR (vol2) on System.Globalization.CultureInfo

Continuing in the series sharing some of the information in the .NET Framework Standard Library Annotated Reference Vol 1 and .NET Framework Standard Library Annotated Reference Vol 2 with some information on CultureInfo.   SS (Shawn Steele)   Always use cultures when appropriate, but be careful where you use them. They are meant to be…


Some great new CLR stuff on MSDN-TV

Enjoy!    Favorite v2.0 Features in the Base Class Libraries Kit George and Ari Weinstein show some of their favorite Base Class Libraries features new to the .NET Framework 2.0. Features include Generic collections, new String APIs, the TryParse pattern, Console improvements, new APIs for simpler file access, and the Stopwatch class.   IronPython: Python…


Peanut butter and software planning

One of the reasons planning software projects is so much fun is that there are tons of inputs… customer requests, what the competition is doing, what the business needs to grow, supporting other groups at the company, our own personal pet peeves about the product… the list goes on and on.  Out of all of…