In the study, there are a few blogs that have really made it clear
1. IOC mode: http://www.cnblogs.com/qqlin/archive/2012/10/09/2707075.html This blog is based on a player example to illustrate what is dependent, dependency inversion, inversion of control (IOC), Finally, dependency injection is implemented. Implement the IOC container through unity. A good example of this
2. Deep understanding of dip, IOC, DI, and IOC containers
This is the most understandable, manual implementation of the IOC container easy-to-digest
3. Understanding Dependency Injection (IOC) and learning Unity
This is also good, especially the last introduction of very detailed
4. Do you really understand IOC and AOP? This series of articles is a bit difficult, but it's worth a look
5, "ridicule" the IOC past life This article let me really understand the IOC, is indeed easy to understand, but also combined with the factory model and reflection mechanism to expand the IOC, quite recommended
6, Unity series, this series is a detailed introduction of unity Bar, basically covers all aspects
Unity (i): from ObjectBuilder
Unity (ii): What is Unity?
Unity (iii): Quick Start
Unity (iv): Using scene Ⅰ: establishing Type Mappings
Unity (v): Use scene Ⅱ: for singleton mode
Unity (vi): Use scenario Ⅲ: for Dependency Injection (upper) (interface injection)
Unity (vii): Use scenario Ⅲ: for Dependency Injection (bottom) (attribute injection, method injection)
7, read so many unity articles, the total feeling can not find why use this framework, the reason is still not really understand the dependency injection. Unity Analysis This article makes me realize by comparing the previous code.
8. Use in configuration files: http://www.cnblogs.com/goody9807/archive/2010/05/28/1746394.html and http://www.cnblogs.com/sw22225458/ Archive/2008/12/05/1348632.html
9, the following articles are also worth a look
Dive into one of the Unity 1.x dependency Injection containers: Getting Started
Dive into Unity 1.x dependency Injection container two: Initialize Unity
In-depth Unity 1.x Dependency Injection container three: Get the object
Depth of Unity 1.x dependency Injection Container IV: Dependency Injection
In-depth understanding of IOC model and unity framework