As I understand your question, you want to read the path from AppSetting and then programmatically configure your UnityContainer.
This can be done as follows:
// Get path from app.config via ConfigurationManager.AppSettings var container = new UnityContainer(); container.RegisterType<IService, Service>(new InjectionConstructor(path));
source share