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

Total posts: 175

Unit Test Boundaries

youve been HAACKED, July 22, 2008

One principle to follow when writing a unit test is that a unit test should ideally not cross boundaries. Michael Feathers takes a harder stance in saying A test is not a unit test if: ...

The Visual Studio Designer does not Respect Assembly Binding Redirection

kbAlertz.com :: Visual Studio 2005, July 13, 2008

955600 ... The Visual Studio Designer does not Respect Assembly Binding RedirectionThis RSS feed provided by kbAlerz.com.Visit kbAlertz.com to subscribe. It's 100% free and you'll be able to reciev...

#region. Sliced bread or sliced worms?

Eric Gunnersons C# Compendium, July 10, 2008

(editors note: Eric gave me several different options to use instead of sliced worms, but they were all less palatable. So to speak.) Jeff Atwood wrote an interesting post on the use of #regions in c...

Building The Lounge - Release 1.1 - Refactoring, Models, SubSonic, and Testing

.Avery Blog, July 10, 2008

This is the first in a series of posts about building The Lounge Advertising Network. My goal here isn't to try and tell people how to build applications, but rather just to explain how I have refact...

Cache Access Pattern Revised

Steven Smith, July 7, 2008

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 Depender - Testability Problem Finder

ISerializable, July 5, 2008

Update: Here's how you can extend Depender with your own dependency rules Depender is a tool that I created to illustrate several concepts both for my book and both for my training classes. I think i...

[ReSharper] Directory name donates namespace Yes or No ?

the telerik blogs, July 4, 2008

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

Refactoring With ReSharper, Some Very Nice C# fixes I often use

peterkellner.net, July 3, 2008

One of the really nice features I enjoy using in Resharper 4.0 is the refactoring that converts inefficient (and unpleasant to read) syntax into nice efficient code. In this post, I'll show some...Th...

Refactoring a PropertyChanged Event Handler

JohnPapa.net, June 26, 2008

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

Visual Studio Smart Tag Expansion Tip

youve been HAACKED, June 23, 2008

I used to find the smart tag really annoying in Visual Studio because it is such a small target to hit with the mouse. Silly me, trying to expand a smart tag with a mouse. When you highlight the ta...

Resharper 4.0 is Released

JohnPapa.net, June 10, 2008

The folks at JetBrains have released Resharper 4.0 and made it available for purchase and download on their web site. The best new feature is the full support for C# 3.0 and LINQ. It has been a lo...

Live Mesh Everywhere: open source and cross-platform

eXtensible mind, June 8, 2008

You have probably read or listened all the (maybe a bit vague) information about the Mesh Operating Environment (MOE): a platform that will allow multiple applications and devices to participate...

Levels of Enthusiasm

Rick Strahls WebLog, June 3, 2008

You ever notice how your level of enthusiasm can vary quite widely during various times of software development? It seems that I go through a number of phases that can vary quite drastically which als...

Smarties 2008 1.9.0 released

ASP.NET Announcements, May 27, 2008

In this release you would find five new commands, few enhancements, and four fixes. The main focus of this release was the sorting features in .Net. Now you can create sortable collections and impleme...

Writing good performance web application for the masses. Twitter FAQ?

Al Pascual, May 22, 2008

I have recently being a twitter user, not proud that I become a user or better said a reader. I have blogged before about twitter, but after forcing myself to use it I have a much better opinion ab...

Resharper 4 Beta Released and Downloaded!

JohnPapa.net, May 22, 2008

I downloaded Resharper 4 beta today. I've been installing several versions of the Resharper 4 EAP as they have been released. Most have been pretty stable over the past month, which makes it no surpri...

Cropper can now work on x64 Windows (and SvnBridge works well)

Jeffrey Palermo, May 17, 2008

I recently tried out Windows Server 2008 x64, and I'm gradually transitioning.  I'm installing all the tools I have on my XP drive, but I won't complete the switch until I've veri...

Cropper can now work on x64 Windows (and SvnBridge works well)

Jeffrey Palermo, May 17, 2008

I recently tried out Windows Server 2008 x64, and I'm gradually transitioning.  I'm installing all the tools I have on my XP drive, but I won't complete the switch until I've veri...

www.RefactorCode.com Released!!!

ASP.NET Announcements, May 10, 2008

Refactoring is a technique to change the existing ugly code and make it beautiful without changing the workings of the code. In short, making the code suck less! Our website RefactorCode is develop...

Mr. President the Programmer

K. Scott Allen, May 8, 2008

Daily Standup Transcription 06 May 2008 1300 Zulu Time In 00:02:34.66 " so, yesterday I continued the refactorafication of some classes. The job isn't easy, but I'm going to work hard and continue th...

Skinning Enhancements

Shaun Walker, May 7, 2008

When it comes to software, a component or service which survives for an extended period of time without substantial refactoring is generally considered to be an anomoly. However, there are cases when ...

Thoughts on being a Solution Architect

Tom Hollanders blog, April 29, 2008

About a year ago I put together a post called Thoughts On Product Management, containing some random musings about my role at the time. The big reason I put together this post was because so few peopl...

My Thoughts and Reflections on the MVP Summit

Chris Love's Official Blog - Professional ASP.NET, April 20, 2008

Thursday afternoon my first Microsoft Global MVP Summit officially came to an end, sadly. But that did not mean the experience ended. Even now I am still in Seattle on Saturday, taking a few moments o...

A Gentle Introduction to Mocking

K. Scott Allen, April 18, 2008

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

Extract Control for ASP.NET in Visual Studio

Steven Smith, April 15, 2008

I've been posting about some feature requests for ASP.NET/Visual Studio, so here's one more in that thread. One nice feature of Blend is the ability to select a chunk of XAML and choose to "Extract U...

Sleep tight, don't let the test bugs bite

Cirrus Minor, April 15, 2008

Awhile ago I asked "who tests the test":" One question I don't hear asked too much is "who tests the tests?" - after all we are writing all this additional code - if we write so many bugs in o...

Refactor Request

Steven Smith, April 2, 2008

Not sure if it's already there, but the folks at DevExpress or JetBrains (or Microsoft, but I don't want to wait for another VS) should have a refactoring for CodeRush/Refactor! or Resharper that will...

Why I Love F#: A Refactoring Tale

Did it with .NET, March 14, 2008

Recently, I was refactoring some trivial F# code, and the results were so elegant that I felt it would be instructive to share them. My tale begins simply with a list of lists... > ...

Objects have dependencies. Methods don't

Jeffrey Palermo, March 11, 2008

There is quite a bit of talk lately about unit testing using the extract method and override, or "inherit & override" method for stubbing out a method for unit testing.  Methods don...

[Cool Tool] Zeta Resource Editor

Laurent Duveau, March 3, 2008

Following my Resource Refactoring Tool post, Uwe pointed me to Zeta Resource Editor. This very nice free win app allows you to easily edit your resx files, each language in the same row! Download li...

[Cool Tool] VS Resource Refactoring Tool

Laurent Duveau, March 2, 2008

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

Linq to Mock: MoQ is born

eXtensible mind, February 21, 2008

(go straight to the snippets if you can't wait ;)) Regardless of whether you use a mocking framework/library or not, as long as you're doing unit testing, you're almost for sure using mocks. Most of...

State Testing vs Interaction Testing

eXtensible mind, February 21, 2008

Highly recommended reading: Fowler's article Mocks aren't Stubs. It's a very clear characterization of the types of so-called Test Doubles (mocks, fakes, stubs, etc.) you can use to aid your unit test...

Beware of typeparamref XML documentation tag

eXtensible mind, February 21, 2008

Most projects use ""Warnings as Errors"" project-level setting together with the ""XML documentation file"" so that you can spot early on which areas of your public APIs are not documented or ...

Free Download: VS 2008 Database Edition Power Tools

Federal Developer Weblog, February 20, 2008

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

VS 2008 C++ refactoring...

Granville Barnett, February 17, 2008

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

Refactor 2008!

Chris Love's Official Blog - Professional ASP.NET, January 24, 2008

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

A Few Interesting Windows Workflow Links

K. Scott Allen, January 21, 2008

Igor emailed me for my thoughts about his SMTP server built with Windows Workflow. A link for the source code is at the bottom of his post. As Igor points out, WF is well suited to solve more than jus...

Beware of typeparamref XML documentation tag

eXtensible mind, January 20, 2008

Most projects use ""Warnings as Errors"" project-level setting together with the ""XML documentation file"" so that you can spot early on which areas of your public APIs are not documented or ...

Refactoring private methods is like...?

ISerializable, January 12, 2008

I'm still struggling away with my book, and was wondering what you thought about this analogy. I am referring to the problem of testing private\public method, and in that regard I refer to the ease o...

Blog 03.04.00 Officially Released!

Shaun Walker, January 8, 2008

Hello Everyone, I just wanted to inform you that the Blog has officially been released and packages have been posted in the the Downloads area. Here are the release notes: BLG-6299 Blog module: Updati...

Twelve Days of Refactor X-Mas are in the Bag

Mark Miller, January 3, 2008

Dustin has wrapped up his excellent Twelve Days of Refactor X-Mas series highlighting refactorings that work with advanced language features in Visual Studio 2008 right now. One of the things I ...

Improve maintainability of ASP.NET databinding

Jeffrey Palermo, January 2, 2008

Most of us (I think) don't have full browser automated testing through Watir or Selenium.  Because of that, even though we have tons of automated NUnit tests, we could still have problem in w...

Twelve Days of Refactor! X-mas, Day Twelve: Extract XML Literal to Resource

Did it with .NET, December 31, 2007

Hello again, X-mas celebrants! I have just one last verse in my carol to make all of your Visual Studio 2008 experiences bright. Don't let your hearts be saddened ...

Twelve Days of Refactor! X-mas, Day Eleven: More Refactoring in XML Literals

Did it with .NET, December 30, 2007

Greetings friends! I bring tidings of comfort and joy! That is, you can rest comfortably and joyously, knowing that you don't have to wait for refactorings that leve...

Refactor! Pro in VS 2008 : Screenscasts & More

The ASPx Blog, December 30, 2007

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

Twelve Days of Refactor! X-mas, Day Ten: Refactoring in XML Literals

Did it with .NET, December 29, 2007

I'm afraid that I have an apology to make. I feel that I've given my Visual Basic friends a raw deal because the verses of my carol thus far have been primarily abo...

I Blinked Again! Dustin's on Day Nine!

Mark Miller, December 28, 2007

Dustin is on day nine of his 12-day series on Refactor! Pro's shipping support for the new language features in Visual Studio 2008, namely C# 3.0 and Visual Basic 9.0. On day six Dustin showed C...

Twelve Days of Refactor! X-mas, Day Nine: Expand Lambda Expression

Did it with .NET, December 28, 2007

Welcome back for more X-mas refactoring fun!There are just four more verses in my carol, but I'll make them count. Refactor! Pro can bless your Visual Studio 200...

Twelve Days of Refactor! X-mas, Day Eight: Bread-and-Butter Refactorings in Query Expressions

Did it with .NET, December 27, 2007

JustinKohnen: @dcampbell: um... Christmas is over dude ;) That was posted on Twitter today when I announced that I was working on this very ...

Product Spotlight