Archives - December 2008
Slow Script Loading by FireFox with Cassini
Bertrand just posted about a bug I’d encountered before but never tracked down wherein FireFox (and in particular, FireBug) is extremely slow in loading scripts for a local web site running on Cassini (Dev Web Server). It turns out that the issue has to do with an FF bug trying resolve “localhost...
IFileSystem Dependency Inversion Part 5
The saga began here . Where I left off, I'd managed to create a new class for handling the storage of my creative files, called CreativeFileStore . This method took in an IFileSystem as a parameter to its constructor, which provides two benefits: Testability Flexibility - I can swap between WindowsFileSystem...
IFileSystem Dependency Inversion Part 4
Still working on cleaning up some legacy ASP.NET code. Here's where we are: Part 1 : Define problem and demonstrate IFileSystem basic version Part 2: Spike solution to support saving files in IFileSystem that works in both Amazon S3 and the Windows file system Part 3 : Initial refactoring via TDD of...
IFileSystem Dependency Inversion Part 3
In part one I described the problem. In part two I worked out the details of how to save files in a platform-ignorant way by creating a spike solution. Now I'm looking back at my original ugly method from part one and extracting it into its own class that accepts an IFileSystem instance via constructor...
IFileSystem Dependency Inversion Part 2
In my last post in this IFileSystem series , I described the problem I'm working on of removing a dependency on the System.IO Windows file system in my ASP.NET application. A bit of research on this subject revealed some help on making file uploads testable by ScottHa , but his technique still makes...
Installing Graffiti Extras
I’ve been wanting to add Next/Previous links to my blog’s posts to provide easier navigation for folks who come to the blog and find themselves somewhere in the middle of it. My goal is for the top and/or bottom of each post to have something like this: << Blog Post Title | Blog Post Title...
IFileSystem Dependency Inversion Part 1
In the course of making my software more testable, I’ve attempted to eliminate a dependency on the file system (in this case, via System.IO) by creating an interface, IFileSystem . I just did a quick search for this term and came back with only one C# interface (in the first few results) that matches...
Energy Usage
Rick has an interesting post about his experiences measuring electricity use of various components in his home. I’ve been curious about this myself for some time, but haven’t had the tools or time to track it. I think I’ll pick up one of these usage monitors (like Rick did) and of course...
SEO Tip Move Hidden ASPNET Fields To Bottom of Page
Here’s a quick SEO tip from Teemu (via email) that I’ve been meaning to mention – there’s a new feature in .NET 3.5 SP1 that lets you control where hidden form fields are rendered by ASP.NET. To set it, go into web.config and add the following: < pages renderAllHiddenFieldsAtTopOfForm ="false"...
Func Mousepads
I bought an Alienware laptop a few years ago as sort of a gift to myself after coming back home from Iraq. As it turned out, that computer didn’t actually last very long because of Alienware’s crappy support policy , but it did come with a Func Industries mousepad that I still use to this day. ...
Head First Design Patterns
I picked up Head First Design Patterns a couple of months ago and read it last month. I have to say that this book is totally different from any other software development book I’ve read in the past. Most software books, you probably know, follow a fairly predictable pattern with each chapter...
Personal Goals 2008 Update
My progress bar for 2008’s goals completed is resembling a Windows Vista file transfer dialog in terms of its responsiveness and accuracy. That is, it went to 20% back in January, and there it sat for 11 months until earlier this week when it moved up to 40%. Now it’s pretty much (Not responding...
ASP.NET MVC at DogFood Developers Conference
I gave a presentation a couple of weeks ago at the Columbus Ohio Microsoft Dogfood Developers conference . Danilo, the main organizer of the event, snapped a couple pictures of me during the talk. This was my first time presenting on ASP.NET MVC and I want to definitely thank ScottGu , ScottHa...
CodeMash 2009
The 2009 Conference Season kicks off early in Ohio with CodeMash 3.0 . This is the third year of the event and promises to be a valuable experience with a diverse mixture of software development technologies. This year I’m happy to report that I will be speaking about techniques to improve...



