Appendix. Charts
DI Container feature comparison chart
Feature |
Castle Windsor |
Structure-Map |
Spring .NET |
Autofac |
Unity |
MEF |
CODE AS CONFIGURATION |
X |
X |
|
X |
X |
|
AUTO-REGISTRATION |
X |
X |
|
X |
|
|
XML configuration |
X |
X |
X |
X |
X |
|
Modular configuration |
X |
X |
X |
X |
X |
X |
Custom lifetimes |
X |
X |
|
(X) |
X |
|
Decommissioning |
X |
|
|
X |
(X) |
X |
INTERCEPTION |
X |
|
X |
|
X |
|
(X) = partial support |
Lifestyle Comparison Chart
Lifestyle |
Castle Windsor |
Structure-Map |
Spring .NET |
Autofac |
Unity |
MEF |
SINGLETON |
X |
X |
X |
X |
X |
X |
TRANSIENT |
X |
X |
X |
X |
X |
X |
PER GRAPH |
|
X |
|
|
X |
|
WEB REQUEST CONTEXT |
X |
X |
(X) |
|
(X) |
|
Thread Context |
X |
X |
|
|
X |
|
Session Context |
|
X |
(X) |
|
|
|
POOLED |
X |
|
|
|
|
|
Scoped |
|
|
|
X |
X |
|
Custom |
X |
X |
|
|
X |
|
(X) = partial support |
..................Content has been hidden....................
You can't read the all page of ebook, please click
here login for view all page.