I’ve been spending some time implementing a blog engine as an excuse to spend some quality time with ASP.NET 2.0. I started off by writing code the way I would have using ASP.NET 1.x. Once I got rolling, however, I started using some of the new ASP.NET 2.0 features and something struck me right away: I was refactoring my application.
My .aspx pages and my code separation files got smaller. I wound up using a mix of custom controls, user controls, master pages, and web parts to build smaller, and more understandable abstractions. This is really important, since it is far easier to understand what a specific part of my site is doing without having to wade through reams of irrelevant code.
One thing, however, that I can’t wait to see is a fix for the project reference bug. It was a frustrating experience building my custom control because I couldn’t recompile just the control. I had to run the application before I could see whether it could compile, and this put a significant drag on my productivity. CTRL-SHIFT-B is part of my developer lifestyle :)
1 archived reader comment
stefan demetz (2004-05-17)
.NET refactoring http://dotnetjunkies.com/WebLog/stefandemetz/archive/2004/02/01/6418.aspx