http://www.hanselman.com/blog/ListOfNETDependencyInjectionContainersIOC.aspx
I‘m trying to expand my mind around dependency injection in .NET (beyond the two frameworks I‘ve personally used) and an starting to put together a list of .NET Dependency Injection Containers and IOC resources.
Here‘s what I‘ve got so far. What am I missing?
- Castle Windsor based on the Castle MicroKernel.
- 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.
- 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
- Puzzle.NFactory
- 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.
- PicoContainer.NET
- LinFu
- Hacked DIY (Do It Yourself)
- There are many examples of quicky IOC Containers. Interesting for learning but little else.
What projects have I forgotten? Thanks!
[LINK]List of .NET Dependency Injection Containers (IOC)
原文:http://www.cnblogs.com/rock_chen/p/4348715.html