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.

Chapter 11. StructureMap

Menu

Introducing StructureMap

Managing lifetime

Working with multiple components

Configuring difficult APIs

In the previous chapter, we looked at the Castle Windsor DI CONTAINER to see how the principles and patterns described in parts 1–3 can be applied. In this chapter, we’ll do exactly the same with another DI CONTAINER: StructureMap.

StructureMap is the oldest DI CONTAINER for .NET—it has been around longer than the others. Despite its age, it’s still being actively developed and has many modern
features, so we should view its age mostly as a testament to its maturity. It’s also one of the most commonly used DI CONTAINERS.[1]

1 Once more I need to stress that there are no scientifically sound statistics about ...

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