best practices

A 9-post collection

String.Empty Versus ""

If you've been in the .NET world for any length of time, you'll eventually come across someone who claims String.Empty performs better than "". I was always skeptical of this »

A Shared Development Database is Bad...Very Bad

The software development group at my office has a shared database that developers connect to for their daily work. In the last few months, the number of developers has doubled, »

Code This, Not That - Specflow Edition

In 2007 a different kind of diet book was published that took a concise approach to making the right food choices. Readers of the book were presented with good and »

Lessons from 2014

2014 has been a fantastic year for me professionally. I spent the majority of the year working on a green field project with a great group of co-workers. I was »

Overusing Generics in .NET

Generic types were a great addition to C# 2.0, but they are occasionally overused. There are times where calling object.GetType() or passing the type as an argument are »

Lessons from the Past Year

As 2012 comes to a close, it's time to look back on some of the things I've learned. During the past year, my focus has been on enterprise service development, »

Ditch the Grids and Use DockPanels

I have worked extensively with WinForms and WPF/Silverlight and noticed that docking/dock panels are not used that often.  At least this is the case where I work. »

Executing Actions Before and After Code Blocks with IDisposable

I ran into a scenario this week where a boolean field was being flipped temporarily to modify behavior elsewhere while a block of code was executing.  I have seen »

The Best Design Patterns

The first time I read the Gang of Four Design Patterns book, I was impressed, no blown away, by the brilliance of what I was reading.  The Visitor pattern utilizing »