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
Debug and Retail Builds
Posted
over 9 years ago
by
BradA
21
Comments
Over the weekend some of the big-brains on the CLR team (oh, and me too) are having a debate about introducing the concept debug and retail builds of the .NET Framework. The high level concept is to move some “code correctness” checks out...
Brad Abrams
A good compilation of new .NET Design Guidelines
Posted
over 9 years ago
by
BradA
6
Comments
Ken Brubaker has a good compilation of new .NET Design Guidelines .. Thanks. At his suggestion I also added a new category to my blog where you can see just those new guidelines we have recently added. Enjoy.
Brad Abrams
More in Win32 Signtures
Posted
over 9 years ago
by
BradA
7
Comments
A while back I posted some thoughts on Win32 signatures… The CLR interop team has been hard at work figuring out the right solution, expect to see more soon. In the mean time check out these PInvoke signatures the C# team posttest a while back....
Brad Abrams
A winner for my little quiz on NullReferenceException
Posted
over 9 years ago
by
BradA
7
Comments
In a previous post I asked I said that we throw a NullReferenceException when you try to access instance “state” (eg a field). What if you have an instance method that does not touch any instance state (for example an instance method that...
Brad Abrams
AV or NullReference Exception
Posted
over 9 years ago
by
BradA
4
Comments
In my comments Pavel ask: How does the CLR decide if a given AV should be converted to a NullReferenceException or not? Jonathan Keljo the PM in charge of the CLR exception story tells me that in v1 and v1.1, all AV's, regardless of the target...
Brad Abrams
Returning empty arrays vs nulls
Posted
over 9 years ago
by
BradA
11
Comments
I could have said it better myself… thanks Wes . Empty Arrays
Brad Abrams
CLSCompliantAttribute and the Naming Conventions
Posted
over 9 years ago
by
BradA
7
Comments
How embarrassing --- the CLSCompliantAttribute, which I was the PM for back in the day, does not follow the naming convention . A reader pointed this out nicely in my comments . All I can say is that this attribute has very heavy dependencies across ...
Brad Abrams
More on Setting Environment variables
Posted
over 9 years ago
by
BradA
5
Comments
We had an internal thread about Setting Environment variables and someone posted a cool V1\V1.1 solution. One workaround is to use System.Management (WMI). This should work on all versions of .NET Framework with WMI installed on the OS. You would...
Brad Abrams
Why can't NullReferenceException tell you the type of the instance that was null?
Posted
over 9 years ago
by
BradA
23
Comments
If you have done much managed development you have run into a NullReferenceException more times that you’d care to count. The CLR throws this exception when you try to access instance state on null instance… One of your internal customers...
Brad Abrams
Windows Forms FileDialog
Posted
over 9 years ago
by
BradA
3
Comments
In my comments Kevin Westhead asks about the Windows Forms FileDialog. I was able to speak to grandpuba of Windows Forms, Mark Boulter who explained this as recommend a fix to the documentation: FileDialog is a detail of the implementation of OpenFileDialog...
Brad Abrams
BradA in Fresno...
Posted
over 9 years ago
by
BradA
0
Comments
I got my plans worked out … See you there! Microsoft Tech Talk II Software Development and the Microsoft Common Language Runtime Given by Brad Abrams, a Microsoft Lead Program Manager Tuesday 2/24/04 6:00 PM, University Business Center...
Brad Abrams
Rotor in university class room: Performance Analysis of O-O Systems
Posted
over 9 years ago
by
BradA
8
Comments
The course abstract is at http://csce.unl.edu/~witty/sp2004/csce496/ , the Rotor bit is "...students will examine the actual implementation of these runtime systems. We will use Microsoft CLI engine which is the core runtime infrastructure for .NET platform...
Brad Abrams
Rico on Perf Analysis
Posted
over 9 years ago
by
BradA
0
Comments
Rico has some words for wisdom on how to (and not to) do performance analysis. Check it out: Bad Analysis Worse Than None
Brad Abrams
DateTime Compatibility Issue
Posted
over 9 years ago
by
BradA
13
Comments
The BCL team is having some design discussions on how to fix a bug that was recently found. I thought you might want to chime in as some of the implications have wide applicability. Here is the thread from Anthony … comments welcome. ...
Brad Abrams
IsEnabled or Enabled
Posted
over 9 years ago
by
BradA
45
Comments
I actually got a chance to write a little WinFX code today, which was a lot of fun. But I did run across one issue that has been in the back of my mind for while. It is the “Is” prefix on Boolean properties. I started out by using the...
Brad Abrams
ArgumentNullException and ArgumentException
Posted
over 9 years ago
by
BradA
35
Comments
In my comments Jeff asks: I have a question, how was the decision for these 2 classes ctor parameters made... Constructor for ArgumentNullException public ArgumentNullException( string paramName, string message) Constructor for ArgumentException...
Brad Abrams
serial port support in Whidbey
Posted
over 9 years ago
by
BradA
10
Comments
We keep getting lots of requests for serial port support in the .NET Framework. We are planning to have it in the next release of the .NET Framework. You can goto http://www.gotdotnet.com/team/clr/bcl/demos/demos.aspx , and check out the code in either...
Brad Abrams
Rotor BOF at VM'04
Posted
over 9 years ago
by
BradA
0
Comments
Michal Cierniak talks about it here . Who all is going?
Brad Abrams
Curriculum Repository for managed code
Posted
over 9 years ago
by
BradA
4
Comments
http://new.msdnaa.net/curriculum/repository.aspx Looks like some good stuff. Anyone using this stuff? Anyone want to go to a university where they are using this stuff ;-)
Brad Abrams
Software for Non-Profits
Posted
over 9 years ago
by
BradA
13
Comments
I just heared about http://www.techsoup.org . I am told non-profits can use this site to order MS software for “free”… although there seems to be some admin fees. Anyone using it? How do you like it?
Brad Abrams
Casing for acronyms
Posted
over 9 years ago
by
BradA
18
Comments
In the comments of a recent post Frank Hileman suggests: I have seen, with acronyms, anything goes. I assumed there is no rule. We do have a rule and I believe it is reasonably well followed in the Framework. Do use PascalCasing or camelCasing...
Brad Abrams
Deploying the .NET Framework
Posted
over 9 years ago
by
BradA
10
Comments
Someone asked me this week for some best practices around deploying the .NET Framework on client machines. Unfortunately I don’t have a ton of experience with this. For the last big application I work on ( Terrarium ) we decided to simply...
Brad Abrams
internal = public?
Posted
over 9 years ago
by
BradA
58
Comments
There was an interesting thread this week inside the firewall about compatibility concerns the .NET Framework (and by extension WinFX) has in light of the fact that you can you use reflection to find and even invoke private members. Here is the exact...
Brad Abrams
Style for the Design Guidelines Document
Posted
over 9 years ago
by
BradA
29
Comments
If you have been following the Design Guidelines updates I have done and the Design Guidelines document you will notice we use a pattern…. Nearly every rule begins with “ Do ”, “ Do not ”, “ Avoid ” or “...
Brad Abrams
Thoughts on the power of naming conventions
Posted
over 9 years ago
by
BradA
7
Comments
Ian has some good thoughts on naming conventions . I'll make sure the folks on the WinFX team hear this load and clear. I like this naming convention because it means that an important fact about the code leaps out at me.
Page 1 of 2 (30 items)
1
2