Configurations and variables are used to provide configuration parameters to the web application. You can manage them (add, edit, and delete) from the backend using the :guilabel:`Administration/Configurations` section:
Each configuration has code and name:
Code is used to get the configuration from code.
Configurations consist of variables. Each variable has code, name, value, and position:
The same as for configurations, code is used to get the variable from code.
There is the special DefaultConfigurationManager class that you can use to operate the configurations. It implements the IConfigurationManager interface and it is registered as a service inside the DI, so you can replace it with your own implementation.
This is the usage example:
Also, you can use the
configurationBuilder.AddStorage() extension method: