Online Mind Mapping and Brainstorming

Create your own awesome maps

Online Mind Mapping and Brainstorming

Even on the go

with our free apps for iPhone, iPad and Android

Get Started

Already have an account? Log In

IoC containers usage by Mind Map: IoC containers usage
0.0 stars - reviews range from 0 to 5

IoC containers usage

Start

registration

All registration and configuration should happen in one place container.Install

one container instance

Run

Resolve in one place

scoping and releasing

factories for deferred resolve

lifetime layering

zombie objects (memory leaks)

Close

Call at the end of the app (container.Dispose)

gracefully shut down entire container

releases all components (incl. transient)

Development

LEGO analogy has it backwards

When it's OK to use "new"

be tidy and consistent

Container is not a magic wand or replacement for good design

IoC and Service Locator

Be aware of your container's capabilities and utilize them

Testing

registration

container customizations/extensions

validate conventions (not limited to the container)