October 2005 - CraigBlog

CraigBlog

Syndication

  • Long Weekend

    I had a fairly long weekend, in both senses of the word. I can't complain, though: it was much better than others', as I'll explain in a moment. Friday was my daughter Ellen's first birthday. It's hard to believe it's already been a year; my aunt used...
  • Master of Pages

    My buddy Jason Whittington wrote this fantastic set of lyrics to the tune of Metallica's "Master of Puppets" . Check it out: Master of Pages ========== In your darkest day, Child Controls array Try to use SqlConnection Children disappear, code-behind...
  • Galleon + Tivo = Nice

    I noticed recently that my Tivo started displaying a new menu item: "Enable Home Network Applications". Encouraged by the implications, I did a a little research and I ran across Galleon at SourceForge. I downloaded and installed it, and I have to say...
  • IList<T> Won't XmlSerialize!

    So as long as we're talking about XmlSerializer bugs , let me point out a really, really bad one: if your type has members of type IList<T>, it won't serialize! Aagh! What's worse is that Microsoft has decided not to fix this bug until after 2.0...
  • Serializing a KeyedCollection

    The other day I pointed out System.Collections.ObjectModel.KeyedCollection . Towards the end, I claimed that you could use XmlSerializer to serialize an instance. Well, it turns out this is only true if you use System.String as the key type. For some...
  • Thread.IsBackground

    I've been doing some code reviews recently, looking in particular for threading issues. It's particularly important in this case because the code in question is a service that needs to run for a long time under high load. It also needs to shut down gracefully...
  • System.Collections.ObjectModel.KeyedCollection

    I spend a lot of time dealing with collections when I code: should this thing be a list? An enumeration? A hashtable? Decisions about data structures abound. Which is one of the reasons I like Whidbey so much - the new support for generics makes life...
  • .NET 2.0 It Is, Then

    Based on the feedback from my question about upgrading FlexWiki , it looks like we're go for throttle-up to a .NET 2.0 deployment. I'll start making the switch today. Of course, it'll be quite a while before I have anything I can go public with (or that...