I would like to know following 2 things.
I am using outlook 2007 Add in.
- How to read App setting for deployed outlook plugin.
I have used following things for this to read configuration file.
ConfigurationManager.OpenExeConfiguration(Assembly.GetExecutingAssembly().CodeBase.ToLower().Replace("file:///", ""));
Please let me know if you have better way for this.
2.For calling WCF client i need to load all wcf configuration defined in App.config
EndpointAddress endpointAddress = new EndpointAddress(endPoint.Address);
serviceWS = new serviceWS(new BasicHttpBinding(), endpointAddress);
I would like to load all app.config setting for WCF.
3.Also I would like to know if it is possible to change dll.config deployed on machine and reflect those changes in plugin(make sure plugin read dll.config)
Thanks for help