您的位置:首页 > 大数据 > 人工智能

List of .NET Dependency Injection Containers (IOC)

2008-04-03 09:53 495 查看
http://www.hanselman.com/blog/ListOfNETDependencyInjectionContainersIOC.aspx

Castle Windsorbased on the Castle MicroKernel.

Licensed under Apache 2
Currently 1.0 RC3
Well documented and used by many.

StructureMaphas 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

Autofacintends 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

Ninjectformerly "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

IOC and Unity compared to other containers
Introduction to using StructureMap for Dependency Injection
Screencast: Unity and Dependency Injection
Dependency Injection with Spring.NET
Context Variables in Ninject
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐