Commit abb4fb7
authored
chore(deps): move the Aspire samples to 13.4.6, verified by actually running one (#272)
The last item from the closed Dependabot set (#241-#251), held out of #266 and #267 because
9.5.2 -> 13.4.6 crosses four majors and reads like a framework migration.
It is not one. All six AppHosts compile clean on net8.0 with no source changes, no NU
warnings and no deprecation warnings: every API the samples use — AddPostgres,
WithDataVolume, AddDatabase, AddProject<>, WithReference, WaitFor,
WithExternalHttpEndpoints — survived intact.
A clean build proves nothing about an orchestrator, so sample 10 was actually run, both
ways the docs offer: `dotnet run --project .../AppHost` and the new `aspire run` CLI. Both
bring the Postgres container up (~10-25s) and connect it to the session network. The
documented workflow is unchanged; the CLI is an addition, not a replacement.
Two real findings from running it:
- The default PostgreSQL image moved from 17.6 to 18.3 with the Aspire version. Sample 10's
header comment asserted "postgres:17", which was now false; it no longer names a tag it
does not control. The READMEs' `docker run ... postgres:17` lines are untouched — those
describe running Postgres yourself as an alternative to Aspire, and remain accurate.
- `aspire run` writes an `aspire.config.json` pinned to whichever AppHost ran last. With six
in this repo, committing it would tie everyone to one sample, so it is gitignored.
Full solution rebuilt with --no-incremental; Core 303, Jobs 39, AspNetCore 159, UI 245.1 parent 74ffea0 commit abb4fb7
9 files changed
Lines changed: 17 additions & 12 deletions
File tree
- build
- samples
- 10-aspire-postgres-wide/AppHost
- 11-aspire-mysql-wide/AppHost
- 12-aspire-sqlserver-wide/AppHost
- 13-aspire-mongodb-wide/AppHost
- 14-aspire-all-sources-demo/AppHost
- 15-aspire-pro-demo/AppHost
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
0 commit comments