Amazon.com Widgets Brad Abrams - Site Home - MSDN Blogs

Brad Abrams

Design Guidelines, Managed code and the .NET Framework

  • Brad Abrams

    A new CLR guy in the house

    • 4 Comments
    Please welcome Adam Nathan . Adam is a test lead on the CLR team and knows everything there is to know about interop between managed code and unmanaged code. In fact he even wrote the book on the subject. I am sure you will find his blog a very useful...
  • Brad Abrams

    DateTimeFormating

    • 1 Comments
    Well, with a lead in like that I could not help but post. This sample comes from a f riend of mine working who is helping me with a little book project... using System; using System.Globalization; namespace Samples { public class DateTimeFormatInfoSample...
  • Brad Abrams

    String.Empty vs ""

    • 17 Comments
    As David implies , there difference between String.Empty and “” are pretty small, but there is a difference. “” actually creates an object, it will likely be pulled out of the string intern pool, but still… while String.Empty creates no object… so...
  • Brad Abrams

    Assembly/DLL Naming Guidelines

    • 6 Comments
    I have not seen this be much of debate externally, but it has been pretty hotly debated internally. We just closed down on this guideline... As always, your comments are welcome: 2.3.4 Assembly/DLL Naming Guidelines An assembly is the...
  • Brad Abrams

    Did a short MSDN TV Spot today...

    • 6 Comments
    Erica Wiechers from the .NET Show fame came by my office today and shot a short segment for MSDN TV about how the GC works and the Dispose pattern . I thought it went fairly well. I was impressed at how quick it went, it was so easy to get it scheduled...
  • Brad Abrams

    Console Magic

    • 2 Comments
    I know, I know, you just got your hands on Everett , but I thought I’d start wetting your appetite for Whidbey (the next release of the . NET Framework and Tools)… As I see cool Whidbey demos I’ll let you know about them…. This one really brought...
  • Brad Abrams

    User groups in the Research Triangle Park Area?

    • 4 Comments
    I’ll be in North Carolina towards the end of May…. Anyone involved in a user group (or some such) that would like a presentation on what is new in the CLR or just want to chat about how the CLR could be better? I figure I have room for exactly...
  • Brad Abrams

    Like a breath of fresh air

    • 0 Comments
    I can’t believe it, just last week I was pulling great content from internal aliases and posting them here. Now Chris Brumme is actively blogging his OWN stuff and, even better, referring that same internal alias to his public blog. We are starting...
  • Brad Abrams

    On System.Enum and System.ValueType

    • 2 Comments
    Yup Shawn has it pretty much right on . Both System.Enum and System.ValueType are themselves reference types. We added them to the system for two primary reasons: 1. We wanted to provide developers an easy way to group all ValueTypes and all...
  • Brad Abrams

    Retrieving the Fusion log

    • 2 Comments
    More from the dev that owns the loader... If the exception message isn’t enough for you to determine what the problem is, try getting the Fusion log. It will describe the binding failure (if this is due to an assembly binding failure, instead...
  • Brad Abrams

    Use of AppDomain.Load()

    • 5 Comments
    More from inside the walls.. From the dev that owns the loader... AppDomain.Load() is only meant to be called on the current AppDomain (for use by Interop callers). If you call it on a different AppDomain, if the assembly successfully loads in the...
  • Brad Abrams

    Get the hresult from a managed exception

    • 0 Comments
    This comes up a lot on internal lists so I thought i'd share... from the FAQ: G et the hresult by calling System.Runtime.InteropServices.Marshal.GetHRForException() on the Exception object. If that info is not readily available, you may need to...
  • Brad Abrams

    Chris Brumme in the house

    • 0 Comments
    Chris is a senior architect on the CLR team... He literally knows how and why everyting in CLR works the way it does. I know he will have great stuff to share... Please take a look! http://blogs.gotdotnet.com/cbrumme/
  • Brad Abrams

    Who's got the locks?

    • 1 Comments
    I just had a little fun playing around with SOS today... Here is a bit of mail from a dev on the CLR debugger team that makes this magic happen. If you are running V1.1 then you can use the SOS.dll that is in the Framework\v1.1.4322 folder under...
  • Brad Abrams

    Hashtable.Clear thread-safety?

    • 1 Comments
    Q: Is it safe for a single writer to call Hashtable.Clear() with multiple concurrent readers? A: (from the developer that owns Hashtable) It depends on what you want. Clear() will not cause a hashtable to be inconsistent state, so hashtable will...
  • Brad Abrams

    On .NET DJ Reader's Choice

    • 3 Comments
    Well, I see Yasser and Ingo' s are linking to their books on .NETDJ Readers' Choice , so I thought I’d join them… I had the pleasure of doing the Libraries chapter and part of the intro for Programming in the .NET Environment . I’d love to...
  • Brad Abrams

    Honest, it doesn't rain all the time..

    • 3 Comments
    I wasn’t sure recruiting via blogs was an acceptable thing to do our not, but if Don does it , it must be OK ;-) So here goes…. I have an opening for a Program Manager on my team designing features for the Base Class Libraries and helping me with...
  • Brad Abrams

    Implementing IEnumerable

    • 6 Comments
    Hot off the presses... What do you think? ..brad Implementing IEnumerable Almost all collections expose some way to enumerate elements it contains. The IEnumerable interface encapsulates this notion such that common facilities can be built...
  • Brad Abrams

    path to the executable

    • 2 Comments
    Another one that I have seen come up before... Q: How to find that path to the executable I am running in? A: Assembly.GetExecutingAssembly().Location
  • Brad Abrams

    Strings and IsNullOrEmpty

    • 8 Comments
    Jesse aks: >Tired of doing this: "if(s == null || s == String.Empty)"... Yea, we have heard that request before... here is a method we are looking at adding a the Whidbey release of the .NET Framework on the System.String class. ...
  • Brad Abrams

    VS 2003 IDE and .NET Framework 1.0

    • 0 Comments
    I actually had this question a couple of weeks ago when I was using an RC of VS 2003 to build an application for my wife who only has V1.0 of the Framework on her machine. She doesn't run beta software ;-). So when I saw it come across the internal...
  • Brad Abrams

    Implementing ICloneable

    • 10 Comments
    I was doing a little work on the Design Guidelines document tonight and I noticed this section that we added recently. I thought I'd post it here for your comments. Where are you using ICloneable today? Do you agree with this suggestion? 1...
  • Brad Abrams

    Why Strong Naming?

    • 2 Comments
    More from inside the walls: Q: Does anyone know why we’ve created two ways to sign the components? The certificate form covers all the needs I can see. I wonder why we have a separate “strong naming” manner to do signing that doesn’t cover all the...
  • Brad Abrams

    And the Winner is..

    • 4 Comments
    Looks like David Stone one out by under a minute… If John St. Clair had only hit “add” a little faster… David and John both hit the nail on the head.. here is David ’s response: Ø No... because in the second Format method, the format param...
  • Brad Abrams

    Support for /3gb in the CLR

    • 0 Comments
    It is true that the CLR in V1.1 does support /3gb memory address space option... Here is a quote from QA person that would know... 1.1 does support /3gb. (to use, mark your images as 3gb aware using imagectl or linker options. The only image that...
Page 53 of 54 (1,339 items) «5051525354