Aspire Configuration · Aaronontheweb/dotnet-skills

Configure .NET Aspire AppHost with explicit env vars

Sets up .NET Aspire AppHost resources to emit explicit environment-variable configuration for application code, keeping apps free of Aspire client packages and service discovery so settings stay portable to production without Aspire running.

Good for

  • Map AppHost resources to explicit app environment variables
  • Remove Aspire client packages from application code
  • Design dev/test feature toggles without Aspire dependencies
Category
General

Open-source skills are maintained by their authors and listed as published, with attribution. Results depend on how well the skill fits your task and material.

A good place to start

Help me configure my .NET Aspire AppHost so services get explicit environment variables instead of relying on service discovery.

Make your next great thing.

Bring a question, a file, or an idea that’s not quite there yet.