Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC

Activities of "cosmic"

Question

Hi, is it possible to load settings from DB by the SettingManager in the Initialize section of the module? When are the settings loaded from DB?

I have defined custom setting manager in the PreInitialize section of the module

Configuration.Settings.Providers.Add<WebSettingProvider>();

In the Initialize section of the web module I have defined BundleConfig and I need the settings to be accessible in this class, but when I tested this, the result was no settings (see attached image). But if I try to load the settings e.g. in the MVC Controller, everything is OK.

Any ideas? Thank you.

Showing 11 to 11 of 11 entries