AppSettings external refresh
I have an external config file for my AppSettings, called ApplicationSettings.sgs.
This file is then in turn, reference in the my web.config as an external file source:
<appSettings file="Assets\Settings\application.sgs" />
However, when making changes to application.sgs, and I refresh my page where the new value should be pulling through, I still get the old value.
I've ensured that I'm refreshing the section, using ConfigurationManager.RefreshSection("appSettings");
but this is also brings back the default value. Is开发者_开发问答 there something a miss in this solution?
Thanks,
Eric
精彩评论