Null !== Steve

Steve Gentile's Tech Blog – Thoughts and Musings

Archive for the category “Unity”

Inversion of Control: Unity with WCF

A friend of mine is starting to use Unity with WCF, and I looked up a rather simple but good set of articles on Unity with WCF:

1. Integrating Unity with WCF

2. Unity, WCF, ISS

I’ve personally used Castle Windsor’s WCF facility, but for all intent purposes, they are doing the same thing.

If you aren’t using DI with an IOC, I strongly suggest you learn about it and integrate it into your code.  The benefits are fantastic and help promote good separation of concerns, easier to test your code, etc…

There are plenty of .NET IOC containers available.  Learn more about each below:

Post Navigation

Follow

Get every new post delivered to your Inbox.