I know this has probably been asked before but I can't seem to find the right answer for me.
I have a windows service named foobar.exe. I have an application configuration file named foobar.exe.config in the same folder.
Is the config file only read at startup?
I would like to make changes to the config file without having to restart the service but that is the only way I can get the new settings read.
What am I doing wrong?
Can a windows service have a dynamic config file?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…