views:

99

answers:

1

When is the IOC container in the life cycle of an ASP.NET application?

When can I start requesting objects from the container?

+3  A: 

Depending on which container you are talking about (Windsor, StructureMap, Ninject, etc) they are generally available immediately after creation.

You typically create the container in the Application_Start event.

Ben Scheirman