Category Archives: Technical

Decouple WCF Services from their DI Container with Common Instance Factory

In my last blog post I introduced the Common Instance Factory, which I built as an alternative to Common Service Locator to reduce coupling between an application and a Dependency Injection (DI) container.  Unlike the Common Service Locator (CSL), the … Continue reading

Posted in Technical | Tagged , | 4 Comments

Use Common Instance Factory to Abstract Away the Dependency Injection Container

Download the Common Instance Factory with WCF Extensions here and is also available on NuGet. A while back I wrote a blog post on the Onion Architecture, an approach to building loosely-coupled applications where you can swap out particular components … Continue reading

Posted in Technical | Tagged , | 3 Comments

Roll Your Own REST-ful WCF Router

Download the code for this post here. Recently I’ve been tasked with building a WCF routing service and faced the choice of whether to go with the built-in router that ships with WCF 4.0, or to build one from scratch.  … Continue reading

Posted in Technical | Tagged | 26 Comments

Ninject WCF Extensions for RESTful Services

Download the code for this post. A while ago I blogged about using Ninject for dependency injection with WCF Services.  The advantage of using DI is that it allows you to achieve loose coupling in your application architecture, so that … Continue reading

Posted in Technical | Tagged , | 7 Comments

SSD + SATA = Best of Both Worlds

Every once and a while I pull something off that makes me smile.  I experienced this sensation last week when I swapped out the DVD drive in my MacBook Pro and replaced it with the 500 GB SATA hard drive … Continue reading

Posted in Personal, Technical | Tagged | 2 Comments

Simple MVVM Toolkit for Silverlight 5.0, Windows Phone 7.1

I’ve just upgraded my Simple MVVM Toolkit to support Silverlight 5.0 and Windows Phone 7.1!  You can download the latest version here and take it for a spin – or get it from the Visual Studio Extensions Gallery by opening … Continue reading

Posted in Technical | Tagged | 21 Comments

Screening C# Candidates: Let’s Play 20 Questions!

Over the past year I was involved in the process of interviewing candidates for both mid and senior level developer positions.  We would bring them in for a face-to-face interview, sometimes with multiple interviewers, only to find out they were … Continue reading

Posted in Technical | Tagged | 45 Comments

OData, Where Art Thou?

Gave a talk last night to the Dallas .NET Developer Group on OData and WCF Data Services. I’ll update this post with some info on the topic, but in the meantime you can download the slides and code for the … Continue reading

Posted in Technical | Tagged , , | Leave a comment

More NLog Goodness

This is a follow-up to my post on Using NLog with Dependency Injection.  There I showed how you can abstract away a specific logging implementation from your application by implementing a common interface and using a DI container, such as … Continue reading

Posted in Technical | Tagged | 1 Comment

Using Ninject with WCF Services

Download the code for this post. Update: This post is based on a older version of Ninject WCF Extensions. For an example of using the new version with REST support, see this post. In my post on the Onion Architecture … Continue reading

Posted in Technical | Tagged , , | 11 Comments