Monthly Archives: April 2010

Adding Request / Reply To The Application Controller

Back in December of 2009 I had a post on using various messaging patterns within an application controller as part of an application’s architecture. One of the patterns that I distinctly left out was request/reply. At the time I had … Continue reading 

Posted in .NET, Analysis and Design, AppController, C#, Compact Framework, CQRS, Design Patterns, Messaging, Pragmatism, Principles and Patterns | 4 Comments

Help! I’m Terrible At Migrating/Restructuring Code In A Test-First Manner

I’ve spent the last day or so restructuring some code – specifically converting a WinForms form into a user control so that I can host the control in several different forms that need it. This involves changing the presenter for … Continue reading 

Posted in AntiPatterns, Continuous Improvement, Craftsmanship, Model-View-Presenter, Philosophy of Software, Pragmatism, Unit Testing | 11 Comments

Anonymous Types In C# Are A Crippled Hack

I’ve been learning a bit of Java recently, reading Unlocking Android and playing with the Android SDK to try and learn how to write apps for my Droid. I have known, intellectually, about some of the key differences between .NET … Continue reading 

Posted in .NET, Android, C#, Java | 38 Comments

Compact Framework: Global Hotkeys

A long time ago, in a galaxy far far away… well… back when I worked in VB.NET up in Dallas… I wrote a little hot key class for compact framework apps and posted a little bit on how to use … Continue reading 

Posted in .NET, C#, Compact Framework | Leave a comment

Coupling Is Your Friend

My SOLID article in Code Magazine talks about the concept of coupling as one of the object oriented principles that we are striving to get right. “Coupling is not inherently evil. If you don’t have some amount of coupling, your … Continue reading 

Posted in .NET, AntiPatterns, AppController, C#, Principles and Patterns, Workflow | 2 Comments

CLOSED: Want To Work From Home, Doing .NET Development? Read This!

UPDATE: This job posting is closed. Thanks to everyone who read this and responded by submitting a resume! We had more tremendously talented applications for the position than we could handle. :) ————— TrackAbout, Inc – the company that I’ve … Continue reading 

Posted in .NET, C# | 18 Comments

Revisiting The TypeSafeDataReader: A Full Decorator With Ordinal Caching, etc.

In my previous post on this subject, several people mentioned changing the type safe methods for my data reader class into extension methods on IDataReader. I had planned on doing this, but then I ran into a situation where I … Continue reading 

Posted in .NET, C#, Data Access, Design Patterns | 2 Comments

Branching Strategies: Handling Dependencies Between Branches

Every system evolves over times. There’s no way around this and there is no reasonable/certain/real way to think ahead 100% of the time. It’s simply not possible to predict every possible outcome or issue or situation. This change affects every … Continue reading 

Posted in Branch-Per-Feature, Branching Strategies, Principles and Patterns, Source Control | 3 Comments

Red For The Right Reason: Fail By Assertion, Not By Anything Else

Thomas Weller commented on my Red/Green/Refactor For The Right Reasons post and asked me to explain why I don’t think a throwing a NotImplementedException is a good reason for a test to be red. It’s a good question, one that … Continue reading 

Posted in .NET, C#, Principles and Patterns, Test Automation, Unit Testing | 14 Comments

Git+SVN: Script To Do “Svn Up” And “Git Commit” With Svn Revision Number

I’ve been using Git+SVN for a while now, and I really like what it does for me. What I don’t like is the constant repetition of the same command to update from svn into my local git branch, over and … Continue reading 

Posted in Git, Source Control, Subversion | 1 Comment