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

Brad Abrams

Design Guidelines, Managed code and the .NET Framework

January, 2004

  • Brad Abrams

    What is managed code?

    • 18 Comments
    Recently I have been working on pulling together some background information and I thought I'd share it here. I certainly don't claim any of this is news, but at least google will help me find it next time I need it ;-) What is managed code? Managed...
  • Brad Abrams

    String Formatting FAQ

    • 7 Comments
    Largly modivated by your comments on a recent post , Kit George recently posted a FAQ on string formatting on the BCL Website . A couple of interesting items below... or suggest your own . How do I write out a curly bracket in string formats...
  • Brad Abrams

    Design Guidelines Update: Exception Message Guidelines

    • 25 Comments
    It has become clear to me recently that we could be doing a better job with exception messages. I took these guidelines from a set that the UE team on the .NET Framework uses. Love to hear your comments, issues, and suggestions. 7.3.2 Exception Error...
  • Brad Abrams

    Reflection and Generics

    • 12 Comments
    I spent some time last week working on a tool we use internally to print out the C# “header file” view of assemblies. We use it as part of the WinFX API reviews to give an overview of that the API looks like. I am still in the middle of updating...
  • Brad Abrams

    Design Guidelines Update: Enums vs Boolean Arguments

    • 12 Comments
    This was a pretty heavily debated guideline internally, I think we reached a good conclusion... Your feedback welcome as always! The full guidelines can be found here , we will be roll this (and other updates) into it for the whidbey release. Enums...
  • Brad Abrams

    Setting Environment Variables

    • 1 Comments
    Another tidbit from Kit George, PM on the BCL team: In Whidbey we added the ability to set environment variables. To see an example check out the Managed Explorer sample available at: http://www.gotdotnet.com/team/clr/bcl/demos/demos.aspx ...
  • Brad Abrams

    Design Guideline Update: Uri vs. string

    • 9 Comments
    ChrisAn blogged about this a few weeks ago and I am happy to announce that Krzysztof Cwalina has a guideline ready for you to comment on! System.URI Usage Use System.Uri to represent URI/URL data. This applies to parameter types, property types...
  • Brad Abrams

    The trick with params

    • 11 Comments
    I am doing some WinFX API reviews tonight and I ran across this pattern in a number of places: /*1*/ public virtual void AddNamedParameter(string parameterName); /*2*/ public virtual void AddNamedParameter(string parameterName, object parameterValue...
  • Brad Abrams

    DotNet Remoting and Web Service: Which one to choose

    • 4 Comments
    One from an internal alias today... It is an age old question and there has been much written about it. But luckily we have Joe Long’s PDC presentation ( http://microsoft.sitestream.com/PDC2003/WSV/WSV203.htm ) to help.... enjoy.
  • Brad Abrams

    The CLS and the Design Guidelines

    • 9 Comments
    David’s recent blog made it clear to me that we are not being clear on the distinction between the CLS and the Design guidelines. Although they were developed at the same time, they are developed for very different purposes. In david’s comments...
  • Brad Abrams

    How do you find the WinFX Documentation

    • 11 Comments
    I spent some time talking with some folks from the LH sdk team today about the quality of documentation for WinFX. What do you think? How do you find the quality of the docs in the LH SDK? What areas are good, what areas need help? If you had $100 where...
  • Brad Abrams

    Pithy Perf Patterns

    • 20 Comments
    Maoni Stephens, Perf PM on the CLR team sent me some key “patterns”... You will see I have not expanded on any of them, I am sure we can talk Rico into blogging on any of these at length if we ask nicely.... avoid finalizers; use the...
  • Brad Abrams

    Thoughts on Managed Code and Managed Data

    • 1 Comments
    Not too long ago my team had to write up this little tidbit for some internal usage and I thought I'd share it here mainly so that goggle will help me find it later. Maybe you will find it useful as well although I am sure much of this information has...
  • Brad Abrams

    Win32 to .NET Framework API Map

    • 5 Comments
    Some folks from my team worked closely with the author of this mapping between the .NET Framework on Win32 APIs. Personally I can't wait start working on the update for WinFX! Please do let us know if there is missing or incorrect data here. Microsoft...
  • Brad Abrams

    Longhorn demo video online...

    • 6 Comments
    Carter Maslan has what some could call a dream job… Wouldn’t you love to build amazing demos with current LH bits and shoot videos showing how cool LH is? Check out his latest work , I hear there are more to come every month or so… I have seen...
  • Brad Abrams

    Fresno, CA here I come

    • 8 Comments
    Looks like I will be doing a little college recurring at California State University in Fresno on Feb 23 and 24 th . Any tips on Fresno or the university? I am happy to come talk about WinFX, Managed code, etc at a user group meeting around those...
  • Brad Abrams

    ACL support in the BCL

    • 10 Comments
    Brian Dewey gives a nice post on why you should care about ACLs... As you may know we plan to add ACL support to the BCL in Whidbey.. check out Kit's PDC presentation for more info. Here is some examples from that presenation... does it look like we are...
  • Brad Abrams

    Reflection on unmanaged coding guidelines

    • 7 Comments
    Recently I got asked to review a set of internal coding guidelines – unfortunately they were for un managed code… I admit it has been a while sense I have written much unmanaged code and I was amazed at how many guidelines are just taken care...
  • Brad Abrams

    More of the most used APIs defined in the BCL?

    • 2 Comments
    Great comments from my last post... Here is my interpretations, comments\disagreements welcome ;-) 1,System.Type.GetTypeFromHandle(System.RuntimeTypeHandle handle),15399 As was mentioned in my comments, this is from the C# keyword “typeof”...
  • Brad Abrams

    WinFX Trivia Quiz Answer: What are the most used APIs in the BCL?

    • 14 Comments
    Great guesses on my recent quiz ... Here are the answers... Now a question for you -- any theories on why this APIs are so popular? 1,System.Type.GetTypeFromHandle(System.RuntimeTypeHandle handle),15399 2,System.Byte[,,].Set(Int32 ,Int32 ,Int32 ,Byte...
  • Brad Abrams

    WinFX Trivia Quiz: What are the most used APIs in the BCL?

    • 15 Comments
    A guy on my team has been playing around with an API usage frequency tool… the idea is to gather data on the most used APIs in the framework. What he does is scan the IL for all calls to methods and sum the number of calls for each API defined in...
  • Brad Abrams

    A Measure of Success..

    • 9 Comments
    I took a little pride in managed code and the .NET Framework generally today when I popular consultant told me he turned down a big project in the bay area because the client wanted only un managed code… How 20 th century of them ;-). Heard any...
  • Brad Abrams

    Microsoft and Blogs on NPR

    • 2 Comments
    Our local NPR station ( KUOW ) has a program on now called “ The Works ”. They are talking about a couple of my favorite subjections... Blogs and openness at Microsoft.... You can stream from the KUOW site now. Love to hear your thoughts...
  • Brad Abrams

    Google-Juice and PInvoke Perf tips

    • 9 Comments
    I just chatted with the development manager on the CLR team. He is starting to see the value of getting information out to the community on blogs. He was working on making a little demo application go faster and wanted to quickly review the PInvoke perf...
  • Brad Abrams

    Have you been burned by versioning enums (repost)

    • 9 Comments
    I did decide to do one repost, just to be sure everyone got a chance to give feedback... Kit George is working on a guideline around versioning wrt Enums and he needs your feedback. It’s a know issue that adding values to enums is bad ...
Page 1 of 2 (35 items) 12