microsoft-extensions-configuration
CommunityReliable .NET configuration with options.
Software Engineering#validation#configuration#startup#IValidateOptions#named-options#IOptions#options-binding
AuthorAaronontheweb
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This skill solves the problem of misconfigured .NET applications by enabling strongly-typed options and startup validation.
Core Features & Use Cases
- Basic Options Binding: Bind configuration sections to POCOs for type-safe access.
- Validation at Startup: Use Data Annotations and IValidateOptions for fail-fast validation.
- Complex Rules & Cross-Property Validation: Implement advanced validators that consider multiple settings together.
- Named Options & Post-Configuration: Support multiple named configurations and post-bind adjustments.
Quick Start
Define a settings POCO with a SectionName constant, register options in DI, bind configuration, and enable validation. Then inject IOptions<T> (or IOptionsSnapshot<T>) into your services to consume the validated settings.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: microsoft-extensions-configuration Download link: https://github.com/Aaronontheweb/dotnet-skills/archive/main.zip#microsoft-extensions-configuration Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.