Repository navigation
feat(aspire)!: upgrade to Aspire 17 and adopt Project v2 - #1689
Merged
Merged
Conversation
Update the Aspire CLI and packages to 17.0.0, replace the obsolete Aspire.AppHost.Sdk with Microsoft.NET.Sdk plus Aspire.Hosting.AppHost, and register the Web resource with AddDotnetProject. Copilot setup now reads the CLI version from aspire.config.json, and docs cover Project v2 rebuilds, Mermaid resource graphs, and the Aspire 17 agent init plugin model. BREAKING CHANGE: EssentialCSharp.Web.Hosting extensions now use IResourceBuilder<DotnetProjectResource> instead of IResourceBuilder<ProjectResource>; consuming AppHosts must reference Aspire.Hosting.Dotnet and update their types.
Align the dev-only Ollama hosting integration with Aspire 17 using 17.0.0-beta.1052.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Upgrade the local-development AppHost to Aspire 17 using the CLI and adopt the new .NET project resource model. Production deployment remains on the existing Docker/CI pipeline.
Changes
aspire.config.json.Aspire.AppHost.SdkwithMicrosoft.NET.Sdkand explicit hosting packages.AddDotnetProject/DotnetProjectResource, preserving database wiring and migration ordering.17.0.0-beta.1052.aspire.config.json; document Mermaid resource graphs, Project v2 rebuilds, and Aspire 17's agent plugin setup. Keep the existing checked-in agent skills.Compatibility
BREAKING CHANGE: The shared Hosting extensions now return and accept
IResourceBuilder<DotnetProjectResource>instead ofIResourceBuilder<ProjectResource>. Consuming aggregate AppHosts must referenceAspire.Hosting.Dotnetand update explicitly typed callers.Project v2 does not support
aspire run --watch; use the documented resource rebuild workflow. The Ollama prerelease is intentional and limited to local development.Verification
qwen2.5-coder:7bmodel successfully generates a response.