Sign in
|
Help
Peter Ritchie's MVP Blog
This is not a life-saving device.
This Blog
Home
Contact
Syndication
RSS for Posts
Atom
RSS for Comments
Search
Go
Tags
.NET 2.0
.NET 3.5
.NET 3.x
.NET Development
C#
C# 3.0
C# 3.0 Breaking Changes
C# Nugget
C++
Design/Coding Guidance
DevCenterPost
Framework Bugs
General
Interesting Find
Microsoft
MVP
Non-development
OOD
Patterns
Pontification
Resharper
Software Development
Visual Studio 2005
Visual Studio 2008
WinForms
News
Twitter Updates
Community
Home
Blogs
Media
Groups
Email Notifications
Go
Archives
September 2008 (2)
August 2008 (8)
July 2008 (8)
June 2008 (5)
May 2008 (8)
April 2008 (1)
March 2008 (4)
February 2008 (6)
January 2008 (4)
December 2007 (4)
November 2007 (1)
October 2007 (4)
September 2007 (2)
August 2007 (3)
July 2007 (2)
June 2007 (4)
May 2007 (5)
April 2007 (2)
March 2007 (4)
February 2007 (3)
January 2007 (1)
November 2006 (2)
October 2006 (5)
September 2006 (6)
August 2006 (2)
July 2006 (7)
March 2006 (1)
Nuggets
.NET 2.0 Breaking Changes
Visual Studio and .NET Framework Feedback
Microsoft Developer Network Forums
Interesting Blogs
Visual Studio Code Analysis Blog
Sara Ford's Blog
Me
Technorati Profile
Browse by Tags
All Tags
»
.NET 2.0
(
RSS
)
.NET Development
C#
Debugging
Design/Coding Guidance
DevCenterPost
Framework Bugs
Interesting Find
ITSWITCH
ITSWITCH Answer
Pop Quiz
Rant
Software Development
Visual Studio 2005
WinForms
Monday, July 28, 2008 2:00 PM
ITSWITCH #1: Answer
Last post I detailed some code that may or may not have something wrong in it. If you thought InitializeOne and IntializeTwo are semantically identical (e.g. they differ only by performance), you'd be wrong. If you simply ran the code, you'd...
Posted by
PeterRitchie
| with
no comments
Filed under:
C#
,
.NET Development
,
Software Development
,
.NET 2.0
,
Design/Coding Guidance
,
Pop Quiz
,
ITSWITCH Answer
Friday, July 25, 2008 1:58 PM
ITSWITCH: #1
A short pop quiz on design/coding in C#...
Posted by
PeterRitchie
|
5 comment(s)
Filed under:
C#
,
.NET Development
,
Software Development
,
.NET 2.0
,
Design/Coding Guidance
,
Pop Quiz
,
ITSWITCH
Tuesday, January 22, 2008 5:35 PM
Formatting/parsing for a specific culture redux
In recent blog post I detailed how creating a culture via the CultureInfo constructor could actually create a user-overridden culture--which could be completely different than the culture that you've requested by name. Fortunately there's a way...
Posted by
PeterRitchie
| with
no comments
Filed under:
C#
,
.NET Development
,
.NET 2.0
,
Framework Bugs
,
DevCenterPost
Friday, October 12, 2007 12:13 PM
Using Exceptions For Normal Logic Flow
The generally accepted wisdom is that you shouldn't use Exceptions for normal logic flow. Normal logic flow is a bit subjective; but anything that must happen at least once in all known scenarios is normal logic flow. Enter XML Serialization in the...
Posted by
PeterRitchie
|
3 comment(s)
Filed under:
C#
,
.NET Development
,
.NET 2.0
,
Rant
Friday, October 12, 2007 10:15 AM
Who's Referencing Whom?
When developing any sort of application, debugging in inevitable. Sometimes, part of that debugging means trying to figure out why objects haven't been collected and therefore figuring out what object is referencing the object that has yet to be collected...
Posted by
PeterRitchie
| with
no comments
Filed under:
.NET Development
,
Visual Studio 2005
,
.NET 2.0
,
Debugging
Wednesday, August 22, 2007 2:13 PM
Thread.Abort is a Sign of a Poorly Designed Program
Continuing the theme of Thead.Sleep is a sign of a poorly designed program , I've been meaning to provide similar detail on Thread.Abort and not just allude to it in other posts like 'System.Threading.Thread.Suspend() is obsolete: 'Thread...
Posted by
PeterRitchie
|
3 comment(s)
Filed under:
C#
,
Software Development
,
.NET 2.0
,
Design/Coding Guidance
Thursday, July 12, 2007 9:30 PM
Performance Implications of try/catch/finally, Part Two
In a previous blog entry Performance Implications of try/catch/finally I outlined that the conventional wisdom that there are no performance implications to try blocks unless an exception is thrown is false. I have some clarifications and details to add...
Posted by
PeterRitchie
| with
no comments
Filed under:
C#
,
.NET Development
,
.NET 2.0
,
Design/Coding Guidance
Friday, June 22, 2007 12:38 PM
Performance Implications of try/catch/finally
The accepted wisdom regarding performance of try / catch | finally in C# has normally been: try has no performance side-effects unless an exception is thrown. A discussion I was involved in recently caused me to discover some performance implications...
Posted by
PeterRitchie
|
7 comment(s)
Filed under:
C#
,
.NET Development
,
.NET 2.0
,
Design/Coding Guidance
Tuesday, May 22, 2007 12:45 PM
.NET Framework 2.0 Service Pack 1
I noticed mention of .NET Framework 2.0 Service Pack 1 on a Microsoft site today. The BCL Team's latest blog entry http://blogs.msdn.com/bclteam/archive/2007/05/21/the-regexoptions-compiled-flag-and-slow-performance-on-64-bit-net-framework-2-0-josh...
Posted by
PeterRitchie
|
3 comment(s)
Filed under:
.NET Development
,
Interesting Find
,
Software Development
,
Visual Studio 2005
,
.NET 2.0
Sunday, September 10, 2006 8:23 PM
Changing TextBox Text as an Undo-able Action
The TextBox class supports undoing the last action--inherited from TextBoxBase . Normally the user does this by pressing the undo key (Ctrl-Z if your keyboard doesn't have a specific Undo key) or by selecting "Undo" from the context menu. The last action...
Posted by
PeterRitchie
|
3 comment(s)
Filed under:
C#
,
.NET Development
,
WinForms
,
Software Development
,
.NET 2.0
Saturday, September 09, 2006 11:17 AM
Protecting intellectual properties in .NET, Part 1.
One thing that bothers many people and organizations about .NET is the ease of which IL code can be re-hydrated into source code (C#/VB/etc.). While this has always been a problem with binaries, IL code is a much smaller set of instructions compared to...
Posted by
PeterRitchie
|
1 comment(s)
Filed under:
.NET Development
,
Software Development
,
.NET 2.0