MEF(Managed Extensibility Framework)依赖注入学习

MSDN官方资料,并且微软还提供了SimpleCalculator sample学习样例

http://msdn.microsoft.com/en-us/library/dd460648(v=vs.110).aspx

https://mef.codeplex.com/

博友文章

http://www.cnblogs.com/Mainz/archive/2011/04/27/2030701.html

 

Ten Reasons to use the Managed Extensibility Framework

Reason One: It's out of the box.

Reason Two: Dependency injection and inversion of control.

Reason Three: Lifetime management.

Reason Four: Configuration.

Reason Five: Factories with dependency resolution.

Reason Six: ImportMany.

Reason Seven: Strongly typed Metadata.

Reason Eight: Extensibility.

Reason Nine: Modularity.

Reason Ten: Customization.

上一篇:javascript显示倒计时控制按钮


下一篇:web.xml配置详解 (及配置作用 )