Sign in
|
Join
|
Help
Peter Ritchie's MVP Blog
This is not a life-saving device.
This Blog
Home
Contact
Tags
.NET 2.0
.NET 3.5
.NET 4.0
.NET 4.5
.NET Development
AntiPattern
C#
C# 3.0
Design/Coding Guidance
DevCenterPost
DevTeach
General
Interesting Find
Microsoft
Non-development
OOD
Patterns
Pontification
Resharper
Software Development
Software Development Guidance
Software Development Practices
Visual Studio 2005
Visual Studio 2008
Visual Studio 2010
Syndication
RSS for Posts
Atom
RSS for Comments
Go
News
Follow @peterritchie
Search
Go
Email Notifications
Go
Archives
March 2013 (3)
February 2013 (1)
January 2013 (2)
November 2012 (4)
September 2012 (4)
August 2012 (1)
May 2012 (1)
April 2012 (1)
February 2012 (3)
January 2012 (3)
December 2011 (1)
November 2011 (5)
October 2011 (2)
September 2011 (2)
August 2011 (1)
July 2011 (1)
June 2011 (1)
May 2011 (3)
April 2011 (1)
March 2011 (2)
February 2011 (1)
December 2010 (4)
November 2010 (2)
October 2010 (2)
August 2010 (1)
June 2010 (2)
May 2010 (4)
April 2010 (6)
March 2010 (1)
February 2010 (6)
December 2009 (1)
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 (2)
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
»
DevCenterPost
»
Software Development
»
.NET Development
(
RSS
)
.NET 4.0
Async Functions
C#
C# 4.0
C# 5
Code Smells
Design/Coding Guidance
OOD
Refactoring
Software Development Guidance
TDD
Unit Testing
Visual Studio 2008
Visual Studio 2010
WinForms
Fri, May 25 2012 12:51
Automated Testing Isn’t Just for Business Logic
I had a conversation with Kelly Sommers the other day that was partially a short support group session on the annoying tendencies of development teams to completely lose focus on the architecture and design principles of a system and let the code base...
Posted by
PeterRitchie
|
5 comment(s)
Filed under:
C#
,
.NET Development
,
Software Development
,
DevCenterPost
,
Unit Testing
,
TDD
,
Software Development Guidance
Sat, Dec 11 2010 13:21
Unbind a Visual Studio 2010 Solution from Source Code Control
I was working with a solution that I got from someone else the other day. When I loaded it up, Visual Studio 2010 informed me that it could not connect to a TFS server at some URL and will open the solution in offline mode (or something to that...
Posted by
PeterRitchie
|
5 comment(s)
Filed under:
.NET Development
,
Software Development
,
DevCenterPost
,
Visual Studio 2010
Thu, Nov 4 2010 11:26
Testing Strategies Involving Async Functions
Some things to keep in mind when writing units tests for code that use async methods: You're not trying to test the framework's "awaitability" and you're not trying to test framework methods that are "awaitable". You want...
Posted by
PeterRitchie
|
1 comment(s)
Filed under:
.NET Development
,
Software Development
,
Design/Coding Guidance
,
DevCenterPost
,
Unit Testing
,
TDD
,
C# 5
,
Async Functions
Tue, Jun 15 2010 18:21
Visual Studio 2010, Enhance your Jedi Skillz
I’ve blogged about becoming a Jedi in Visual Studio 2008 before . Being a Jedi in Visual Studio means you focus more on adding value to the software you’re working with and less on the process of the IDE you’re doing your work in. Visual...
Posted by
PeterRitchie
|
2 comment(s)
Filed under:
.NET Development
,
Software Development
,
DevCenterPost
,
Visual Studio 2010
Mon, May 24 2010 11:18
Using the dynamic Keyword in C# to Improve Object-Orientation
With polymorphism, object-oriented languages allow "...different data types to be handled using a uniform interface". Ad-hoc polymorphism is when you declare multiple methods of the same name but differ by the type of an argument. For example...
Posted by
PeterRitchie
|
5 comment(s)
Filed under:
C#
,
.NET Development
,
Software Development
,
Design/Coding Guidance
,
DevCenterPost
,
OOD
,
Visual Studio 2010
,
.NET 4.0
,
C# 4.0
,
Refactoring
,
Code Smells
Tue, Apr 20 2010 15:49
Modify VS 2010 Template to Reference System.Configuration
Almost every project I create in Visual Studio, I invariably have to add System.Configuration to the references for that project. As soon as I want to do much with app.config, I need to use something in System.Configuration. Well, rather than...
Posted by
PeterRitchie
|
4 comment(s)
Filed under:
C#
,
.NET Development
,
WinForms
,
Software Development
,
DevCenterPost
,
Visual Studio 2010
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
|
8 comment(s)
Filed under:
C#
,
.NET Development
,
Software Development
,
Design/Coding Guidance
,
Visual Studio 2008
,
DevCenterPost
Tue, Apr 29 2008 9:08
Overcoming problems with MethodInfo.Invoke of methods with by-reference value type arguments
I ran into an interesting problem on the Forums recently. Basically, when you use MethodInfo.Invoke to invoke a method with by-reference value type arguments you can't have the invoked method update a variable/argument. The problem is, when you invoke...
Posted by
PeterRitchie
|
6 comment(s)
Filed under:
C#
,
.NET Development
,
Software Development
,
DevCenterPost