Amazon.com Widgets April, 2004 - Brad Abrams - Site Home - MSDN Blogs

Brad Abrams

Design Guidelines, Managed code and the .NET Framework

April, 2004

  • Brad Abrams

    The change from Hashtable to Dictionary

    • 72 Comments
    As some of you with the Whidbey preview bits have no doubt noticed, we introduced set of generic collection classes in System.Collections.Generic. Far from just making generic versions of the current collections, we took the time to revisit how we really...
  • Brad Abrams

    Early warning on obsolete members coming in .NET Framework 2.0 (Whidbey)

    • 26 Comments
    We have a very cool report we run every week over the entire .NET Framework that shows which members were obsoleted. As I was reviewing that list, I thought that this would be great information to get out to customers right away. After all if you are...
  • Brad Abrams

    Software development -- Engineering or Art

    • 26 Comments
    About two weeks ago I did another session of my two day class on designing .NET Class Libraries for internal folks mostly building WinFX and similar frameworks. You can find notes from past sessions here , here , here , here , here , and here . The two...
  • Brad Abrams

    Versioning Interfaces

    • 23 Comments
    I thought I’d share a bit of this thread we are having now over a large internal alias… As always your comments welcome: Questions: I have an interface (IFooExtension) which has shipped. This interface is public, documented and used...
  • Brad Abrams

    DateTime, Serialization and TimeZones

    • 21 Comments
    A reader asks: We have an issue with the DateTime data type using serialization across timezones. All works well where we are interested in both the date and time. However, when the Date portion is of interest only, for example Birthday, (not many...
  • Brad Abrams

    Unix style mount points...

    • 17 Comments
    One of the devs on the BCL team created this cool little sample while investigation a Whidbey bug and I thought I’d share it with you… C:\code >mount a: c:\MountPoint Managed Unix-style mount program Mounting volume a:\ at c...
  • Brad Abrams

    The SLAR on System.Array

    • 16 Comments
    The SLAR on System.Array Continuing in the series on sharing some of the information in the .NET Framework Standard Library Annotated Reference Vol 1 here are some of the annotations and a sample on the System.List class. BA Notice that we used...
  • Brad Abrams

    Enumerating array using for vs. foreach

    • 16 Comments
    Interesting question over an internal alias today… Questions: What is the difference between enumerating an array using for versus foreach ? What is the recommended practice and why? Here is an example: Assembly[] assemblies...
  • Brad Abrams

    Perf penalty Static Constructor

    • 15 Comments
    There was a thread recently over the CLR perf alias that I thought I’d share. One of the WinFX developers asks if there is any perf differences between these two classes: public class Foo1 { public static int Value = 42; } ...
  • Brad Abrams

    Audible support for Rio Cali

    • 15 Comments
    Awhile back I got a Rio Cali MP3 player , overall I really like it… the controls are nice, the built in FM radio is great… But there is one problem… No support from audible.com . In an attempt to keep control over the media, audible...
  • Brad Abrams

    Mutable reference types should not be read-only fields

    • 13 Comments
    On the internal FxCop support alias someone asked about the background on the rule that mutable reference types should not be read-only fields… One of the more astute members of the alias was able to quote chapter and verse of the Design Guidelines...
  • Brad Abrams

    My first old college buddy to find my blog

    • 12 Comments
    An old college friend of mine found my blog recently and was even full of “tips” for me as well... thanks Jason, some things never change! I found a way to fix this that typo…;-) That is right folks, Jason and I both went to North...
  • Brad Abrams

    More on DateTime and TimeZones

    • 10 Comments
    We got some great feedback from this entry on DateTime. The dev lead for the BCL took time to post to my comments, but I thought I’d put them into the mainfeed as I think they are generally interesting. I am a colleague of Brad's and I'm the...
  • Brad Abrams

    API Usability Study Article Posted

    • 9 Comments
    I bloged a while back about the Dr. Dobbs on Measuring API Usability . I just got permission from the nice folks at Dr. Dobbs to post the article publicly for your reading pleasure. Any teams at Microsoft you think I should print off a copy and...
  • Brad Abrams

    Gotta check out PInvoke.net

    • 8 Comments
    Adam Nathan spent sometime over the weekend putting up this little site pinvoke.net . It is a very cool Wiki for Win32 PInvoke signatures… I can’t wait to see what the community does with this! Cool -- Charlie Kindel picked it up as...
  • Brad Abrams

    Get the application exe name

    • 7 Comments
    This came up on an internal alias recently…. Nothing earth shattering here, but I figured it might help someone googling for an answer someday… Hey, if it did, drop me a comment and let me know about it… Question: I just want...
  • Brad Abrams

    Why does my WeakReference throw an InvalidOperationException when I use it from my finalizer?

    • 7 Comments
    I saw this answer from Brian Grunkemeyer , a dev on the CLR team, recently… I thought it would generally useful… let me know what you think? A: The reason we throw an exception is pretty simple – WeakReferences are finalizable...
  • Brad Abrams

    Measuring developer productivity

    • 7 Comments
    I love managed code… the benefits of the virtual execution environment are manifold and very impactful , but if I had to distill it all down to just one thing, just two words to describe why Microsoft is building the CLR, the .NET Framework, WinFX...
  • Brad Abrams

    Filestream and BufferedStream

    • 6 Comments
    I am a little surprised we don’t get this question more often given the java story around buffered IO… but it came up today on an internal perf alias: Question: Is there any benefit in using a BufferedStream class over a FileStream...
  • Brad Abrams

    Got a feature request or comment? we are listening

    • 6 Comments
    I just got a mail sent the entire Developer Division team listing this site as a great place to look for feedback and feature requests… Philip tells you all about it … so if you installed the Whidbey Community Drop let us know what you think...
  • Brad Abrams

    Dr. Dobbs on Measuring API Usability

    • 5 Comments
    I just got this months issue of Dr. Dobbs and I notice that Steven Clarke has got a great article on Measuring API Usability . Unfortunately, it does not appear to be available electronically. I will post a link if I can find one, but the good news is...
  • Brad Abrams

    The SLAR on System.Collections.ArrayList

    • 5 Comments
    Continuing in the series on sharing some of the information in the .NET Framework Standard Library Annotated Reference Vol 1 here are some of the annotations on the System.ArrayList class. JM The IndexOf(string , int , int) method used to have...
  • Brad Abrams

    Get your WER logs...

    • 4 Comments
    WER is Windows Error Reporting… it is what we internally affectionately call “Watson”. You know that cool little dialog that comes up when an app crashes that asks you to send the report to Microsoft. Well, as an ISV, you can actually...
  • Brad Abrams

    Want to come help make WinFX great?

    • 3 Comments
    We have a once in a decade opportunity with WinFX to build the platform that applications for the next 10+ years will be built on. We have tons of things we need to get right the first time with WinFX. The CLR team looking for someone with 5+ years experience...
  • Brad Abrams

    Struct Usage Guidelines Question

    • 2 Comments
    There was a recent question over an internal alias the clarify the struct usage guidelines and I thought you’d find that data helpful…. The API designer was confused about what 2 and 4 really mean. 1. Act like primitive types 2. Have...
Page 1 of 2 (31 items) 12