Template versioning
Every generated project contains .aspnet-starter.json with its profile,
template version, and source commit. The current template line is 1.0.0.
Inspect it from a generated project with:
./scripts/aspnet-starter check .
Patch releases are expected to be source-compatible. A minor release may add opt-in capabilities or files. A major release may change generated contracts and requires a reviewed migration.
Migration path
- Run
aspnet-starter checkand record the generated profile and template version. - Read the release notes for the target template version and apply its migration notes to the generated application.
- Regenerate a clean copy with the target profile, then port application-owned code and configuration in a reviewed branch.
- For database-backed applications, apply EF migrations separately and verify rollback before deployment.
- Commit the updated
.aspnet-starter.jsonand run the generated project's tests and security checks.
The starter does not overwrite an existing application automatically. This keeps local customizations, secrets, and provider-specific integrations safe.