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:

Advertisements

One thought on “Inversion of Control: Unity with WCF

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s