This is a bit confusing because when we refer to the Singletons in DI terminology , we do not mean the same thing as the Singleton design template .
Basically, Singleton Lifestyle behaves like a (template) Singleton inside the same container , but if you create and use it from a new container instance, you will get another instance.
We can say that Singleton Lifetime is a locally bounded Singleton.
To generalize the use of the container, you do not need a Singleton container, but to use Singleton Lifestyle you need an instance with one container .
To make things more confusing, in Unity, Singleton's lifestyle is called ContainerControlledLifetimeManager ...
source share