Where to store editable configuration settings

I am creating a small cms system in MVC.NET and I have some editable variables for storage. Footer information, website name, etc. These are global variables, so they should be declared only once. They should be editable in cms.

Where can I store them? Isn't it so stupid to create a table for them, there they occupy only one record per variable, and the variable keys must be fixed because they are used in the code.

Thanks for every reply.

Grtz

+3
source share
3 answers

I would say that the database table is the best.

, , , , , . SQL, MS-SQL. CMS . , .

+3

?

, , , Resx, Culture (Multilanguage!)

+6

, , , .

.

+1

Source: https://habr.com/ru/post/1755500/


All Articles