Brad Abrams
Design Guidelines, Managed code and the .NET Framework
April 2004 - Posts
Improving Application Performance and Scalability Guide
Several other folks have already mentioned it, but I wanted to join the gang… Improving Application Performance and Scalability Guide About the Guide: Improving Application Performance and Scalability guide integrates people, process, and technology
Read More...
Enumerating array using for vs. foreach
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 = AppDomain.CurrentDomain.GetAssemblies();
Read More...
Measuring developer productivity
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,
Read More...
Why does my WeakReference throw an InvalidOperationException when I use it from my finalizer?
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 objects,
Read More...
API Usability Study Article Posted
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 hand-deliver
Read More...
TechEd BoF plug: What really annoys me about .NET the most!
This weekend Kit George and I were talking about how fun it would be to host a BoF at TechEd where we let customers really unload on us. And today I see that Kit just posted it here (Click on TechEd 2004 then proposed topics then page 4). We will have
Read More...
The change from Hashtable to Dictionary
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
Read More...
The SLAR on System.Collections.ArrayList
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 as its
Read More...
Early warning on obsolete members coming in .NET Framework 2.0 (Whidbey)
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
Read More...
More on DateTime and TimeZones
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 development
Read More...
Croatia WinDays gets a great interop speaker...
While we are on the subject on interop , I noticed that Sonja Keserovic ( PDC talk) will be heading to the WinDays conference on the Adriatic coast! If you are in the area, it is totally worth checking out her talk. She may even do it in Croatian. ;-
Read More...
Gotta check out PInvoke.net
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 well.
Read More...
Audible support for Rio Cali
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
Read More...
Perf penalty Static Constructor
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; } public class Foo2 { static
Read More...
Got a managed addIn for office?
If so you should check out this KB- Information about designing Office XP add-ins and Office 2003 add-ins by using the .NET Framework . The CLR interop team, office folks and others I am sure worked closely to get this information together… Hope
Read More...
Filestream and BufferedStream
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 if I can
Read More...
The SLAR on System.Array
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 signed
Read More...
Finally, a good use of our tax dollars
This is hilarious , even more so because most of them seem real. Signs of the Times presentation is a 29 slide collection of confusing signs sent in by people just like you. Be careful out there! [via This Is Broken ]
Read More...
Get the application exe name
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 the exe
Read More...
Struct Usage Guidelines Question
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 an instance
Read More...
DateTime, Serialization and TimeZones
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 people
Read More...
Software development -- Engineering or Art
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
Read More...
Dr. Dobbs on Measuring API Usability
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
Read More...
Want to come help make WinFX great?
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
Read More...
Versioning Interfaces
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 by third
Read More...
Got a feature request or comment? we are listening
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,
Read More...
Get your WER logs...
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
Read More...
Mutable reference types should not be read-only fields
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
Read More...
My first old college buddy to find my blog
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 Carolina
Read More...
TOC for the SLAR
A while back someone asked about getting the Table of Contents for my .NET Framework Standard Library Annotated Reference Vol 1 book. Well, I finally got it posted. As always love to hear your feedback. http://gotdotnet.com/team/brada/toc%20from%20stdlibrefvol1.pdf
Read More...
Unix style mount points...
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:\MountPoint\
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
ManagedExtensibilityFramework
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
December 2008 (1)
November 2008 (13)
October 2008 (13)
September 2008 (7)
August 2008 (11)
July 2008 (7)
June 2008 (13)
May 2008 (7)
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
[2005] Framework Design Guidelines (First Edition)
[2005] .NET Framework Standard Library Annotated Reference, Volume 2
[2004] .NET Framework Standard Library Annotated Reference, Volume 1
[2004] Base Class Library Reference Poster
[2002] Programming in the .NET Environment
[2008] Framework Design Guidelines (second edition)
Noteworthy Posts
Who am I? (Brad Abrams' Bio)
Code Guidelines
Syndication
RSS 2.0
Atom 1.0