0
Answer

Using a config file via a Service

Ask a question
Israel Lawson

Israel Lawson

19y
1.6k
1
Hi all, I am converting an existing utility from a console application to a service and have not been able to find any good reference material about how to properly use config files. I currently use one with my console application that is read at startup from my.exe.config and accessed with the System.Configuration.AppSettings method but i cannot figure out how to tell the service where to go look for that configuration data. Any thoughts, reference pointers, etc... will be very helpfull. Thanks, Israel