Base solution for your next web application
Open Closed

Understand the Settings Management - AbpSettings vs AppSettingProvider #5967


User avatar
0
sbenfares created

Hi,

Can you explain the difference between the AbpSettings table and AppSettingProvider.

What is the best practice for storing settings ?

I have settings which are in the AppSettingProvider, but i can't see them in the table AbpSettings is it normal ?

Shoulh i put all my settings in the table using AddSettingIfNotExists() or is it ok to store some only in the AppSettingProvider ?

Thanks for the explanation :)

Markdown is supported
Copy & paste or drag & drop images (max 30 MB per image)

1 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @sbenfares,

    SettingProviders defines settings and their default values. AbpSettings table overwrites the default values defined in SettingProviders.

    You can read more about settings here https://aspnetboilerplate.com/Pages/Documents/Setting-Management

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)