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....

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...

Subtext 1.9.5 Release

youve been HAACKED, May 11, 2007
Views: 1,695 | Hits 636

It is with great pleasure and relief that I announce the release of Subtext 1.9.5. Between you and me, Im just happy to get this release out before the kid is born. As with most point releases, this ...

Refactoring Handles Unanticipated Changes

youve been HAACKED, December 4, 2005
Views: 1,892 | Hits 571

Sam Gentile is preaching and I am in the choir. Ive talked about the benefits of unit testing and refactoring in the past, but Sam makes this great point. BDUF makes a huge gamble that all the busine...

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 ...

Added Contstraint Based Expressions To Subsonic

youve been HAACKED, May 23, 2007
Views: 1,473 | Hits 451

NUnit 2.4 introduces a really nice programming model they call Constraint-Based Assert Model. I believe MbUnit 2.4 will also have this. I really like this approach to building asserts because it reads...

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 ...

I Love To Code

youve been HAACKED, December 29, 2008
Views: 1,662 | Hits 428

I was reading Jeff Atwoods latest post, Programming: Love it or Leave it when I came across this part, emphasis mine. Joel implied that good programmers love programming so much theyd do it for no...

Red Gate acquires Lutz Roeder's Reflector

Julia Lerman Blog - Dont Be Iffy..., August 28, 2008
Views: 1,784 | Hits 420

I just happened to discover this as I was setting up my new machine and grabbing Reflector off of the web. It only happened a week ago. There will still be a free community version but Red Gate w...

Practice, Code Exercises, and Code Katas

Steven Smith, August 28, 2009
Views: 2,966 | 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. ...

Cache Access Pattern Revised

Steven Smith, July 7, 2008
Views: 3,449 | 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...

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...

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....

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...

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....

Faster Database Development with SQL Refactor

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

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

Oren Ellenbogen rocked last night about Generics, Delegates and Anonymous Methods.

ISerializable, May 18, 2006
Views: 1,417 | Hits 238

of the C#/C++ users group. Oren Ellenbogen spoke about Advanced usage of Generics, delegates and anonymous methods to a crowd who really wanted to know. The result - a very informative lecture. refact...

Refactoring Databases: The Process

Simple Talk, January 9, 2007
Views: 1,468 | Hits 234

Database refactoring can greatly improve the efficiency of your database code. However, even a seemingly simple database refactoring such as "Move Column" can be tricky to implement correctly in a p...

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...

JetBrains RubyMine provides navigation and refactoring for Javascript

Jeffrey Palermo, February 17, 2009
Views: 1,486 | Hits 215

Working with JQuery in Visual Studio, we don't have all the nice navigation, refactoring, and immediate error visibility we have with C# and ReSharper.  Today I installed RubyMine, a brand new ID...

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!...

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

ISerializable, June 11, 2006
Views: 3,408 | 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 ...

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...

Exclusive: Mark Miller shows off *new* refactoring features for VB 2005

.NET Rocks!, August 5, 2005
Views: 1,747 | Hits 191

The refactoring support for VB 2005 is being supplied by Developer Express Mark Miller, Chief Architect of the IDE Tools Division at Developer Express (he's the guy who designed CodeRush and Refactor!...

Free Refactoring tool for ASP.NET

Brad Abrams, May 9, 2007
Views: 1,208 | Hits 181

I just watched a very cool demo of Refactor! for ASP.NET by Developer Express.  This is a free code refactoring tool includes tons of refactorings that are truly timesavers...  He...

Most Amazing ReFactor Using ReSharper EAP 5.0 Ive Seen!, December 4, 2009
Views: 1,609 | Hits 180

  This one is just to amazing to not blog about.  Ive been a die heart ReSharper user for quite a while and recently have started using their early access versions.  Primarily... This...

[tool] Make Property / Refactoring Plug-in for VS.NET

JonGalloway.ToString(), September 20, 2005
Views: 1,619 | Hits 179

DPack's "Surround With" feature is great, but the "property" function just writes out a template. Since VS2005 will include this feature, it probably won't make it into DPack (http://www.usysware....

VS refactoring tools - 2008 quicker than 2005?

Granville Barnett, December 19, 2007
Views: 3,771 | 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...

Prefactoring - wtf

Darrell Nortons Blog [MVP], October 5, 2005
Views: 1,856 | Hits 176

A new book is available called Prefactoring *. From the summary: "More often than not, developers will stop a large project in the middle of the build stage to rethink and recode the software d...

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,059 | 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 ...

BitLocker To Go

K. Scott Allen, November 2, 2009
Views: 1,765 | Hits 164

I had some data on a Cruzer flash drive I wanted to protect, and I just discovered how easy it use to use BitLocker on a flash drive (thanks to Hanselman, who pointed this out in one sentence at the e...

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...

Resharper 2.0 Released

ScottGus Blog, May 22, 2006
Views: 1,868 | Hits 161

JetBrains has recently shipped Resharper 2.0 -- a Visual Studio add-in that provides a rich set of developer productivity features for C# and ASP.NET developers (including richer refactoring support, ...

Refactoring Tool in VB Editor

Visual Basic IDE Team Blog, April 29, 2005
Views: 1,259 | Hits 158

Refactoring in Visual Basic 2005 In case you havent already heard, last Thursday (4/21) we announced the availability of Refactor! for Visual Basic 2005, a free version of Developer Express Inc.s Refa...

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 Verification

Cyrus Blather, July 2, 2005
Views: 1,929 | Hits 154

I posted a blog post from JavaOne where i stated:  "I did try out several of [Netbean's] refactorings, and was pleased with them for the most part.  However, i tried a rename refactoring th...

TDD makes refactoring easy - level 300

Jeffrey Palermo, April 13, 2006
Views: 1,581 | Hits 149

Here is the main reasoning for this:  TDD states that a unit test is written before a unit of code.  Each unit of code will have a unit test.  When a unit of code needs to be refactored...

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...

Refactor! Pro in VS 2008 : Screenscasts & More

The ASPx Blog, December 30, 2007
Views: 2,361 | 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 ...

Visual Studio 2005 Refactoring is sub-par - level 200

Jeffrey Palermo, December 29, 2005
Views: 1,621 | Hits 140

This is a time that envy VB developers who have access to DevExpress' Refactor tool which is far better than the meager refactoring support available for C# devs in Visual Studio 2005.  There was...

Database Object Name Refactoring with VS 2005 DB Pro - A good name is better than precious ointment.

Federal Developer Weblog, June 20, 2006
Views: 1,468 | Hits 139

"A good name is better than precious ointment." - Old Testament. All I can say is that they must have had some mighty fine ointment back then. As a matter of fact, just the other day as my wife was...

Automatic generation of data-binding interfaces for data context objects

eXtensible mind, September 28, 2007
Views: 1,301 | Hits 137

From the new Clarius Labs release: XamlBinding Custom Tool This custom tool will generate a partial class file implementing INotifyPropertyChange as well as a strongly-typed event for each property de...

Unit testing DotNetNuke Modules

Shaun Walker, June 11, 2007
Views: 1,754 | Hits 135

Yesterday I was reading through the forums and came across this article about UnitTesting DNN Modules. I read the article and then got out VS and tried to get Unti Testing working on my Help project. ...

Unit Testing - Do Repeat Yourself

Karl Seguin [MVP], September 12, 2009
Views: 3,115 | 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...

Refactoring a PropertyChanged Event Handler, June 26, 2008
Views: 2,584 | 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...

DevConnections Keynotes

Steven Smith, November 7, 2006
Views: 1,674 | Hits 118

Scott Guthrie's keynote this morning covered a few ASP.NET AJAX features.  It was impressive to see how quickly he was able to move around during his demo and literally create the sample applicat...

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...

Refactor 2008!

Chris Love's Official Blog - Professional ASP.NET, January 24, 2008
Views: 2,178 | 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...

Exploring Smelly Code

Simple Talk, April 27, 2009
Views: 1,026 | Hits 110

Bad Code Smells are similar in concept to Development-level Antipatterns. They don't describe bad programming aesthetics and you can't sniff them out precisely with code metrics. They describe code in...