---
title: "What's IoC good for, Really?"
url: "https://osherove.com/blog/2007/10/25/whats-ioc-good-for-really.md"
canonical: "https://osherove.com/blog/2007/10/25/whats-ioc-good-for-really.html"
published: "2007-10-25T05:12:51"
updated: "2007-10-25T05:12:51"
tags: [".NET", ".Net 2.0", "Architecture", "altnet", "altnetconf"]
author: "Roy Osherove"
description: "Oren has one of the best one liners about the benefits of Inversion Of Control Containers in a project in this post : \"Other people on my team keep adding components, and they aren't even aware that they have IoC there.…"
usage: "Licensed under CC BY 4.0 — reuse, quote and adapt with attribution (Roy Osherove, link to the original page)."
license: "https://creativecommons.org/licenses/by/4.0/"
---

# What's IoC good for, Really?

By Roy Osherove October 25, 2007 In [.NET](https://osherove.com/blog/category/net), [.Net 2.0](https://osherove.com/blog/category/net-2-0), [Architecture](https://osherove.com/blog/category/architecture), [altnet](https://osherove.com/blog/category/altnet), [altnetconf](https://osherove.com/blog/category/altnetconf)

**Historical article** · Originally published October 25, 2007; technical details may be outdated.

Oren has one of the best one liners about the benefits of [Inversion Of Control](http://martinfowler.com/articles/injection.html) Containers in a project [in this post](http://www.ayende.com/Blog/archive/2007/10/20/Dependency-Injection-doesnt-cut-it-anymore.aspx):

"Other people on my team keep adding components, and they aren't even aware that they have IoC there. **They just know that if they put the IFooService in the ctor, they will get it when the code is running**. And if they add IBarService and BarServiceImpl, they will be available to any component that uses them."

[Here's a quick "Getting Started"](http://castleproject.org/container/gettingstarted/part1/index.html) if you've never seen this before, using the Castle Windsor Container Framework for .NET.

## More in .NET

[All posts in .NET](https://osherove.com/blog/category/net)

- Nov 15, 2007

    ### [Free MS Press books for a 5 minute screencast](https://osherove.com/blog/2007/11/15/free-ms-press-books-for-a-5-minute-screencast.html)

- Nov 14, 2007

    ### [Cool demo of Visual Web GUI](https://osherove.com/blog/2007/11/14/cool-demo-of-visual-web-gui.html)

- Oct 23, 2007

    ### [Dave Platt In Israel - CAB Fans Prepare yourself](https://osherove.com/blog/2007/10/23/dave-platt-in-israel-cab-fans-prepare-yourself.html)

- Oct 21, 2007

    ### [The ALT.NET Mailing list is a great place to have a conversation](https://osherove.com/blog/2007/10/21/the-altnet-mailing-list-is-a-great-place-to-have-a-conversat.html)


---

## About the author

**Roy Osherove**: Senior Solutions Architect at AWS working on AI for production and AI-driven development; author of The Art of Unit Testing and Elastic Leadership, with about 20 years of consulting and training on unit testing, TDD, team leadership and continuous delivery.

### Sites

- [RobotPaper](https://robotpaper.ai/): This blog: AI patterns and anti-patterns, AI and coding agents, and engineering leadership.
- [osherove.com](https://osherove.com): Roy's personal site. Author of The Art of Unit Testing and Elastic Leadership; consulting and training on unit testing, TDD, team leadership and continuous delivery, plus about 20 years of blog posts.
- [The Art of Unit Testing](https://www.artofunittesting.com): The Art of Unit Testing, 3rd Edition (Manning): readable, maintainable, trustworthy unit tests, plus TDD workshops in C#, JavaScript, Java and Kotlin.
- [5whys.com](https://www.5whys.com): Roy's writing on software team leadership: self-organizing teams, surviving chaos, learning mode and the Elastic Leadership model.
- [Pipeline Driven](https://pipelinedriven.org): Continuous delivery and DevOps practices: build patterns, pipeline-friendly testing, DevOps metrics and enterprise DevOps.
- [Elastic Leadership](https://www.elasticleadership.com): Elastic Leadership, Roy's framework for software team leaders (survival, learning and self-organizing modes).

### Social

- X: https://x.com/royosherove
- LinkedIn: https://www.linkedin.com/in/osherove/

### Contact

- Contact form: https://forms.gle/jQSx5KoXvrVA1JCK7

### License

Licensed under CC BY 4.0 — reuse, quote and adapt with attribution (Roy Osherove, link to the original page). License: https://creativecommons.org/licenses/by/4.0/
