News in the Category: Refactor Subscribe to the rss of this category.

Total posts: 401 | Sort by Views | Sort by Hits

Useful plugin for ReSharper

DotNetJunkies Just Published, April 28, 2007
Views: 6,832 | Hits 928

This plugin contains refactoring method "Move string to resource" and have some useful functions....

How to disable ReSharper for a file: [CTRL + 8]

Code Climber, August 6, 2008
Views: 4,194 | Hits 443

ReSharper is one of the tools I couldnt live/code without, but when they designed it they didnt tested my current scenario: Im doing the assessment and refactoring of an application made of more than ...

VS refactoring tools - 2008 quicker than 2005?

Granville Barnett, December 19, 2007
Views: 3,773 | Hits 178

As I am working on a couple of projects that are based upon C# 3.0 and haven't got my copy of Resharper installed (it just bugs me like mad with C# 3.0!) I used the VS 2008 refactoring tools today for...

Resharper vs CodeRush and Refactor Pro - Round 1, October 24, 2005
Views: 3,638 | Hits 485

I've developed .NET applications with both of these products in the past and they both have some great features that save a ton of time. It had been a while though since I last did a comparison, so I ...

Cache Access Pattern Revised

Steven Smith, July 7, 2008
Views: 3,450 | Hits 339

Karl Seguin has an interesting post about using System.Func to fight repetitive code blocks, which actually addresses a pain point I've had for quite some time but had never acted on to fix.  Whe...

Introducing CSS event:Selectors

Marc's Musings, March 22, 2006
Views: 3,430 | Hits 225

Justin Palmer has done it again! Simplify the whole process of linking up behavior using CSS selectors. This time, though, support for events are included. This is like behavior.js with even more co...

Resharper Vs. Refactor! and CodeRush - Let the games begin.

ISerializable, June 11, 2006
Views: 3,409 | Hits 192

It feels like the VS.NET Add-in wars are coming this way again, and I'm glad. Here's what DevExpress had to say on this unofficial blog post:   "Just as a taster, how about these: Refactor! Pro ...

VS 2008 C++ refactoring...

Granville Barnett, February 17, 2008
Views: 3,225 | Hits 81

...well there still is none. I seem to be pressing commands in VS 2008 Win32 projects which would invoke pretty basic refactoring tools in C# and VB.NET but yet C++ has nothing! Now I know the VC guy...

Visual Studio and MSTest woes

Granville Barnett, July 23, 2007
Views: 3,219 | Hits 44

MSTest has been the bane of my life recently - things are just going far to slow, the test results GUI freezes up and becomes totally today I downloaded TestDriven.NET which I k...

Unit Testing - Do Repeat Yourself

Karl Seguin [MVP], September 12, 2009
Views: 3,116 | Hits 128

Writing effective unit tests is as much about the test itself as it is about the code under test. All the experience in the world isn't going to help you write clean and meaningful tests against h...

Practice, Code Exercises, and Code Katas

Steven Smith, August 28, 2009
Views: 2,969 | Hits 342

One of the ways we improve as software developers is through practice.  Practice isnt just something thats done as you go about your job it has to be focused on improving your skills. ...

Reflection on Problem Assemblies

Rick Strahls WebLog, December 23, 2006
Views: 2,822 | Hits 192

Markus bugged me this morning about a problem with an import of a couple of assemblies using Html Help Builder. Html Help Builder can import assemblies and quickly create full documentation from the a...

Refactoring a PropertyChanged Event Handler, June 26, 2008
Views: 2,585 | Hits 127

Just a quick code hit Ive been meaning to blog about Ive seen a lot of examples that implement the  PropertyChanged event handler of the INotifyPropertyChanged interface. Most of them are de...

Video: (part 8 - The big Refactoring) TDD Pairing a Go Game Engine

ISerializable, July 12, 2012
Views: 2,576 | Hits 15

In this video (all the sessions are here), Raymond and I do a refactoring of the code, to something we like much more. We end up with code we can be more proud of, and the comtinued feedback of the te...

Null Object design pattern instead of returning null

Fabrice's weblog, February 12, 2009
Views: 2,525 | Hits 312

This is just a quick post to make a plug for the Null Object design pattern. I don't think that it's used a lot, but it's useful to avoid a lot of issues. It's very common to create or use methods and...

IHttpContext And Other Interfaces For Your Duck Typing Benefit

youve been HAACKED, September 10, 2007
Views: 2,513 | Hits 684

Not too long ago I wrote a blog post on some of the benefits of Duck Typing for C# developers. In that post I wrote up a simplified code sample demonstrating how you can cast the HttpContext to an int...

Code Refactoring

GotDotNet: New resources, April 12, 2006
Views: 2,501 | Hits 265

What is code refactoring? How can this new technology help me in my programming? Here's an article that discuses this....

Refactor! Pro in VS 2008 : Screenscasts & More

The ASPx Blog, December 30, 2007
Views: 2,362 | Hits 144

Want to learn more about the refactorings in Visual Studio 2008 from the lead developer? Dustin Campbell is doing a 12-day series on Visual Studio 2008 refactorings made specifically for Visual Basic ...

Refactoring Silverlight ChildWindow for a non-modal use

Method ~ of ~ failed, May 10, 2009
Views: 2,362 | Hits 77

Ive seen a few comments/requests incoming lately that people like the ChildWindow control in the Silverlight SDK. This is a great control that creates a modal dialog for you. When you use it, it disab...

Video: CodeRush Metric Shader Plugin

The ASPx Blog, October 27, 2009
Views: 2,340 | Hits 47

Check out the CodeRush Metric Shader plugin video with Rory Becker. Rorys created for you another useful plugin that helps you visualize code metrics! Check out the video to see what I mean: Th...

CodeMash 2009 Sessions Announced

Steven Smith, November 14, 2008
Views: 2,339 | Hits 23

Actually they were announced a couple of days ago, but Ive been a bit too busy to blog.  Eventually these will make it up on the CodeMash web site, but for now they are only listed on the events ...

CodeRush Test Runner With NUnit And TestDriven.Net

The ASPx Blog, January 4, 2010
Views: 2,304 | Hits 77

Check out this review of the CodeRush Test Runner from Will Green: I've been using CodeRush Xpress since a little after it was first announced, and every new release has gotten better and be...

Rhino.Mocks v. 2.0 Announced. Yes, it's a Mock Object Framework.

ISerializable, July 2, 2005
Views: 2,266 | Hits 196

Ayende has announced that he's released Rhino.Mocks v. 2.0: his own version of what he'd like in a Mock Object framework. I haven't yet got a chance to try it out, but it certainly sounds interesting!...

Book Review: Clean Code articles, news and updates, October 12, 2008
Views: 2,258 | Hits 88

The latest book by Bob Martin, Clean Code, is a cross between Steve McConnell’s Code Complete, Martin Fowler’s Refactoring, Joshua Kerievsky’s Refactoring to Patterns, with some tidb...

Faster Database Development with SQL Refactor

Simple Talk, November 7, 2006
Views: 2,250 | Hits 257

Insights into SQL Refactor, a groundbreaking refactoring tool for SQL Server databases, from its architect and lead developer, Andrs Belokosztolszki....

My must-read book list (part 1, the basics)

Marc's Musings, June 14, 2006
Views: 2,235 | Hits 161

I have been asked so many times, so I'm putting the list here. I'll updated it from time to time, but this is my list:Analysis and DesignMartin Fowler's Analysis Patterns : Reusable Object Models appr...

Brilliant! Once in an Agile Lifetime

Marc's Musings, February 20, 2006
Views: 2,230 | Hits 65

If you don't recognize the song, I'm ashamed of you... And you may find yourself in a two bit startupAnd you may find yourself in another part of your careerAnd you may find yourself in control of ...

Refactor 2008!

Chris Love's Official Blog - Professional ASP.NET, January 24, 2008
Views: 2,179 | Hits 113

One of my favorite tools is available for Visual Studio 2008, Refactor 2008 . If you do not know what Refactor is, it is a Visual Studio 2008 add-in that makes it very easy to refactor your code. That...

Free Download: VS 2008 Database Edition Power Tools

Federal Developer Weblog, February 20, 2008
Views: 2,178 | Hits 54

Microsoft has released a set of Power Tools for folks who use Visual Studio Team System 2008 Database Edition Power Tools. Here's the description of what's in this free download, and it's a lot! ...

[Cool Tool] VS Resource Refactoring Tool

Laurent Duveau, March 2, 2008
Views: 2,129 | Hits 88

The recently opened Visual Studio Gallery contains some free hidden Microsoft gems, Resource Refactoring Tool is one of them. Resource Refactoring Tool provides developers an easy way to extract hard ...

How To Create A Google Like Captcha Control In ASP.NET

The ASPx Blog, November 10, 2010
Views: 2,126 | Hits 62

Want to get that same great look that Googles Captcha has? Check out how easy it is to set up the ASPxCaptcha control to get that same look and feel: How? Heres 3 easy steps for the ASPxCaptcha: ...

Your code via NDepend

Brendan Kowitzs Web Log - Yes means I understand, however, it does not correspond to action., September 3, 2009
Views: 2,109 | Hits 43

Recently Id had the opportunity to begin exploring code through the eyes of NDepend. Ive pointed NDepend at my code, open source projects, code at work, just about anything Ive had the time to load in...

CR_ClassCleaner now with Refactor key

Brendan Kowitzs Web Log - Yes means I understand, however, it does not correspond to action., August 19, 2009
Views: 2,108 | Hits 13

On occasions Im sure Im one of many that take advantage of the CR_ClassCleaner plug-in for CodeRush. For one reason or another the other day, I somehow managed to bork some of the shortcut keys which...

Early Peek at Resharper 4.5 Features, December 18, 2008
Views: 2,103 | Hits 104

From the JetBrains web site I grabbed this info below that explains the latest features that the next release of Resharper should have. I love this tool, personally. Ive tried many refactoring tools a...

Unit Testing in VS 2008 - Still not there

ISerializable, October 17, 2007
Views: 2,101 | Hits 293

I'm starting to take a look at VS 2008 and writing down some things that are still "not there": Renaming a class using the "Rename" refactoring still does not change the file name. Are you kiddin...

Cure Code Bloat

ASP.NET Daily Articles, September 17, 2006
Views: 2,094 | Hits 307

Learn about the fantastic refactoring tools in Visual Studio 2005 that will let you write better code faster....

ASP.NET MVC GridView Video - Data Bind, Refactor And Combo Box Column

The ASPx Blog, January 31, 2011
Views: 2,094 | Hits 62

Check out the "MVC GridView Extension" webinar video and learn how some great techniques to work with it and it's feature set: Agenda Topics I recommend watching this video because y...

Improved type safety when dealing with generic types, generic methods and reflection

eXtensible mind, August 10, 2009
Views: 2,085 | Hits 46

Compile-time safety is always important, as it reduces the chances that a refactoring can break existing code that compiles successfully. This benefit took me previously to the path of using expressio...

Rhino Mocks are strongly typed. Refactor unit tests with ease - level 200

Jeffrey Palermo, January 2, 2006
Views: 2,079 | Hits 145

I completed my first unit test with Rhino Mocks today.  With well-designed code, one can pick apart a section, mock the interfaces it needs and run/debug/test it in isolation.  This is a hug...

Book Review: Applying Domain-Driven Design and Patterns articles, news and updates, July 9, 2006
Views: 2,074 | Hits 155

I’ve finished reading Jimmy Nilsson’s recent book Applying Domain-Driven Design and Patterns: With Examples in C# and .NET. My first impression is that the book lacks focus. Jimmy talks ...

Refactoring: Using object constructors in HQL with NHibernate

.Avery Blog, October 21, 2006
Views: 2,073 | Hits 169

We are using NHibernate on a big project at work and one of the optimizations we often find ourselves making is creating a lighter object and returning that instead of our full objects for searches an...

Unit Test Web Code Without A Web Server Using HttpSimulator

youve been HAACKED, June 20, 2007
Views: 2,060 | Hits 169

Testing code written for the web is challenging. Especially code that makes use of the ASP.NET intrinsic objects such as the HttpRequest object. My goal is to make testing such code easier. A while ...

[ReSharper] Directory name donates namespace Yes or No ?

the telerik blogs, July 4, 2008
Views: 2,057 | Hits 7

If you like us are passionate user of ReSharper you know that ReSharper "did not like" when a class' namespace did not correspond to the directory structure the file belongs to. To illustrat...

Code Refactoring in VS.NET 2005

DevX: .NET Feed, April 13, 2007
Views: 1,994 | Hits 101

Find out how to use VS.NET 2005's Refactoring engine to improve the structure and readability of your C# source code while preserving its functionality....

Code. Just Code. JustCode.

the telerik blogs, November 18, 2009
Views: 1,985 | Hits 20

It's my pleasure to announce the youngest member of the Telerik product family - JustCode, a code analysis and refactoring tool. Actually "youngest" is not the most correct word to use because JustC...

Naming Anonymous Types with Generate from Usage

Did it with .NET, October 24, 2009
Views: 1,981 | Hits 57

Now that Visual Studio 2010 Beta 2 is finally out the door, Ive had a bit more time to spend coding on some of my personal projects. Yesterday, I happened upon a cool trick while using ...

MarkaBoo Spotted on Planet Ajaxian

XML-BLOG, June 17, 2006
Views: 1,968 | Hits 84

Wow, only two days after its beta debut MarkaBoo gets a mention on Planet Ajaxian courtesy of Emily Chang. I guess I’d better get started on that refactoring effort! ;) One of the things I enjoy...

MarkaBoo 0.7.3 - Exports, Syntax Highlighting

XML-BLOG, July 9, 2006
Views: 1,961 | Hits 114

Lots of goodies in this new release. Here’s a rundown: Bookmark exporting By popular demand, we’ve added the ability to export your bookmarks in browser-friendly format. Clicking on the...

A Gentle Introduction to Mocking

K. Scott Allen, April 18, 2008
Views: 1,944 | Hits 73

At the last CMAP Code Camp I did a "code-only" presentation entitled "A Gentle Introduction to Mocking". We wrote down some requirements, opened Visual Studio, and started writing unit tests. Matt...

TFS vNext

MrDaves (David Yack) Blog!, March 4, 2006
Views: 1,931 | Hits 27

As the RTM of Team System gets closer and closer Brian Harry posted about Team System and the Future.  A small but important comment in that post is Team System entered “escrow”. ...