Using Unity Application block how can you force the Unity configuration to create a new instance of an object when we call the UnityContainer.Resolve<T>() method in WCF context?
Using Unity Application block how can you force the Unity configuration to create a
Share
Lifetime Manager in
Unityis all what you need. By default, Unity useTransientLifetimeManager:If you need to use another lifetime manager, just specify in
Registermethod: