Windows Service Configuration

hoops4ever

Newcomer
Joined
Jul 2, 2003
Messages
1
Newbie question -

I want to have a configurable parameters for a service I'm developing. The parameters would hold things such as a DB connection string, or maybe the name of a directory. This file (probably XML, I'd guess) needs to be modifiable on the machine the service is deployed on (ie, not bundled in the service installation itself).

My question is: what is the best way to do this? I don't really want to use the registry. Restarting the service after an update to the config file is fine.

Anybody have any examples / samples / articles / web sites to point me in the right direction?

Thanks!
 
Back
Top