KnowDotNet NetRefactor

NET Refactor - Examples and Tutorial

Using NET Refactor

Is there a general tutorial on using NET Refactor to refactor my code?  Yes, this article is a link to all of the articles that have been written on Refactoring and NET Refactor.

What is Refactoring?

You can get a good definition of refactoring from Martin Fowlers's Website.  The links shown below are articles on KnowDotNet on the general subject of Refactoring.

It's Always Time to Refactor (Part I).

It's Always Time to Refactor (Part II).

It's Always Time to Refactor (Part III).

Keeping Your Code Modular, Readable, and Maintainable.

Consolidate Duplicate Conditional Fragments.

Getting Ready to Refactor.

VB Developers Should Be As Interested As C# Developers in Refactoring.

Organizing Classes Into Regions


Automate the Organization of Classes Into Regions.

Specific Refactorings


Extract Method to Reduce the Size of Your Large Complex Methods.

Extract SuperClass

Keep Event Handlers Small by Extracing Code Into a New Method.

Consolidate Duplicate In-Line Strings Into Const or String.

Renaming Method Parameters.

Create Structure or Class Before Extracting Methods.

Extract Interface to Implement Multiple Classes.

Convert Concatenation of Strings to StringBuilder.

Reorder Local Varaibles.

Decompose Conditional (Simplify Complex If Statements.

Wrap or Continue Long Lines.

Insert Code Snippets (Roll your own).

Strongly Typed Collection

Dynamic SQL Refactoring


Why Dynamic SQL is Bad.

Refactoring Dynamic SQL With Parameters.

Automate Conversion of Dynamic SQL to Parameter Usage.

Generate Stored Procedures

Call Stored Procedures

Keep Your Comments Up To Date


Keep Your Comments Up To Date.

NET Refactor Home Page


NET Refactor Home Page.

Download or Purchase NET Refactor.

Writing Add-Ins for Visual Studio .NET
Writing Add-ins for Visual Studio .NET
by Les Smith
Apress Publishing