O'Reilly logo

Dependency Injection in .NET by Mark Seemann

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 10. Castle Windsor

Menu

  • Introducing Castle Windsor
  • Managing lifetime
  • Working with multiple components
  • Configuring difficult APIs

In the previous nine chapters, we discussed patterns and principles that apply to DI in general, but, apart from a few examples, we have yet to take a detailed look at how to apply them using any particular DI CONTAINER. In this chapter, you’ll see how these overall patterns map to Castle Windsor; you’ll need to be familiar with the material from the previous chapters to fully benefit from this.

Castle Windsor is the second-oldest DI CONTAINER for .NET. It’s part of a larger open source project known as the Castle Project[1] that provides reusable libraries for many purposes. Windsor is the DI CONTAINER ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required