Configuration
Last updated
Was this helpful?
Last updated
Was this helpful?
Structr.Configuration package is intended to simplify work with application settings via mapping to classes to provide strongly typed access to groups of related settings.
Configuration package is available on .
Create settings class.
Configuration services uses different providers to get source settings. For example: JSON and XML file, Database, Consul KV, or something else.
You can create custom settings provider:
And then setup configuration services:
Or you can use one of implemented settings provider from .
Structr.Configuration provides separate services for the and settings.
Also you can the settings members with special attribute.