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
Advanced search options...
Search In:
Everything
Blogs
Forums
People
Groups
Places
Pages
Date range:
All Time
Last Year
Last 6 Months
Last 3 Months
Last Month
Last Week
Last Two Days
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)
July, 2003
MSDN Blogs
>
Brad Abrams
>
July, 2003
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Brad Abrams
Design Guidelines Update: Implementing Interfaces Privately
Posted
over 9 years ago
by
BradA
0
Comments
Another one hot off the presses... As always you comments are welcome. Consider implementing interface members privately (explicitly), if the members are intended to be called only through the interface. This includes mainly members supporting...
Brad Abrams
Converting to a DateTime from time_t
Posted
over 9 years ago
by
BradA
3
Comments
This code just went by an internal alias and I thought i'd record it here. public static DateTime Time_T2DateTime(uint time_t) { long win32FileTime = 10000000*(long)time_t + 116444736000000000; return DateTime.FromFileTimeUtc(win32FileTime); ...
Brad Abrams
Subclassing Usage Guidelines
Posted
over 9 years ago
by
BradA
2
Comments
Hot off the presses.. I just added this to the working draft fo the Design Guidelines document internally. As always, comments welcome. 4.1.2 Subclassing Usage Guidelines One of the advantages of an object oriented environment is that...
Brad Abrams
On Designing Good Libraries -- Part IV
Posted
over 9 years ago
by
BradA
14
Comments
As always, comments welcome! Object Oriented Design • This is not an OO Design class • A type represents a set of responsibilities • Modeling the real world • Group related responsibilities together in a class • Only 5% of...
Brad Abrams
Presentation on the GC
Posted
over 9 years ago
by
BradA
5
Comments
I was talking with Patrick Dussud, the Architect for the CLR's Garbage Collector today and it turns out he has a very good presentation that he does for internal groups that need to understand the philology behind how the GC really works. This is one...
Brad Abrams
What it is so great about managed code
Posted
over 9 years ago
by
BradA
7
Comments
Robert Hess from . NET Show fame invited me and a few other notables to drop by the next taping of the .NET Show to revisit what is so great about managed code. I think this is GREAT because sometimes we get so focused on one angle of the technology...
Brad Abrams
More on PDC Breakouts
Posted
over 9 years ago
by
BradA
4
Comments
Some comments on the comments from my recent post on PDC breakout sessions Christian Weyer is asking about Indigo… good question. We made a decision to avoid many code names in the initial session list we published. But trust me the “Indigo” sessions...
Brad Abrams
MessageBeep in the .NET Framework
Posted
over 9 years ago
by
BradA
6
Comments
This has come by in email a few times, so I thought I’d post it here. Clearly this is a hole in the V1 and we are addressing it in Whidbey. Until then: public enum MessageBeepType { Default = -1, Ok = 0x00000000, Error = 0x00000010, Question...
Brad Abrams
Initial PDC Breaks published
Posted
over 9 years ago
by
BradA
11
Comments
I haven’t seen much buzz about the initial PDC sessions list we published this week. I am spending >8 hours a week working on PDC sessions across the tracks, so if you have any suggestions or guidance, I’d love to hear it. We are FAR from done...
Brad Abrams
Comments on On Designing Good Libraries -- Part III
Posted
over 9 years ago
by
BradA
3
Comments
Good discussion on part III, here are my comments: Frans Bouma asks > A reference type by value copied the reference > * Commonly used: public void Insert (object value) {..} > I might be wrong, but 'value' in the example above is passed...
Brad Abrams
KitG's Taking Control of the BCL TechEd talk
Posted
over 9 years ago
by
BradA
2
Comments
Kit George did a great talk at the TechEd this year that has a lot of good “design guidelines” in it. He agreed to let me post his slides and samples here.
Brad Abrams
On Designing Good Libraries -- Part III
Posted
over 9 years ago
by
BradA
18
Comments
Good discussion on the first two.... Let's see how this goes. Fields • Never use publicly exposed instance fields • Properties offer more flexibility at minimal cost • JIT inlines simple property access • Easy to add cache...
Brad Abrams
Some more information on the Managed Quake II code
Posted
over 9 years ago
by
BradA
2
Comments
Martin Spedding's posts some more on this Managed Quake II project . In there he asks if David Notario has a blog… Well, funny you should ask Martin. David and I were just on a thread this weekend with some guys from the Windows gaming group...
Brad Abrams
Comments on On Designing Good Libraries -- Part II
Posted
over 9 years ago
by
BradA
2
Comments
Some good comments on my last post on guidelines… here is some thoughts on those comments: Roland asks: Ø Attributes: Never use overloaded constructors What's the reason/idea behind this? Custom Attributes, unlike other classes, supports...
Brad Abrams
PInvoke perf guidelines
Posted
over 9 years ago
by
BradA
4
Comments
I just saw these go by on an internal alias and thought i'd share them with you... Recommendation: If you control the interface between managed and unmanaged code, make it "chunky" rather than "chatty," to reduce the total number of transitions ...
Brad Abrams
Code security resources...
Posted
over 9 years ago
by
BradA
0
Comments
I just got this in mail and thought I would share here... Has anyone checked these out? comments? ---- We recently released a security guide Improving Web Application Security: Threats and Countermeasures, this covers a wide range of technologies...
Brad Abrams
On aliasing the Dispose name...
Posted
over 9 years ago
by
BradA
16
Comments
Michael argues that the guideline we have around using a customized name for the Dispose method is a bad idea because it adds developer confusion. This is a reasonable argument, and one that heavy hitters such as Jeffrey Richter buy into as well...
Brad Abrams
Some comments on by Inside C# post
Posted
over 9 years ago
by
BradA
3
Comments
Recently I posted about the magic the C# compiler is doing… I got some good comments . Patrick Steele – points to some similar work he did in VB… very cool. Kelly Summerlin , I have pushed in the past for the compilers\IDEs to make better...
Brad Abrams
On Designing Good Libraries -- Part II
Posted
over 9 years ago
by
BradA
10
Comments
You asked for it, you got it.. feedback always welcome. Attribute Usage • Suffix with “Attribute” • Perf tip: seal attribute classes for faster runtime lookup • Specify the AttributeUsage attribute completely • Don’t rely...
Brad Abrams
More on Design Guidelines
Posted
over 9 years ago
by
BradA
2
Comments
Thanks for the encourgement in many of your comments on my recent post . I do plan to add more content soon.. Frans , I have passed you comment on to the data guys.. Gareth - Yes, we will at least be updating with the Whidbey Beta... ...
Brad Abrams
Versioning of resources
Posted
over 9 years ago
by
BradA
0
Comments
Managed code makes it very easy to version your applications... Because we have gotten rid of the global registration (at least for apps) it is much easier to write a side by side application... That said there has been some internal folk asking about...
Brad Abrams
Check out WinCamera
Posted
over 9 years ago
by
BradA
0
Comments
I have been playing this recently -- very cool and simple way to get screen grabs... Check it out
Brad Abrams
Greg Fee -- *the* CLR security man in the house
Posted
over 9 years ago
by
BradA
2
Comments
You asked for it you got it… I am happy to announce that the primary dev on the CLR CAS security system has started a blog! Every wounder how the stack walking works or what is special about the security custom attributes… read on and find out
Brad Abrams
Inside C#
Posted
over 9 years ago
by
BradA
8
Comments
One of the ways I explore the framework is to look under the covers at what the compilers generate to see how the map to CLR concepts....
Brad Abrams
On Designing Good Libraries
Posted
over 9 years ago
by
BradA
21
Comments
Helping to grow the .NET Framework in a consistent way is one of my daily passions....
Page 1 of 2 (26 items)
1
2