Serenity integrates with built-in Configuration system of ASP.NET Core.
We also prefer Options pattern where possible, which provides an abstraction of configuration retrieval and from its storage location. This is achieved using the dependency injection pattern.
The configuration for a typical Serene / StartSharp application resides in appsettings.json file by default but it is possible to move some parts or all of it to a database, cloud or any other location.
Here is a sample of configuration classes that are using options pattern:
See documents below on more information about ASP.NET Core configuration and options pattern: