Sign in
Brad Abrams
Design Guidelines, Managed code and the .NET Framework
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
Email Blog Author
RSS for posts
Atom
RSS for comments
OK
Search
Tags
.NET Framework
.NETFx3.0
AJAX
ASP.NET
Atlas
BCL
Blogging
CLR
Framework Design Guidelines
MEF
Mix07
Mix08
Mix09
Mix10
New Guideline
PDC
Program Manager
Random
RIAServices
Silverlight
SLAR
Software Development
TechEd
WinForms
WPF
Archive
Archives
April 2010
(2)
March 2010
(16)
February 2010
(1)
January 2010
(1)
December 2009
(3)
November 2009
(6)
October 2009
(10)
September 2009
(8)
August 2009
(11)
July 2009
(24)
June 2009
(7)
May 2009
(5)
April 2009
(8)
March 2009
(15)
February 2009
(6)
January 2009
(5)
December 2008
(6)
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
(31)
August 2005
(22)
July 2005
(15)
June 2005
(14)
May 2005
(17)
April 2005
(25)
March 2005
(28)
February 2005
(22)
January 2005
(29)
December 2004
(18)
November 2004
(17)
October 2004
(25)
September 2004
(16)
August 2004
(28)
July 2004
(17)
June 2004
(20)
May 2004
(28)
April 2004
(31)
March 2004
(29)
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)
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Brad Abrams
Design Guidelines Update: Exception Message Guidelines
Posted
over 9 years ago
by
BradA
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
Pithy Perf Patterns
Posted
over 9 years ago
by
BradA
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
Have you been burned by versioning enums
Posted
over 9 years ago
by
BradA
19
Comments
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...
Brad Abrams
What is managed code?
Posted
over 9 years ago
by
BradA
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
WinFX Trivia Quiz: What are the most used APIs in the BCL?
Posted
over 9 years ago
by
BradA
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
WinFX Trivia Quiz Answer: What are the most used APIs in the BCL?
Posted
over 9 years ago
by
BradA
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
Reflection and Generics
Posted
over 9 years ago
by
BradA
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
Posted
over 9 years ago
by
BradA
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
How do you find the WinFX Documentation
Posted
over 9 years ago
by
BradA
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
The trick with params
Posted
over 9 years ago
by
BradA
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
ACL support in the BCL
Posted
over 9 years ago
by
BradA
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
Google-Juice and PInvoke Perf tips
Posted
over 9 years ago
by
BradA
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
A Measure of Success..
Posted
over 9 years ago
by
BradA
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
Design Guideline Update: Uri vs. string
Posted
over 9 years ago
by
BradA
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 CLS and the Design Guidelines
Posted
over 9 years ago
by
BradA
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
Have you been burned by versioning enums (repost)
Posted
over 9 years ago
by
BradA
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 ...
Brad Abrams
Fresno, CA here I come
Posted
over 9 years ago
by
BradA
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
Reflection on unmanaged coding guidelines
Posted
over 9 years ago
by
BradA
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
String Formatting FAQ
Posted
over 9 years ago
by
BradA
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
Longhorn demo video online...
Posted
over 9 years ago
by
BradA
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
Win32 to .NET Framework API Map
Posted
over 9 years ago
by
BradA
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
Google-Juice and PInvoke Perf tips
Posted
over 9 years ago
by
BradA
5
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
DotNet Remoting and Web Service: Which one to choose
Posted
over 9 years ago
by
BradA
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
I have Moved!
Posted
over 9 years ago
by
BradA
3
Comments
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...
Brad Abrams
Microsoft and Blogs on NPR
Posted
over 9 years ago
by
BradA
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...
Page 1 of 2 (35 items)
1
2