Brad Abrams
Design Guidelines, Managed code and the .NET Framework
January 2004 - Posts
The trick with params
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);
Read More...
New mailing lists on the ECMA CLI and C# standardization
Want to keep up with the standardization work on C# and the CLI? Miguel was kind enough to set up two list services... Subscribed.
Read More...
Design Guidelines Update: Exception Message Guidelines
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
Read More...
Reflection and Generics
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,
Read More...
Microsoft and Blogs on NPR
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..
Read More...
Win32 to .NET Framework API Map
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
Read More...
Fresno, CA here I come
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 times
Read More...
ACL support in the BCL
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
Read More...
Thoughts on Managed Code and Managed Data
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
Read More...
A Measure of Success..
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
Read More...
More of the most used APIs defined in the BCL?
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”
Read More...
Preview of the Next version of FxCop
Check it out ..
Read More...
JohnMont on Namespaces
John got some good discussion going on namespaces -- not only on his blog but also inside Microsoft...
Read More...
WinFX Trivia Quiz Answer: What are the most used APIs in the BCL?
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
Read More...
Google-Juice and PInvoke Perf tips
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
Read More...
Google-Juice and PInvoke Perf tips
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
Read More...
Nikhilk on Developer Personas
One of the big-brains on the ASP.NET team is blogging about developer personas and how they apply to the real world work he is doing on V2.0 of ASP.NET. Comments on his blog are also very interesting. Steven Clarke has been blogging about similar topics
Read More...
String Formatting FAQ
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? In order
Read More...
WinFX Trivia Quiz: What are the most used APIs in the BCL?
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
Read More...
How do you find the WinFX Documentation
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
Read More...
The CLS and the Design Guidelines
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
Read More...
DotNet Remoting and Web Service: Which one to choose
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.
Read More...
Design Guideline Update: Uri vs. string
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, and return
Read More...
Design Guidelines Update: Enums vs Boolean Arguments
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 vs
Read More...
New home for all my old posts...
Looks like all my old posts from blogs.gotdotnet.com made it over to my new home.. Thanks Scott and the MSDN team for making it very smooth. Hopefully google will find them here before too long as well.
Read More...
Reflection on unmanaged coding guidelines
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
Read More...
Pithy Perf Patterns
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 Dispose
Read More...
What is managed code?
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 code
Read More...
FxCop gets a blog...
The FxCop team has opened a blog... Check them out at : http://weblogs.asp.net/fxcop/ . To Kick it off, Michael Fanning (head-dev on FxCop) explains why some shipped Microsoft managed assemblies have fxcop violations... Enjoy.
Read More...
Have you been burned by versioning enums (repost)
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 (from a breaking
Read More...
I have Moved!
As some of you have no doubt noticed, the blogs.gotdotnet.com has been frozen... I was hoping to get my old posts ported over before the freeze, but so be it... The old posts should be here before too long. In the mean time, you can still read them at
Read More...
Have you been burned by versioning enums
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 (from a breaking change perspective), WHEN someone is exhaustively switching over that enum. For example:
Read More...
Longhorn demo video online...
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 several
Read More...
Creating the ECMA docs for the Library
In a past life I worked with some great folks on standardizing the Base Class Library for the ECMA CLI Standard . I was reminded of the experience today as some folks on my team prepare to update the standard with some new stuff (for example generic collections).
Read More...
Setting Environment Variables
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 You’ll see there
Read More...
Search
Go
This Blog
Home
Email
本博客中文版 (View in Chinese)
These postings are provided "AS IS" with no warranties, and confer no rights.
Tags
.NET Framework
.NETFx3.0
Acropolis
AJAX
AjaxWorld
ASP.NET
ASPMVC
Atlas
BCL
Blogging
CLR
DevLink07
Framework
Framework Design Guidelines
ISV
MEF
Microsoft AJAX Library
Mix07
Mix08
New Guideline
Orcas
PDC
Port25
Program Manager
RainbowsEnd
Random
ReMixBoston07
Silverlight
SLAR
Software Development
TechEd
TheAjaxExperience
VB
VernorVinge
WinForms
WPF
Archives
May 2008 (2)
April 2008 (11)
March 2008 (21)
February 2008 (12)
January 2008 (14)
December 2007 (13)
November 2007 (13)
October 2007 (21)
September 2007 (7)
August 2007 (13)
July 2007 (10)
June 2007 (25)
May 2007 (18)
April 2007 (15)
March 2007 (15)
February 2007 (6)
January 2007 (15)
December 2006 (8)
November 2006 (12)
October 2006 (13)
September 2006 (8)
August 2006 (5)
July 2006 (12)
June 2006 (15)
May 2006 (12)
April 2006 (10)
March 2006 (15)
February 2006 (14)
January 2006 (13)
December 2005 (7)
November 2005 (18)
October 2005 (16)
September 2005 (30)
August 2005 (22)
July 2005 (15)
June 2005 (14)
May 2005 (17)
April 2005 (24)
March 2005 (28)
February 2005 (20)
January 2005 (28)
December 2004 (18)
November 2004 (17)
October 2004 (24)
September 2004 (16)
August 2004 (28)
July 2004 (17)
June 2004 (19)
May 2004 (28)
April 2004 (31)
March 2004 (28)
February 2004 (30)
January 2004 (35)
December 2003 (17)
November 2003 (28)
October 2003 (43)
September 2003 (25)
August 2003 (21)
July 2003 (26)
June 2003 (9)
May 2003 (14)
April 2003 (50)
Books by Brad Abrams
Framework Design Guidelines : Conventions, Idioms, and Patterns for Reusable .NET Libraries
.NET Framework Standard Library Annotated Reference, Volume 2
.NET Framework Standard Library Annotated Reference, Volume 1
Base Class Library Reference Poster
Programming in the .NET Environment
Noteworthy Posts
Who am I?
Code Guidelines
Syndication
RSS 2.0
Atom 1.0