Category Archives: Uncategorized

Generating DataContext Proxy Classes With T4 Templates

A while back, my friend and coworker Kris Scott posted an article about using a proxy around DataContext classes to add support for isolation/mocking for testing purposes.  I won’t re-hash the basic idea here, as Kris’ blog entry explains it … Continue reading

Posted in Uncategorized | 3 Comments

Itty Bitty IoC (A C# IoC container in 100 lines)

Since I posted my Teeny Tiny Template parser last week, I figured I’d keep going and post about my Itty Bitty IoC container as well.  I’m not going to attempt to define IoC or Dependency Injection in this blog post, … Continue reading

Posted in Uncategorized | Leave a comment

Teeny Tiny Templates

On my current project, I need to "fill in the blanks" in some text file templates.  It’s nothing we haven’t all done before using a series of string.Replace functions, and they work just fine, but they’re not shiny enough.  Also, … Continue reading

Posted in Uncategorized | Leave a comment

Running the Zune software on low memory machines

So I recently upgraded to the Zune 3.0 firmware/software package, hoping that it would solve a problem I’ve had for a while where I would begin a sync, and it would die at about 5% complete.  It would start off … Continue reading

Posted in Uncategorized | Leave a comment

Linq, Like, Mocks, and Expression Trees

On my current project, we’re using Linq to SQL as our data layer.  Without going into unnecessary detail about the whys and hows of our architecture, I’d like to describe a couple problems we encountered, and how we solved them. … Continue reading

Posted in Uncategorized | 2 Comments

In the name of the suck

I am watching "In the Name of the King" right now… and it’s terrible, just terrible.   Truly awful.  I mean really, really bad.  I’m not saying it’s as bad as "Barbarella" or "Plan 9", but it’s right up there.  I … Continue reading

Posted in Uncategorized | 1 Comment

Resharper, day whatever it is

I just have to say that since installing the "stable" build 804, my Intellisense has gone completely down the drain.  It doesn’t pop up on its own anymore, and I’ve probably hit Ctrl-Space more times in the last week than … Continue reading

Posted in Uncategorized | Leave a comment