Just want to be sure. I host my ServiceStack API under IIS (never done that before) and I wanted to know what happens when someone edit the web.config. Is the AppHost restarts just as it would if it would be self-hosted and the service being stopped and started again?
Also and the most important, I would like to have most of my settings stored from a small LiteDB NoSQL database rather than in the web.config and have an Admin page to allow me to do the changes.
The thing is that I do a lot of things in the AppHost Configure from those settings. I would have redo all the things happening in there when I detect a change of configuration in my database?
I create my config at the start with db settings and use container.Register(config); so I can injects the settings wherever I need them, but I will need a way to refresh this when db settings are modified. Any clever way to do this?
Thanks for your help.