A developer reviews a secure software workflow, with connected database, code, and verification icons displayed around his monitor.
Every software team eventually hits the same onboarding wall. You sit down to spin up a new service, ask Slack or Teams where the approved starter template lives, and receive a reply pointing to a wiki page last edited during the Carter administration—or at least back in 2023. Does that template already wire up CI/CD, internal telemetry, and deployment? And where do the custom rules live that stop your AI coding agent from hallucinating your company's architecture?

Microsoft thinks the answer belongs in Git, not in a forgotten SharePoint folder. On December 3, 2026, Principal Software Engineer James Newton-King published a deep dive on Microsoft's Aspire blog detailing configuration sources in Aspire 17—a feature introduced with the Aspire 17.0 release on November 18, 2026, that lets platform engineering teams publish a team-wide "paved path" through a single Git-hosted aspire.config.json file. Rather than chasing down wiki links, developers get prompted with their organization's templates, private NuGet integration feeds, and coding-agent skills the moment they run aspire new or aspire init.

It is a pragmatic shift for.NET and polyglot cloud-native shops running on Windows and beyond. Still, handing a remote Git repository the keys to project templates and AI agent plugins carries real supply-chain weight, and IT administrators need to understand both what this mechanism automates and what it deliberately refuses to enforce.

A developer reviews a secure software workflow, with connected database, code, and verification icons displayed around his monitor. Moving Beyond the Wiki: How Configuration Sources Work​

Starting in Aspire 13.2, Microsoft consolidated project-scoped CLI configuration into a rooted aspire.config.json file, replacing the older .aspire/settings.json layout. Aspire 17 builds directly on that foundation. A configuration source is simply a Git repository—private or public—containing an aspire.config.json file at its root or in a designated subdirectory.

When a developer's environment points to that repository and they create or initialize an application, the Aspire CLI fetches the shared configuration using the developer's existing Git credentials. After displaying the source details, an optional documentation link, and a mandatory security warning, the CLI asks whether the developer wants to adopt those defaults.

A shared aspire.config.json supports three modular sections, and teams can include only the pieces they actually want to standardize:

Configuration SectionWhat It SuppliesWhere It Appears in AspirePersisted in App's Local Config?
templateSourcesGit repositories or local directories holding project templatesInteractive aspire new template pickerNo (discovery only during creation)
integrationSourcesPrivate NuGet feeds or local directories (with optional package-ID patterns)aspire add alongside built-in sourcesYes
skillSourcesAI agent plugin marketplaces and OpenCode skill catalogsaspire agent init for supported agentsYes

Two architectural details here stand out for platform teams. First, templateSources are only surfaced interactively during aspire new when ASPIRE_INIT_SOURCE_URL is explicitly configured and accepted; they are not copied into the generated project's aspire.config.json. Second, the coding-agent workflow itself matured in Aspire 17. As developer commentary on the NimblePros blog and Aspire's own release notes point out, earlier versions dropped static Markdown skill files straight into project repositories—leaving teams wondering which files to commit or update. In Aspire 17, aspire agent init registers team skill sources inside the coding agent's native plugin or skill system—supporting tools such as GitHub Copilot, Claude Code, and OpenCode—so guidance updates flow through the agent's own harness rather than stale repository copies.

Walking the Paved Path: Creating, Adopting, and Refreshing Apps​

How does this look in day-to-day engineering? Microsoft splits the lifecycle cleanly between greenfield projects, existing apps, and ongoing maintenance.

Starting Fresh with aspire new and aspire init​

When a configuration source is exposed in the shell environment, running aspire new or aspire init pauses to ask for consent before applying anything. If a developer accepts:

  • Templates from templateSources appear inside the interactive aspire new picker alongside global sources (though if a global source shares the same name case-insensitively, the global definition wins).
  • Hosting integrations from integrationSources become searchable via aspire add, while Aspire's built-in feeds stay active unless explicitly overridden.
  • Agent skills from skillSources can be wired up via aspire agent init, letting the selected coding agent fetch the team's conventions on its own terms.

In automated CI pipelines or scripted setups where interactive prompts are impossible, developers or scripts must pass --use-config-source (or --use-config-source true) to accept, or --use-config-source false to decline and record an app-local opt-out.

Bringing Legacy Apps Onto the Path vs. Refreshing Bindings​

Existing Aspire solutions aren't left behind, though one subtle flag distinction in the Aspire 17 CLI is easy to trip over. According to Microsoft's aspire update command reference, adopting a source for the first time on an existing app and refreshing an already-bound app use two different flags:

  • To opt an existing, unbound app into a configuration source: Run aspire update --use-config-source. This runs a standard project update while adopting the offered source. If that app previously declined a source, developers must first remove the configSource block from its local aspire.config.json—leaving other settings untouched—before running the command.
  • To pull updates from a source an app already trusts: Run aspire update --config-source (adding --yes in non-interactive sessions).

Understanding what aspire update --config-source does—and does not do—prevents nasty merge surprises. When a bound source supplies skillSources or integrationSources, refreshing replaces the corresponding local section wholesale, wiping out any local edits or omitted entries. Sections omitted by the remote source leave local values intact. Just as importantly, refreshing updates only the app's aspire.config.json metadata: it does not update the Aspire CLI, bump SDK or NuGet package versions, regenerate templates, or automatically re-register plugins inside your AI agent. Always inspect the Git diff before committing.

Opting Out Without Nuking Your Project​

Once accepted, Aspire writes a configSource binding into the app's local aspire.config.json tracking the repository, path, ref, and appliedVersion (the Git blob ID of the last applied config file, used for change detection rather than cryptographic verification). Should a team outgrow the shared defaults, replacing the configSource property with an opt-out flag halts future update checks without uninstalling plugins, deleting NuGet mappings, or altering generated code:

Code:
{
  "configSource": {
    "optOut": true
  }
}

Rolling It Out Across Windows and Enterprise Fleets​

For platform and IT administrators, testing a configuration source takes seconds, while enterprise distribution plugs directly into existing endpoint management.

Before pushing anything fleet-wide, platform engineers can validate a repository locally in PowerShell:

Code:
$env:ASPIRE_INIT_SOURCE_URL = 'https://github.com/contoso/aspire-config.git'
$env:ASPIRE_INIT_SOURCE_PATH = 'teams/platform/aspire.config.json'
$env:ASPIRE_INIT_SOURCE_REF = '0123456789abcdef0123456789abcdef01234567'
$env:ASPIRE_INIT_SOURCE_README_URL = 'https://engineering.contoso.com/aspire'
aspire new

Because PowerShell $env: assignments vanish when the terminal closes, Microsoft's official documentation outlines four environment variables designed for persistent rollout across workstations:

  • ASPIRE_INIT_SOURCE_URL: The Git repository URL (HTTPS, SSH, or SCP-style SSH) or an absolute local Git repository path. Note that file:// URLs and relative paths are unsupported, and raw URLs pointing directly to a JSON file will fail. By default, Aspire configures no source unless it detects an internal Microsoft employee environment—though an explicit URL always takes precedence.
  • ASPIRE_INIT_SOURCE_PATH: Optional repository-relative path using forward slashes (/) if aspire.config.json sits in a subdirectory.
  • ASPIRE_INIT_SOURCE_REF: Optional branch name or full 40-character Git commit SHA.
  • ASPIRE_INIT_SOURCE_README_URL: Optional HTTP or HTTPS URL to an internal onboarding or security page displayed before the developer accepts.

On Windows fleets, IT administrators can push these variables using Microsoft Intune or Group Policy, mirroring Jamf on macOS, Ansible on Linux, or cross-platform developer onboarding scripts. Make sure both new terminal sessions and IDEs (like Visual Studio and VS Code) inherit the updated environment. Keep in mind that Aspire 17 itself sets .NET 10 as its minimum supported.NET version for the tooling, even though orchestrated workloads inside the AppHost do not all have to retarget immediately.

The Security Reality Check: Defaults Are Not Policies​

Here is where seasoned IT pros and security architects need to pay close attention. Configuration sources are recommended defaults, not enforced organizational policy.

Let's examine what that boundary means in practice:

  • Developers hold the veto: Pushing ASPIRE_INIT_SOURCE_URL via Intune does not silently apply anything, nor does it overwrite existing apps. Developers can decline the source, edit local settings afterward, and keep using public NuGet or built-in templates unless separate network or NuGet policies restrict them. It is not an administrative allowlist.
  • No silent trust bypasses: Because project templates and agent plugins can execute arbitrary code on developer machines—and skill files directly steer what an AI coding assistant builds—the CLI displays an explicit warning: "Only use sources you trust. Content from these sources can run code on your machine." Crucially, passing --yes or --use-config-source will not suppress that warning.
  • Pin every layer to full commit IDs: A branch name like main or a mutable Git tag is not a supply-chain pin. Microsoft's security guidance advises pinning ASPIRE_INIT_SOURCE_REF, skillSources.<name>.ref, and templateSources.<name>.ref to reviewed, full commit SHAs. Treat write permissions on all referenced repositories—configuration, templates, and agent skills alike—as code-publishing authority, guarded by branch protection, mandatory peer reviews, and restrictions against force pushes.
  • Watch the NuGet blind spot: Even inside integrationSources, a NuGet feed URL and package-ID pattern (such as Contoso.Hosting.*) only narrow package discovery. They do not verify package integrity or prove publisher trust. Organizations still need standard NuGet source mapping, signed-package verification, and restore controls.
  • Keep credentials out of JSON: Never embed tokens or passwords in ASPIRE_INIT_SOURCE_URL or aspire.config.json. Host internal configuration sources in private, authenticated Git repositories and rely on local Git credential helpers interactively—or preconfigured credentials for headless CI agents. Also avoid declaring a configSource block inside the shared repository file itself, as recursive configuration sources are not supported.

A Smart Foundation—With Eyes Open​

Aspire 17 marks the moment Microsoft's cloud-native orchestrator stops behaving purely like a local developer convenience and starts acting like an enterprise platform-engineering layer. Alongside its resource-first dashboard, stable Kubernetes/AKS hosting packages, and preview system-tray companion (aspire tray start), Git-backed configuration sources solve a genuinely annoying human problem: keeping developer tooling, internal integrations, and AI coding agents aligned without relying on tribal knowledge.

For Windows and.NET teams tired of pasting two-year-old onboarding links into team chat, publishing a locked-down, commit-pinned aspire.config.json—backed by an Intune-delivered environment variable and a clear internal README—is one of the cleanest low-friction upgrades in Aspire 17. Just remember that a paved path only stays safe if someone is actually guarding the asphalt.


Correction (December 3, 2026): An earlier version of this article listed Codex among the coding agents supported by aspire agent init. Microsoft documents support for GitHub Copilot, Claude Code, and OpenCode only, and the article has been updated to remove Codex. Stray link markup in the PowerShell sample has also been removed so the example URLs can be copied as shown.

 

References

  1. Give your team a paved path with Aspire configuration sources Aspire Blog 2026-12-03T18:00:00+00:00
  2. Configuration sources | Aspire aspire.dev
  3. Configuration sources | Aspire aspire.dev