Skip to content

1. Introduction

The PDF of the document is available |HERE|.

The examples in this document are |HERE|.

Purpose of this document:


The ideas presented in this document are based on a book I read in the summer of 2004, a magnificent work by Rod Johnson: J2EE Development without EJB, published by Wrox.


A Spring IoC document for Java has already been written [https://stahe.github.io/en-java-spring-dec-2015/course-introduction-to-the-spring-framework.html]. This document covers the same content but adapts it to the .NET platform. The .NET language used for the examples is VB.NET.

Spring.net is currently only at version 0.6 RC3 (April 2005). See the appendix for where to find it. Since Spring.net is still under development, only some of the features of Spring/Java have been ported so far, but these are the ones that form the core of Spring: inversion of control (IoC) and aspect-oriented programming (AOP). We present here only the concept of inversion of control.

It is possible that some of the technical details presented here may change in the future. The value of Spring lies not in these technical details but rather in its philosophy. It is this philosophy that the reader is invited to discover.

The practical section of this document provides several examples. They use NUnit test classes. These are the .NET equivalent of Java’s JUnit test classes. In the appendix, you will find where to obtain [NUnit] and how to install it.