You’re ready to create a new app. But where’s the team’s starter template? Does it already include CI and deployment? And where are the skills that teach your coding agent how your team builds apps? You ask in chat. Someone sends a link. The link is from 2023.
Your team might have worked hard to solve all these onboarding problems, but the details are buried in wiki pages that you don’t know about. As the team grows, it gets harder to make sure every developer knows where to start.
With configuration sources in Aspire 17, your platform team can use one file in Git to tell Aspire where to find templates, integration feeds, and agent skills. The Aspire CLI offers the team’s defaults when you create or initialize an app, so you don’t have to track them down every time.
How configuration sources work
A configuration source is an aspire.config.json file in a Git repository.
Once you accept a config source, Aspire fetches the file and applies its
defaults automatically. It makes custom templates available when you create
the app and saves skill and integration settings in the app’s local
aspire.config.json.

No digging through wikis and old emails for the team’s sacred texts. Aspire puts developers on the paved path from their first command.
Start a new app on the paved path
Once your team has configured a source in your environment, run aspire new
and Aspire asks whether to use it. aspire init offers the same choice when
you add Aspire to an existing app.

Once you accept, here’s where you’ll find your team’s defaults:
aspire newcan show team templates when you choose a template interactively.aspire addcan search your team’s integration feeds alongside the built-in sources, which remain enabled by default.aspire agent initregisters your team’s skill sources in the agent you select. The agent uses its own plugin or skill system to get the content.
If you decline, you can continue with the standard Aspire defaults. Aspire
records the choice in the app’s aspire.config.json so it won’t prompt you
again for that app.
Only accept sources you trust
The CLI shows a trust warning before you accept a config source. Content from a config source can run code on your machine or influence what your coding agent does. Before accepting, review the configuration repository and every template, feed, and plugin it references.Bring an existing app onto the path
Already have an app? Opt in with:
aspire update --use-config-source
If the app already opted out, follow the steps to opt back in before running the command. The command also performs the usual project updates.
Create a config source
Want every new app on your team to start from the same templates,
integrations, and agent skills? Create a config source for your team. Setting
one up takes a Git repository your developers can access and an
aspire.config.json file. By default, Aspire looks for the file at the
repository root; you can also configure a path to a subdirectory.
A config source supports three sections:
templateSourcespoints Aspire to Git repositories or local directories for project templates.integrationSourcestells Aspire which NuGet feeds or local package directories to search for hosting integrations.skillSourcespoints to agent plugin marketplaces. Aspire’s built-in skills come from the Aspire skills repository.
You don’t need all three sections. If you only want to share team skills,
include skillSources and leave the other sections out. As the source changes,
developers can refresh their app’s saved settings
when they’re ready.
Roll it out
Set ASPIRE_INIT_SOURCE_URL to your Git repository’s URL before running
aspire new. To try it in PowerShell, replace the example URL:
$env:ASPIRE_INIT_SOURCE_URL = 'https://github.com/contoso/aspire-config.git'
aspire new
That setting only lasts for the current terminal session. For a team-wide rollout, set the environment variable through your onboarding scripts or device-management tools so new terminal and IDE sessions inherit it.
Try it with your team
Start with something your team already shares: a starter template, a feed for an internal hosting integration, or the skills that explain your development preferences and infrastructure.
Publish a configuration source and ask a teammate to try aspire new. Can
they tell what they’re accepting? Can they find the template, integration, or
skill without asking for another link in chat?
The next new app starts on the paved path, not in the wiki.
0 comments
Be the first to start the discussion.