aspire-configuration

Community

Decouple AppHost config from app code.

AuthorAGIBuild
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill addresses the challenge of managing configuration in .NET Aspire applications, specifically when you need to ensure that application configuration is explicit, portable, and production-ready without embedding Aspire client packages directly into application code.

Core Features & Use Cases

  • Explicit Configuration Mapping: Translates Aspire resource outputs (like database connection strings or service URLs) into explicit environment variables or configuration keys.
  • Decoupled Application Code: Prevents application projects from depending on Aspire client or service discovery packages, promoting cleaner architecture and easier testing.
  • Production Parity: Ensures that configuration injected by the AppHost can be easily replicated in production environments using standard configuration methods (environment variables, config files).
  • Feature Toggles: Facilitates the management of feature toggles and test overrides through configuration, maintaining consistency across development, testing, and production.
  • Use Case: Wire a PostgreSQL database and a MinIO blob storage service defined in your Aspire AppHost to your API project's IOptions<T> configuration, ensuring the API only consumes these settings as standard configuration values.

Quick Start

Use the aspire-configuration skill to map the 'postgres' database resource to the 'ConnectionStrings__Postgres' configuration key in the 'api' project.

Dependency Matrix

Required Modules

None required

Components

references

💻 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: aspire-configuration
Download link: https://github.com/AGIBuild/Agibuild.Fulora/archive/main.zip#aspire-configuration

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.