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

Brad Abrams

Design Guidelines, Managed code and the .NET Framework

  • Brad Abrams

    Quick C# Quiz

    • 7 Comments
    Will this code throw an AgrumentNullException? and why? string firstName = null; String.Format (“{0}”, firstName); Here is the for code String.Format , if that helps… public static String Format(String format, Object arg0) { return...
  • Brad Abrams

    On Dispose

    • 2 Comments
    Wallym has some good thoughts on the importance of calling dispose, which reminded me we have a complete whitepaper on how to implement dispose correctly... Love to have your feedback on it. White paper on Dispose
  • Brad Abrams

    More on BCL type names

    • 3 Comments
    Jeff read my recent post and suggested I include ALL his reasons for using the BCL name... Here are they are... 1. Devs think there is a difference between String and string or int and Int32 and there isn’t. For example, I’ve run into some people...
  • Brad Abrams

    Always more to learn

    • 0 Comments
    I am reviewing some samples for an upcoming reference book. The samples are for classes I know very well. I designed or helped design most of them. But I always have something to learn… Here is one that I thought was pretty cool… prints out the short...
  • Brad Abrams

    To use the BCL type names or not?

    • 3 Comments
    Jeffrey Richter and I have an on going argument that I thought you’d like to chime in on. In samples, books, etc should we use the BCL type names (Int32, String, Single, etc) or programming language specific type names such as in C# (int, string...
  • Brad Abrams

    Conversion Operators

    • 3 Comments
    One of my many jobs here at MS is helping out with the .NET Framework Design Guidelines Document. Tonight I had to make a small tweak to a guideline I added last week so I thought while I was in there I would post it here to see if folks had comments...
  • Brad Abrams

    More on Changes for V1.1

    • 1 Comments
    We wrote a little program that does a "smart diff" of the .NET Framework... Internally we use it to watch out for breaking changes or making stuff public accidentally . Anyway, here is the output of the tool for V1.0 to V1.1 http://www.gotdotnet...
  • Brad Abrams

    AppDomains for sandboxing/robustness

    • 2 Comments
    Another internal thread I thought i'd share... Q: I want to sandbox objects of certain types that will be running in my process so that if anything in these objects crashes for any reason, code in the other objects continue to execute. I’m assuming...
  • Brad Abrams

    Are assignment of 4-byte quantities guaranteed atomic in the CLR?

    • 6 Comments
    We had a little thread on this internally today and I thought it interesting enough to share here. I am just experimenting here – is this type of thing useful? Q: If I do simple Int32 assignment to a shared variable in a CLR multi-threaded app,...
  • Brad Abrams

    More on the Console form the internet zone

    • 2 Comments
    In a commnet on one of my posts , Brad, Guy of .NET asks why we would turn this off. Well, bottom line it is that we can't come up with a meaningful scenario for using the console from semi-trust and there is clearly some level of risk is exposing...
  • Brad Abrams

    With V1.1 of the Framework shipping

    • 8 Comments
    I though i'd post a couple of links I have found useful.. DennisAn wrote a great whitepaper on how to target different runtime versions... http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetdep/html/sidexsidenet.asp And if you...
  • Brad Abrams

    Using Console from the internet zone

    • 8 Comments
    Does anyone have a scenario where you are using System.Console from the internet zone? We are trying to understand if we should continue to enable using Console from the internet zone in Whidbey. Are there any scenarios that benefit from using Console...
  • Brad Abrams

    The CLI\C# gets ISO blessed

    • 0 Comments
    Very cool! ISO has always been the goal... nice to see we made it. http://msnbc-cnet.com.com/2100-1007-995108.html?type=pt&part=msnbc&tag=alert&form=feed&subj=cnetnews
  • Brad Abrams

    Why Blog

    • 4 Comments
    Why Blog they ask… I believe that Microsoft has benefited greatly from the enormous community support that is available for the .NET Framework. I have been thinking for a while about how I can best contribute to that community. I spend some time...
Page 54 of 54 (1,339 items) «5051525354