J
James
I have a service which needs configuration data. I am currently using
userSettings and applicationSettings through VS settings manager. They
are stored in the Service.exe.config file along with the service. I
have an application which manages the service and it communicates via
remoting. I have remoting methods to update the configuration data.
The problem with this is that the service must be running in order to
configure it. But there are some settings which you really should
configure before you run it..
What is the best way to provide configuration data for services? Just
write my own class put it in a common library to read/write values
from registry? Ideally, I would like to keep the VS functionality of
adding settings through the settings editor. The bottom line problem
is I need two applications (one a service) to be able to access the
same configuration data.
Any suggestions?
-jr
userSettings and applicationSettings through VS settings manager. They
are stored in the Service.exe.config file along with the service. I
have an application which manages the service and it communicates via
remoting. I have remoting methods to update the configuration data.
The problem with this is that the service must be running in order to
configure it. But there are some settings which you really should
configure before you run it..
What is the best way to provide configuration data for services? Just
write my own class put it in a common library to read/write values
from registry? Ideally, I would like to keep the VS functionality of
adding settings through the settings editor. The bottom line problem
is I need two applications (one a service) to be able to access the
same configuration data.
Any suggestions?
-jr