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
Go
News
Search
Go
Email Notifications
Go
Archives
August 2009 (1)
July 2009 (1)
May 2009 (1)
April 2009 (1)
March 2009 (3)
January 2009 (3)
November 2008 (6)
October 2008 (2)
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
Tags
.NET 2.0
.NET 3.5
.NET 3.x
.NET Development
AntiPattern
C#
C# 3.0
C++
DDD
Design/Coding Guidance
DevCenterPost
General
Interesting Find
Microsoft
Non-development
OOD
Patterns
Pontification
Resharper
Software Development
Software Development Guidance
Software Development Practices
Visual Studio 2005
Visual Studio 2008
WinForms
Browse by Tags
All Tags
»
.NET Development
(
RSS
)
.NET 2.0
.NET 3.5
.NET 3.x
.NET 4.0
ALT.NET
AntiPattern
Asynchronous Programming Model (APM)
C#
C# 3.0
C# 3.0 Breaking Changes
C# 4.0
CodeRush Refactor! Pro
Connect Issue
DDD
Debugging
Definition
Design/Coding Guidance
DevCenterPost
DevTeach
DevTeach YUL 2008
Framework Bugs
General
Interesting Find
ITSWITCH
ITSWITCH Answer
Microsoft
Microsoft Patterns and Practices
OOD
Open Source
Patterns
Pontification
Poor UI
Pop Quiz
Product Bugs
Product Suggestions
Rant
Resharper
SilverLight
Software Development
Software Development Guidance
Software Development Practices
TCP
TDD
Visual Studio 2005
Visual Studio 2008
Visual Studio 2008 SP1
Visual Studio 2010
WinForms
Mon, Mar 30 2009 23:02
Evolving code over time
Given economics, time constraints, resource limitations, etc.; you can't write all the functionality for a given solution for a single release. Even if you weren't limited by these constraints, you're likely to get changing requirements as...
Posted by
PeterRitchie
|
1 comment(s)
Filed under:
C#
,
.NET Development
,
Software Development
,
Design/Coding Guidance
,
Software Development Practices
,
Software Development Guidance
Thu, Mar 26 2009 11:33
DevTeach 2009 Vancouver
The schedule for DevTeach 2009 Vancouver has been announced ( http://www.devteach.com/ ). There’s lots of great software development sessions from some of the leaders in our industry. If you’re planning on improving yourself, this is the conference...
Posted by
PeterRitchie
|
1 comment(s)
Filed under:
C#
,
.NET Development
,
Software Development
,
Visual Studio 2005
,
.NET 2.0
,
Design/Coding Guidance
,
.NET 3.x
,
Visual Studio 2008
,
C# 3.0
,
.NET 3.5
,
DevTeach
,
DDD
,
Software Development Practices
,
Software Development Guidance
Thu, Jan 29 2009 11:10
A Upcoming Pandemic of Domain Anaemia
There's a well-known anti-pattern called the anaemic domain model[1][2]. This anti-pattern basically says domain entities, chronically, have little or no behaviour (remember, object-oriented design is about attributes and behaviour). It should be...
Posted by
PeterRitchie
|
4 comment(s)
Filed under:
.NET Development
,
Software Development
,
Design/Coding Guidance
,
Microsoft
,
Patterns
,
OOD
,
AntiPattern
,
DDD
,
ALT.NET
,
Software Development Practices
,
Software Development Guidance
,
Microsoft Patterns and Practices
Mon, Nov 24 2008 14:59
Unable To Step Into .NET Source
I began getting a problem a while ago that I was unable to step into the .NET source in Visual Studio 2008. It happened suddenly, and I noticed it shortly after installing SP1. Given my observation it appears to be due to upgrading the SP1; but I couldn’t...
Posted by
PeterRitchie
|
2 comment(s)
Filed under:
.NET Development
,
Visual Studio 2008
,
Visual Studio 2008 SP1
Fri, Nov 21 2008 12:09
Pass-through Constructors
Pass-through constructors is a term I use to describe parameterized constructors that have none of their own logic and simply pass parameters to the base class. For example: public class BaseClass { private String text; public BaseClass( String text)...
Posted by
PeterRitchie
| with
no comments
Filed under:
C#
,
.NET Development
,
Software Development
,
Definition
Thu, Nov 13 2008 2:52
DevTeach 2008 Includes over $1,000 In Free Software.
Announced recently, registering for and attending DevTeach Montreal 2008 will land you with $1,000 of free software. Including: Visual Studio 2008 Pro Expression Web 2 TechEd Conference DVD set The sessions have shaped up to be some of the best training...
Posted by
PeterRitchie
| with
no comments
Filed under:
.NET Development
,
DevTeach YUL 2008
Wed, Nov 12 2008 10:02
.NET 4.0, Evolving .NET Development
.NET 4.0 is the first release of .NET since 2.0 that evolves .NET for every programmer. .NET 3.0 was largely LINQ and .NET 3.5 was largely new namespaces (like WCF, WWF, etc.) .NET 4.0 evolves the programming and design for any programmer. It offers framework...
Posted by
PeterRitchie
|
4 comment(s)
Filed under:
C#
,
.NET Development
,
Visual Studio 2010
,
.NET 4.0
,
C# 4.0
Tue, Sep 2 2008 13:49
Becoming a Visual Studio Jedi Part 1
Becoming a Visual Studio 2008 (and often Visual Studio 2005) Jedi In much the same grain as James' Resharper Jedi posts, I'm beginning a series of posts on becoming a Visual Studio Jedi. It involves getting the most out of Visual Studio off-the...
Posted by
PeterRitchie
|
7 comment(s)
Filed under:
C#
,
.NET Development
,
Software Development
,
Design/Coding Guidance
,
Visual Studio 2008
,
DevCenterPost
Tue, Aug 26 2008 15:06
Trials and Tribulations of DataGridView, Column Selections, and Sorting
I had to implement some custom sorting in a DataGridView recently. Essentially, the stakeholders wanted full column selection (like Excel) while still having the ability to sort the data based on a particular column. This particular DataGridView is data...
Posted by
PeterRitchie
|
3 comment(s)
Filed under:
C#
,
.NET Development
,
Software Development
,
.NET 3.5
,
Framework Bugs
,
Connect Issue
,
Visual Studio 2008 SP1
Wed, Aug 20 2008 20:24
Location of unit tests.
I had a short conversation at Alt.Net Canada about the location of unit tests. I personally tend towards a distinct unit test project. But, I deal with mostly commercial, off-the-shelf (COTS) projects where I simply can't ship code like that. I also...
Posted by
PeterRitchie
| with
no comments
Filed under:
General
,
.NET Development
,
Design/Coding Guidance
,
Pontification
,
TDD
Mon, Aug 11 2008 17:34
DataGridViewColumn.Frozen
DataGridViewColumn.Frozen is documented as "When a column is frozen, all the columns to its left (or to its right in right-to-left languages) are frozen as well." Which is nice until you think of the consequences. The consequences being that...
Posted by
PeterRitchie
| with
no comments
Filed under:
C#
,
.NET Development
,
Software Development
,
Design/Coding Guidance
Mon, Jul 28 2008 14:00
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
Fri, Jul 25 2008 13:58
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
Mon, Jul 21 2008 15:32
Working with Resharper's External Annotation XML Files
Resharper 4.0 has external annotation XML files that you can create to give Resharper more information about your code. For example, you can tell Resharper that a particular method does not accept a null argument. For example, the following method does...
Posted by
PeterRitchie
|
5 comment(s)
Filed under:
.NET Development
,
Software Development
,
Visual Studio 2008
,
Resharper
Fri, Jul 18 2008 11:46
Drag-copying in Visual Studio Solution Explorer.
NOTE: I've tried this in Visual Studio 2008 (VS2k8), I'm assuming the same thing happens in Visual Studio 2005 (VS2k5). In the process of refactoring, it's *very* common for me to rename a type. This is most easily done by renaming the file...
Posted by
PeterRitchie
|
2 comment(s)
Filed under:
.NET Development
,
Software Development
,
Visual Studio 2008
,
.NET 3.5
,
Product Bugs
,
Poor UI
Tue, Jul 15 2008 9:47
Nested Types
Recently Michael Features blogged about nested types . The title was almost "nested types considered harmful". I don't agree. I don't agree that they're any more harmful than any other C# construct (except goto...). Nested types...
Posted by
PeterRitchie
|
2 comment(s)
Filed under:
C#
,
.NET Development
,
Software Development
,
Design/Coding Guidance
,
Visual Studio 2008
,
C# 3.0
,
.NET 3.5
,
TCP
,
Asynchronous Programming Model (APM)
Wed, Jul 2 2008 13:15
Sandcastle Source Code Published
The source for the Sandcastle project has been published . This is great news. For more information, see http://www.codeplex.com/Sandcastle/SourceControl/ListDownloadableCommits.aspx .
Posted by
PeterRitchie
| with
no comments
Filed under:
.NET Development
,
Interesting Find
,
Software Development
,
Open Source
Wed, Jun 25 2008 20:17
Comparing CodeRush Refactor! Pro and Resharper 4, part 1 or N -- first glance.
Metadata view of code in referenced assemblies This is a big one for me. For whatever reason, Refactor 4 (and prior) completely disables this and sends you to the Object Browser instead. You get metadata view with CodeRush Refactor! Pro. Keyboard layout...
Posted by
PeterRitchie
|
2 comment(s)
Filed under:
C#
,
.NET Development
,
Software Development
,
Software Review
,
Resharper
,
CodeRush Refactor! Pro
Wed, Jun 25 2008 12:21
Entity Framework Petition of Vote of Non Confidence
I had intended to be happy simply being a signatory of ADO .NET Entity Framework Vote of No Confidence. But, there's people suggesting signatories of this petition are wackos or on the fringe. Do yourself a favour and read the petition . Read what...
Posted by
PeterRitchie
|
2 comment(s)
Filed under:
C#
,
.NET Development
,
Software Development
,
Design/Coding Guidance
,
Microsoft
Mon, May 26 2008 9:25
Spaces or Tabs?
In this day and age it seems silly to get into a discussion about whether your companies coding guidelines should have a section mandating either spaces or tabs for indents. Tabs are clearly more flexible, but I really don't think it matters at all;...
Posted by
PeterRitchie
|
5 comment(s)
Filed under:
C#
,
.NET Development
,
Design/Coding Guidance
,
Microsoft
More Posts
Next page »