开发者

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜