Nov 10, 2009 at 5:25 PM

Can I control the lifetime of the objects when using IServiceLocator?  Sometimes I want singletons and sometimes I want to just instantiate a new instance with each GetInstance.

Dec 10, 2009 at 4:01 PM

Whether an returned object is a singleton, transient, thread-static, etc. should be determined by the configuration of the underlying framework. IMO this is not the concern of the IServiceLocator.