App.config in Window service

I am in the process of designing a Windows Service, Where i have App.config. When the service is running i am not able to change the config values. But those values are not getting reflected. when it reades next time.

Is it manadatory to restart service eveyr time we change config values?

Do you have any suggestion how we can do this with out implementing some kind of file watch ?


You can reload configuration programatically with Reload():


Category:c# Time:2010-04-21 Views:0

Related post

Copyright (C), All Rights Reserved.

processed in 0.249 (s). 13 q(s)