You are previewing Dependency Injection in .NET.

Dependency Injection in .NET

Cover of Dependency Injection in .NET by Mark Seemann Published by Manning Publications
O'Reilly logo

Chapter 12. Spring.NET


  • Introducing Spring.NET
  • Managing lifetime
  • Working with multiple components
  • Configuring difficult APIs

In the previous chapters, you saw how to map the principles and patterns from parts 13 to Castle Windsor and StructureMap. In this chapter, we’ll do the same with the Spring.NET DI CONTAINER.

Together with Castle Windsor and StructureMap, Spring.NET belongs to the set of “first generation” DI CONTAINERS on .NET. It appeared in 2006, and even today it still offers basic support for .NET 1.1. It’s a port of the Java version of the Spring Framework, which is a big and comprehensive application framework that addresses many different aspects of software—not only OBJECT COMPOSITION. The DI CONTAINER is one of the ...

The best content for your career. Discover unlimited learning on demand for around $1/day.