When is the IOC container ready?

When is an IOC container in the ASP.NET application lifecycle?

When can I start requesting objects from the container?

0


source to share


1 answer


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



You usually create a container in the Application_Start event.

+3


source







All Articles