List of .NET Dependency Injection Containers (IOC)
Posted on 2008-04-03 09:53 AllenWang.NET 阅读(1070) 评论(1) 编辑 收藏 举报
http://www.hanselman.com/blog/ListOfNETDependencyInjectionContainersIOC.aspx
- Castle Windsor based on the Castle MicroKernel.
- Licensed under Apache 2
- Currently 1.0 RC3
- Well documented and used by many.
- StructureMap has been around since June 2004
- Licensed under Apache 2
- Actively developed and approaching v2.5.
- Written by Jeremy D. Miller
- Spring.NET
- Licensed under Apache 2
- Currently 1.1, working on 2.0
- Written by Mark Pollack
- Autofac intends to be IoC with a C# 3.0 flavor, but also supports 2.0.
- Licensed under MIT
- Written by Nicholas Blumhardt and Rinat Abdullin
- Unity
- Licensed as MS-PL
- Recently released
- Written by Chris Tavares.
- Build on the "kernel" of ObjectBuilder:
- ObjectBuilder was formerly MSFT's only public foray into DI/IoC
- Custom PnP License, more restrictive than MS-PL
- Part of the MS PnP group
- Written by Brad Wilson, Peter Provost and Scott Densmore
- Puzzle.NFactory
- Licensed under the Lesser GPL
- Part of the larger Puzzle Framework
- Written by Roger Alsing and Mats Helander
- Ninject formerly "Titan"
- Licensed under Apache 2
- Was quiet, but has recently sprung back to life.
- Written by Nate Kohari
- S2Container.NET on version 1.3.7.
- Port of Java's Seasar2
- PicoContainer.NET
- Port of Java's PicoContainer
- Written by Aslak Hellesøy
- LinFu
- Licensed under Lesser GPL
- Written by Philip Laureano
- Hacked DIY (Do It Yourself)
- There are many examples of quicky IOC Containers. Interesting for learning but little else.
- Oren Eini's IOC in 15 lines and a follow up in Ken Egozi's IOC in 15 lines
Related Links