read-configuration
Installation
SKILL.md
Reading Configuration in ABP
When to Use
- Read host configuration during module service registration.
- Inject standard
IConfigurationinto an application service. - Bootstrap configuration when creating an ABP application without a .NET host.
- Understand ABP's extra
appsettings.secrets.jsonconvention.
When Not to Use
- Values changed per user, tenant, or at runtime — use manage-settings-and-features.
- Typed options composition and pre-configuration — use define-application-modules.
- ABP connection-string resolution by database/module/tenant — use configure-connection-strings.
How it works
ABP is fully compatible with Microsoft.Extensions.Configuration; it does not replace the standard provider pipeline. The main ABP difference is convenient access during module initialization and optional bootstrap helpers for applications without an existing host configuration.