Checkpoint: Layered Configuration
Challenge on lesson: Checkpoint โ The Layered Config Engine
CHALLENGE
Difficulty: intermediate+25 XP
Implement the config engine described in the checkpoint:
``csharp
static string? GetJson(string json, string key); // "Section:Key"
static string? GetLayered(Solution.MemoryConfig file, string envPrefix, string key);
static Solution.RetryOptions BindRetry(Solution.IConfigProvider config);
static void Validate(Solution.RetryOptions options);
static string Require(Solution.IConfigProvider config, string key);
``
Press Submit to check your solution.
Back to lesson: Checkpoint โ The Layered Config Engine