All of us have been involved in Code Refactoring at some stage during our development. How about factoring out the config file.?? Well I stumbled upon this excellent post by Nikhil Kothari where he describes how it is all done!
Also, there is an option that prevents an application restart when an external config file changes. The RestartOnExternalChanges property is by default true, but if you set to false, then changes to that external file won’t cause the application to restart!