Inversion of Control

Even though topics on Inversion of Control have been done to death.
I want to revisit the subject to talk about the use of interfaces in inversion of control.

I think Interfaces should be used to isolate all dependencies on the outside world, not just databases.
When doing something with WCF. The client side service calls should also be using IOC so they can be isolated and the client side as a unit can be tested.

Inversion of Control

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