Base solution for your next web application
Open Closed

Read setting from database, not cache #8274


User avatar
0
samara081 created

Hi,

I need to read the lateset value of application setting, but i don't want to read from cash. i used SettingManager.GetSettingValue to get the value, however sometimes it data is outdated as the seeting has been changed from another server.

To solve this, i clread the cashe before getting the vlaue "_cachingAppService.ClearCache" but this needs mentainnace permissin to excute.

Is thier any to read the setting from database, not the cashe?


2 Answer(s)