From bd8c1059f566fbbc771dc6f39f749663faecf68c Mon Sep 17 00:00:00 2001
From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com>
Date: Tue, 12 May 2026 01:40:11 +0000
Subject: [PATCH 01/42] Update Aspire version references to 13.3
Co-authored-by: aaronpowell <434140+aaronpowell@users.noreply.github.com>
---
.github/workflows/aspire-upgrade.md | 2 +-
Directory.Build.props | 4 ++--
Directory.Packages.props | 2 +-
.../CommunityToolkit.Aspire.Hosting.ActiveMQ.AppHost.csproj | 2 +-
.../CommunityToolkit.Aspire.Hosting.Adminer.AppHost.csproj | 2 +-
.../CommunityToolkit.Aspire.Azure.Extensions.AppHost.csproj | 2 +-
.../aspire.config.json | 2 +-
.../CommunityToolkit.Aspire.Hosting.Bun.AppHost.csproj | 2 +-
.../CommunityToolkit.Aspire.Hosting.Azure.Dapr.AppHost.csproj | 2 +-
.../CommunityToolkit.Aspire.Hosting.Dapr.AppHost.csproj | 2 +-
...Toolkit.Aspire.Hosting.Azure.DataApiBuilder.AppHost.csproj | 2 +-
.../CommunityToolkit.Aspire.Hosting.DbGate.AppHost.csproj | 2 +-
.../CommunityToolkit.Aspire.Hosting.Deno.AppHost.csproj | 2 +-
...kit.Aspire.Hosting.Elasticsearch.Extensions.AppHost.csproj | 2 +-
.../CommunityToolkit.Aspire.Hosting.Flagd.AppHost.csproj | 2 +-
examples/flyway/01.Basic/01.Basic.csproj | 2 +-
.../02.ContainerConfiguration.csproj | 2 +-
examples/flyway/03.Repair/03.Repair.csproj | 2 +-
...mmunityToolkit.Aspire.Hosting.GoFeatureFlag.AppHost.csproj | 2 +-
.../CommunityToolkit.Aspire.Hosting.Golang.AppHost.csproj | 2 +-
.../CommunityToolkit.Aspire.Hosting.Java.AppHost.csproj | 2 +-
...oolkit.Aspire.Hosting.JavaScript.Extensions.AppHost.csproj | 2 +-
.../CommunityToolkit.Aspire.Hosting.k6.AppHost.csproj | 2 +-
...yToolkit.Aspire.Hosting.Keycloak.Extensions.AppHost.csproj | 2 +-
.../CommunityToolkit.Aspire.Hosting.KurrentDB.AppHost.csproj | 2 +-
.../CommunityToolkit.Aspire.Hosting.LavinMQ.AppHost.csproj | 2 +-
.../CommunityToolkit.Aspire.Hosting.MailPit.AppHost.csproj | 2 +-
...Toolkit.Aspire.Hosting.MassTransit.RabbitMQ.AppHost.csproj | 2 +-
...ommunityToolkit.Aspire.Hosting.McpInspector.AppHost.csproj | 2 +-
...CommunityToolkit.Aspire.Hosting.Meilisearch.AppHost.csproj | 2 +-
.../CommunityToolkit.Aspire.Hosting.Minio.AppHost.csproj | 2 +-
...tyToolkit.Aspire.Hosting.MongoDB.Extensions.AppHost.csproj | 2 +-
...nityToolkit.Aspire.Hosting.MySql.Extensions.AppHost.csproj | 2 +-
.../CommunityToolkit.Aspire.Hosting.Ngrok.AppHost.csproj | 2 +-
.../CommunityToolkit.Aspire.Hosting.Ollama.AppHost.csproj | 2 +-
...olkit.Aspire.Hosting.OpenTelemetryCollector.AppHost.csproj | 2 +-
...ommunityToolkit.Aspire.Hosting.PapercutSmtp.AppHost.csproj | 2 +-
...oolkit.Aspire.Hosting.PostgreSQL.Extensions.AppHost.csproj | 2 +-
.../CommunityToolkit.Aspire.PowerShell.AppHost.csproj | 2 +-
...ityToolkit.Aspire.Hosting.Python.Extensions.AppHost.csproj | 2 +-
.../CommunityToolkit.Aspire.Hosting.RavenDB.AppHost.csproj | 2 +-
...nityToolkit.Aspire.Hosting.Redis.Extensions.AppHost.csproj | 2 +-
.../CommunityToolkit.Aspire.Hosting.Rust.AppHost.csproj | 2 +-
.../CommunityToolkit.Aspire.Hosting.Sftp.AppHost.csproj | 2 +-
.../solr/CommunityToolkit.Aspire.Hosting.Solr.AppHost.csproj | 2 +-
...yToolkit.Aspire.Hosting.SqlDatabaseProjects.AppHost.csproj | 2 +-
.../CommunityToolkit.Aspire.Sqlite.AppHost.csproj | 2 +-
...Toolkit.Aspire.Hosting.SqlServer.Extensions.AppHost.csproj | 2 +-
.../CommunityToolkit.Aspire.Hosting.Stripe.AppHost.csproj | 2 +-
.../CommunityToolkit.Aspire.Hosting.SurrealDb.AppHost.csproj | 2 +-
.../CommunityToolkit.Aspire.Hosting.Umami.AppHost.csproj | 2 +-
.../CommunityToolkit.Aspire.Hosting.Zitadel.AppHost.csproj | 2 +-
tests-app-hosts/Ollama.AppHost/Ollama.AppHost.csproj | 2 +-
.../CommunityToolkit.Aspire.Testing.csproj | 2 +-
54 files changed, 55 insertions(+), 55 deletions(-)
diff --git a/.github/workflows/aspire-upgrade.md b/.github/workflows/aspire-upgrade.md
index 08ef1cae0..6281127fb 100644
--- a/.github/workflows/aspire-upgrade.md
+++ b/.github/workflows/aspire-upgrade.md
@@ -21,7 +21,7 @@ safe-outputs:
# aspire-upgrade
-The target version prefix is **13.2**.
+The target version prefix is **13.3**.
# aspire-upgrade
diff --git a/Directory.Build.props b/Directory.Build.props
index 55ec86eb8..878925a3f 100644
--- a/Directory.Build.props
+++ b/Directory.Build.props
@@ -12,8 +12,8 @@
enable
13
- $(AspireMajorVersion).2.0
- -preview.1.26170.3
+ $(AspireMajorVersion).3.0
+ -preview.1.26256.5
9.0.0
10.0.5
4.8.1
diff --git a/Directory.Packages.props b/Directory.Packages.props
index 94d0ec33a..396aa42ef 100644
--- a/Directory.Packages.props
+++ b/Directory.Packages.props
@@ -9,7 +9,7 @@
-
+
diff --git a/examples/activemq/CommunityToolkit.Aspire.Hosting.ActiveMQ.AppHost/CommunityToolkit.Aspire.Hosting.ActiveMQ.AppHost.csproj b/examples/activemq/CommunityToolkit.Aspire.Hosting.ActiveMQ.AppHost/CommunityToolkit.Aspire.Hosting.ActiveMQ.AppHost.csproj
index ab270340d..ad3c466ad 100644
--- a/examples/activemq/CommunityToolkit.Aspire.Hosting.ActiveMQ.AppHost/CommunityToolkit.Aspire.Hosting.ActiveMQ.AppHost.csproj
+++ b/examples/activemq/CommunityToolkit.Aspire.Hosting.ActiveMQ.AppHost/CommunityToolkit.Aspire.Hosting.ActiveMQ.AppHost.csproj
@@ -1,4 +1,4 @@
-
+
Exe
diff --git a/examples/adminer/CommunityToolkit.Aspire.Hosting.Adminer.AppHost/CommunityToolkit.Aspire.Hosting.Adminer.AppHost.csproj b/examples/adminer/CommunityToolkit.Aspire.Hosting.Adminer.AppHost/CommunityToolkit.Aspire.Hosting.Adminer.AppHost.csproj
index 858680066..a0a3d4096 100644
--- a/examples/adminer/CommunityToolkit.Aspire.Hosting.Adminer.AppHost/CommunityToolkit.Aspire.Hosting.Adminer.AppHost.csproj
+++ b/examples/adminer/CommunityToolkit.Aspire.Hosting.Adminer.AppHost/CommunityToolkit.Aspire.Hosting.Adminer.AppHost.csproj
@@ -1,4 +1,4 @@
-
+
Exe
diff --git a/examples/azure-ext/CommunityToolkit.Aspire.Azure.Extensions.AppHost/CommunityToolkit.Aspire.Azure.Extensions.AppHost.csproj b/examples/azure-ext/CommunityToolkit.Aspire.Azure.Extensions.AppHost/CommunityToolkit.Aspire.Azure.Extensions.AppHost.csproj
index 98dd76df9..90f92e8ed 100644
--- a/examples/azure-ext/CommunityToolkit.Aspire.Azure.Extensions.AppHost/CommunityToolkit.Aspire.Azure.Extensions.AppHost.csproj
+++ b/examples/azure-ext/CommunityToolkit.Aspire.Azure.Extensions.AppHost/CommunityToolkit.Aspire.Azure.Extensions.AppHost.csproj
@@ -1,4 +1,4 @@
-
+
Exe
diff --git a/examples/bun/CommunityToolkit.Aspire.Hosting.Bun.AppHost.TypeScript/aspire.config.json b/examples/bun/CommunityToolkit.Aspire.Hosting.Bun.AppHost.TypeScript/aspire.config.json
index f39c57ddd..12c682892 100644
--- a/examples/bun/CommunityToolkit.Aspire.Hosting.Bun.AppHost.TypeScript/aspire.config.json
+++ b/examples/bun/CommunityToolkit.Aspire.Hosting.Bun.AppHost.TypeScript/aspire.config.json
@@ -4,7 +4,7 @@
"language": "typescript/nodejs"
},
"sdk": {
- "version": "13.2.2"
+ "version": "13.3.0"
},
"channel": "stable",
"profiles": {
diff --git a/examples/bun/CommunityToolkit.Aspire.Hosting.Bun.AppHost/CommunityToolkit.Aspire.Hosting.Bun.AppHost.csproj b/examples/bun/CommunityToolkit.Aspire.Hosting.Bun.AppHost/CommunityToolkit.Aspire.Hosting.Bun.AppHost.csproj
index ccba8b34e..63e0ea0b4 100644
--- a/examples/bun/CommunityToolkit.Aspire.Hosting.Bun.AppHost/CommunityToolkit.Aspire.Hosting.Bun.AppHost.csproj
+++ b/examples/bun/CommunityToolkit.Aspire.Hosting.Bun.AppHost/CommunityToolkit.Aspire.Hosting.Bun.AppHost.csproj
@@ -1,4 +1,4 @@
-
+
Exe
diff --git a/examples/dapr/CommunityToolkit.Aspire.Hosting.Azure.Dapr.AppHost/CommunityToolkit.Aspire.Hosting.Azure.Dapr.AppHost.csproj b/examples/dapr/CommunityToolkit.Aspire.Hosting.Azure.Dapr.AppHost/CommunityToolkit.Aspire.Hosting.Azure.Dapr.AppHost.csproj
index 74723972f..e39f5a0a1 100644
--- a/examples/dapr/CommunityToolkit.Aspire.Hosting.Azure.Dapr.AppHost/CommunityToolkit.Aspire.Hosting.Azure.Dapr.AppHost.csproj
+++ b/examples/dapr/CommunityToolkit.Aspire.Hosting.Azure.Dapr.AppHost/CommunityToolkit.Aspire.Hosting.Azure.Dapr.AppHost.csproj
@@ -1,4 +1,4 @@
-
+
Exe
diff --git a/examples/dapr/CommunityToolkit.Aspire.Hosting.Dapr.AppHost/CommunityToolkit.Aspire.Hosting.Dapr.AppHost.csproj b/examples/dapr/CommunityToolkit.Aspire.Hosting.Dapr.AppHost/CommunityToolkit.Aspire.Hosting.Dapr.AppHost.csproj
index 46730a522..a88615c9e 100644
--- a/examples/dapr/CommunityToolkit.Aspire.Hosting.Dapr.AppHost/CommunityToolkit.Aspire.Hosting.Dapr.AppHost.csproj
+++ b/examples/dapr/CommunityToolkit.Aspire.Hosting.Dapr.AppHost/CommunityToolkit.Aspire.Hosting.Dapr.AppHost.csproj
@@ -1,4 +1,4 @@
-
+
Exe
diff --git a/examples/data-api-builder/CommunityToolkit.Aspire.Hosting.Azure.DataApiBuilder.AppHost/CommunityToolkit.Aspire.Hosting.Azure.DataApiBuilder.AppHost.csproj b/examples/data-api-builder/CommunityToolkit.Aspire.Hosting.Azure.DataApiBuilder.AppHost/CommunityToolkit.Aspire.Hosting.Azure.DataApiBuilder.AppHost.csproj
index e8dcbcdcb..e19afaa05 100644
--- a/examples/data-api-builder/CommunityToolkit.Aspire.Hosting.Azure.DataApiBuilder.AppHost/CommunityToolkit.Aspire.Hosting.Azure.DataApiBuilder.AppHost.csproj
+++ b/examples/data-api-builder/CommunityToolkit.Aspire.Hosting.Azure.DataApiBuilder.AppHost/CommunityToolkit.Aspire.Hosting.Azure.DataApiBuilder.AppHost.csproj
@@ -1,4 +1,4 @@
-
+
Exe
diff --git a/examples/dbgate/CommunityToolkit.Aspire.Hosting.DbGate.AppHost/CommunityToolkit.Aspire.Hosting.DbGate.AppHost.csproj b/examples/dbgate/CommunityToolkit.Aspire.Hosting.DbGate.AppHost/CommunityToolkit.Aspire.Hosting.DbGate.AppHost.csproj
index 59abdeae1..38cf86afe 100644
--- a/examples/dbgate/CommunityToolkit.Aspire.Hosting.DbGate.AppHost/CommunityToolkit.Aspire.Hosting.DbGate.AppHost.csproj
+++ b/examples/dbgate/CommunityToolkit.Aspire.Hosting.DbGate.AppHost/CommunityToolkit.Aspire.Hosting.DbGate.AppHost.csproj
@@ -1,4 +1,4 @@
-
+
Exe
diff --git a/examples/deno/CommunityToolkit.Aspire.Hosting.Deno.AppHost/CommunityToolkit.Aspire.Hosting.Deno.AppHost.csproj b/examples/deno/CommunityToolkit.Aspire.Hosting.Deno.AppHost/CommunityToolkit.Aspire.Hosting.Deno.AppHost.csproj
index 79b16b7c7..4c9515179 100644
--- a/examples/deno/CommunityToolkit.Aspire.Hosting.Deno.AppHost/CommunityToolkit.Aspire.Hosting.Deno.AppHost.csproj
+++ b/examples/deno/CommunityToolkit.Aspire.Hosting.Deno.AppHost/CommunityToolkit.Aspire.Hosting.Deno.AppHost.csproj
@@ -1,4 +1,4 @@
-
+
Exe
diff --git a/examples/elasticsearch-ext/CommunityToolkit.Aspire.Hosting.Elasticsearch.Extensions.AppHost/CommunityToolkit.Aspire.Hosting.Elasticsearch.Extensions.AppHost.csproj b/examples/elasticsearch-ext/CommunityToolkit.Aspire.Hosting.Elasticsearch.Extensions.AppHost/CommunityToolkit.Aspire.Hosting.Elasticsearch.Extensions.AppHost.csproj
index f0026f115..5d476458c 100644
--- a/examples/elasticsearch-ext/CommunityToolkit.Aspire.Hosting.Elasticsearch.Extensions.AppHost/CommunityToolkit.Aspire.Hosting.Elasticsearch.Extensions.AppHost.csproj
+++ b/examples/elasticsearch-ext/CommunityToolkit.Aspire.Hosting.Elasticsearch.Extensions.AppHost/CommunityToolkit.Aspire.Hosting.Elasticsearch.Extensions.AppHost.csproj
@@ -1,4 +1,4 @@
-
+
Exe
diff --git a/examples/flagd/CommunityToolkit.Aspire.Hosting.Flagd.AppHost/CommunityToolkit.Aspire.Hosting.Flagd.AppHost.csproj b/examples/flagd/CommunityToolkit.Aspire.Hosting.Flagd.AppHost/CommunityToolkit.Aspire.Hosting.Flagd.AppHost.csproj
index f998db26c..041c31227 100644
--- a/examples/flagd/CommunityToolkit.Aspire.Hosting.Flagd.AppHost/CommunityToolkit.Aspire.Hosting.Flagd.AppHost.csproj
+++ b/examples/flagd/CommunityToolkit.Aspire.Hosting.Flagd.AppHost/CommunityToolkit.Aspire.Hosting.Flagd.AppHost.csproj
@@ -1,4 +1,4 @@
-
+
Exe
diff --git a/examples/flyway/01.Basic/01.Basic.csproj b/examples/flyway/01.Basic/01.Basic.csproj
index d5ac04f91..66301a30b 100644
--- a/examples/flyway/01.Basic/01.Basic.csproj
+++ b/examples/flyway/01.Basic/01.Basic.csproj
@@ -1,4 +1,4 @@
-
+
Exe
diff --git a/examples/flyway/02.ContainerConfiguration/02.ContainerConfiguration.csproj b/examples/flyway/02.ContainerConfiguration/02.ContainerConfiguration.csproj
index d5ac04f91..66301a30b 100644
--- a/examples/flyway/02.ContainerConfiguration/02.ContainerConfiguration.csproj
+++ b/examples/flyway/02.ContainerConfiguration/02.ContainerConfiguration.csproj
@@ -1,4 +1,4 @@
-
+
Exe
diff --git a/examples/flyway/03.Repair/03.Repair.csproj b/examples/flyway/03.Repair/03.Repair.csproj
index d5ac04f91..66301a30b 100644
--- a/examples/flyway/03.Repair/03.Repair.csproj
+++ b/examples/flyway/03.Repair/03.Repair.csproj
@@ -1,4 +1,4 @@
-
+
Exe
diff --git a/examples/goff/CommunityToolkit.Aspire.Hosting.GoFeatureFlag.AppHost/CommunityToolkit.Aspire.Hosting.GoFeatureFlag.AppHost.csproj b/examples/goff/CommunityToolkit.Aspire.Hosting.GoFeatureFlag.AppHost/CommunityToolkit.Aspire.Hosting.GoFeatureFlag.AppHost.csproj
index 0a35f073b..cb03edd82 100644
--- a/examples/goff/CommunityToolkit.Aspire.Hosting.GoFeatureFlag.AppHost/CommunityToolkit.Aspire.Hosting.GoFeatureFlag.AppHost.csproj
+++ b/examples/goff/CommunityToolkit.Aspire.Hosting.GoFeatureFlag.AppHost/CommunityToolkit.Aspire.Hosting.GoFeatureFlag.AppHost.csproj
@@ -1,4 +1,4 @@
-
+
Exe
diff --git a/examples/golang/CommunityToolkit.Aspire.Hosting.Golang.AppHost/CommunityToolkit.Aspire.Hosting.Golang.AppHost.csproj b/examples/golang/CommunityToolkit.Aspire.Hosting.Golang.AppHost/CommunityToolkit.Aspire.Hosting.Golang.AppHost.csproj
index fb5560f2c..3387b0ad3 100644
--- a/examples/golang/CommunityToolkit.Aspire.Hosting.Golang.AppHost/CommunityToolkit.Aspire.Hosting.Golang.AppHost.csproj
+++ b/examples/golang/CommunityToolkit.Aspire.Hosting.Golang.AppHost/CommunityToolkit.Aspire.Hosting.Golang.AppHost.csproj
@@ -1,4 +1,4 @@
-
+
Exe
diff --git a/examples/java/CommunityToolkit.Aspire.Hosting.Java.AppHost/CommunityToolkit.Aspire.Hosting.Java.AppHost.csproj b/examples/java/CommunityToolkit.Aspire.Hosting.Java.AppHost/CommunityToolkit.Aspire.Hosting.Java.AppHost.csproj
index 6b1d993eb..0d35bff85 100644
--- a/examples/java/CommunityToolkit.Aspire.Hosting.Java.AppHost/CommunityToolkit.Aspire.Hosting.Java.AppHost.csproj
+++ b/examples/java/CommunityToolkit.Aspire.Hosting.Java.AppHost/CommunityToolkit.Aspire.Hosting.Java.AppHost.csproj
@@ -1,4 +1,4 @@
-
+
Exe
diff --git a/examples/javascript-ext/CommunityToolkit.Aspire.Hosting.JavaScript.Extensions.AppHost/CommunityToolkit.Aspire.Hosting.JavaScript.Extensions.AppHost.csproj b/examples/javascript-ext/CommunityToolkit.Aspire.Hosting.JavaScript.Extensions.AppHost/CommunityToolkit.Aspire.Hosting.JavaScript.Extensions.AppHost.csproj
index 7dddaca35..0071123eb 100644
--- a/examples/javascript-ext/CommunityToolkit.Aspire.Hosting.JavaScript.Extensions.AppHost/CommunityToolkit.Aspire.Hosting.JavaScript.Extensions.AppHost.csproj
+++ b/examples/javascript-ext/CommunityToolkit.Aspire.Hosting.JavaScript.Extensions.AppHost/CommunityToolkit.Aspire.Hosting.JavaScript.Extensions.AppHost.csproj
@@ -1,4 +1,4 @@
-
+
Exe
diff --git a/examples/k6/CommunityToolkit.Aspire.Hosting.k6.AppHost/CommunityToolkit.Aspire.Hosting.k6.AppHost.csproj b/examples/k6/CommunityToolkit.Aspire.Hosting.k6.AppHost/CommunityToolkit.Aspire.Hosting.k6.AppHost.csproj
index dfbef4140..f9890a4fe 100644
--- a/examples/k6/CommunityToolkit.Aspire.Hosting.k6.AppHost/CommunityToolkit.Aspire.Hosting.k6.AppHost.csproj
+++ b/examples/k6/CommunityToolkit.Aspire.Hosting.k6.AppHost/CommunityToolkit.Aspire.Hosting.k6.AppHost.csproj
@@ -1,4 +1,4 @@
-
+
Exe
diff --git a/examples/keycloak-postgres/CommunityToolkit.Aspire.Hosting.Keycloak.Extensions.AppHost/CommunityToolkit.Aspire.Hosting.Keycloak.Extensions.AppHost.csproj b/examples/keycloak-postgres/CommunityToolkit.Aspire.Hosting.Keycloak.Extensions.AppHost/CommunityToolkit.Aspire.Hosting.Keycloak.Extensions.AppHost.csproj
index cf16452e5..d9902bab1 100644
--- a/examples/keycloak-postgres/CommunityToolkit.Aspire.Hosting.Keycloak.Extensions.AppHost/CommunityToolkit.Aspire.Hosting.Keycloak.Extensions.AppHost.csproj
+++ b/examples/keycloak-postgres/CommunityToolkit.Aspire.Hosting.Keycloak.Extensions.AppHost/CommunityToolkit.Aspire.Hosting.Keycloak.Extensions.AppHost.csproj
@@ -1,4 +1,4 @@
-
+
Exe
diff --git a/examples/kurrentdb/CommunityToolkit.Aspire.Hosting.KurrentDB.AppHost/CommunityToolkit.Aspire.Hosting.KurrentDB.AppHost.csproj b/examples/kurrentdb/CommunityToolkit.Aspire.Hosting.KurrentDB.AppHost/CommunityToolkit.Aspire.Hosting.KurrentDB.AppHost.csproj
index 93bc87f15..e5159c2b5 100644
--- a/examples/kurrentdb/CommunityToolkit.Aspire.Hosting.KurrentDB.AppHost/CommunityToolkit.Aspire.Hosting.KurrentDB.AppHost.csproj
+++ b/examples/kurrentdb/CommunityToolkit.Aspire.Hosting.KurrentDB.AppHost/CommunityToolkit.Aspire.Hosting.KurrentDB.AppHost.csproj
@@ -1,4 +1,4 @@
-
+
Exe
diff --git a/examples/lavinmq/CommunityToolkit.Aspire.Hosting.LavinMQ.AppHost/CommunityToolkit.Aspire.Hosting.LavinMQ.AppHost.csproj b/examples/lavinmq/CommunityToolkit.Aspire.Hosting.LavinMQ.AppHost/CommunityToolkit.Aspire.Hosting.LavinMQ.AppHost.csproj
index 3f9bc9e30..923dc7ed1 100644
--- a/examples/lavinmq/CommunityToolkit.Aspire.Hosting.LavinMQ.AppHost/CommunityToolkit.Aspire.Hosting.LavinMQ.AppHost.csproj
+++ b/examples/lavinmq/CommunityToolkit.Aspire.Hosting.LavinMQ.AppHost/CommunityToolkit.Aspire.Hosting.LavinMQ.AppHost.csproj
@@ -1,4 +1,4 @@
-
+
Exe
diff --git a/examples/mailpit/CommunityToolkit.Aspire.Hosting.MailPit.AppHost/CommunityToolkit.Aspire.Hosting.MailPit.AppHost.csproj b/examples/mailpit/CommunityToolkit.Aspire.Hosting.MailPit.AppHost/CommunityToolkit.Aspire.Hosting.MailPit.AppHost.csproj
index 1546bb448..c53599139 100644
--- a/examples/mailpit/CommunityToolkit.Aspire.Hosting.MailPit.AppHost/CommunityToolkit.Aspire.Hosting.MailPit.AppHost.csproj
+++ b/examples/mailpit/CommunityToolkit.Aspire.Hosting.MailPit.AppHost/CommunityToolkit.Aspire.Hosting.MailPit.AppHost.csproj
@@ -1,4 +1,4 @@
-
+
Exe
diff --git a/examples/masstransit-rabbitmq/CommunityToolkit.Aspire.Hosting.MassTransit.RabbitMQ.AppHost/CommunityToolkit.Aspire.Hosting.MassTransit.RabbitMQ.AppHost.csproj b/examples/masstransit-rabbitmq/CommunityToolkit.Aspire.Hosting.MassTransit.RabbitMQ.AppHost/CommunityToolkit.Aspire.Hosting.MassTransit.RabbitMQ.AppHost.csproj
index 39a4b99da..d960e73e8 100644
--- a/examples/masstransit-rabbitmq/CommunityToolkit.Aspire.Hosting.MassTransit.RabbitMQ.AppHost/CommunityToolkit.Aspire.Hosting.MassTransit.RabbitMQ.AppHost.csproj
+++ b/examples/masstransit-rabbitmq/CommunityToolkit.Aspire.Hosting.MassTransit.RabbitMQ.AppHost/CommunityToolkit.Aspire.Hosting.MassTransit.RabbitMQ.AppHost.csproj
@@ -1,4 +1,4 @@
-
+
Exe
diff --git a/examples/mcp-inspector/CommunityToolkit.Aspire.Hosting.McpInspector.AppHost/CommunityToolkit.Aspire.Hosting.McpInspector.AppHost.csproj b/examples/mcp-inspector/CommunityToolkit.Aspire.Hosting.McpInspector.AppHost/CommunityToolkit.Aspire.Hosting.McpInspector.AppHost.csproj
index d8821be96..f2a6ced78 100644
--- a/examples/mcp-inspector/CommunityToolkit.Aspire.Hosting.McpInspector.AppHost/CommunityToolkit.Aspire.Hosting.McpInspector.AppHost.csproj
+++ b/examples/mcp-inspector/CommunityToolkit.Aspire.Hosting.McpInspector.AppHost/CommunityToolkit.Aspire.Hosting.McpInspector.AppHost.csproj
@@ -1,4 +1,4 @@
-
+
Exe
diff --git a/examples/meilisearch/CommunityToolkit.Aspire.Hosting.Meilisearch.AppHost/CommunityToolkit.Aspire.Hosting.Meilisearch.AppHost.csproj b/examples/meilisearch/CommunityToolkit.Aspire.Hosting.Meilisearch.AppHost/CommunityToolkit.Aspire.Hosting.Meilisearch.AppHost.csproj
index 2037292bf..d7c8c346a 100644
--- a/examples/meilisearch/CommunityToolkit.Aspire.Hosting.Meilisearch.AppHost/CommunityToolkit.Aspire.Hosting.Meilisearch.AppHost.csproj
+++ b/examples/meilisearch/CommunityToolkit.Aspire.Hosting.Meilisearch.AppHost/CommunityToolkit.Aspire.Hosting.Meilisearch.AppHost.csproj
@@ -1,4 +1,4 @@
-
+
Exe
diff --git a/examples/minio/CommunityToolkit.Aspire.Hosting.Minio.AppHost/CommunityToolkit.Aspire.Hosting.Minio.AppHost.csproj b/examples/minio/CommunityToolkit.Aspire.Hosting.Minio.AppHost/CommunityToolkit.Aspire.Hosting.Minio.AppHost.csproj
index a534496c1..9c4c9bc10 100644
--- a/examples/minio/CommunityToolkit.Aspire.Hosting.Minio.AppHost/CommunityToolkit.Aspire.Hosting.Minio.AppHost.csproj
+++ b/examples/minio/CommunityToolkit.Aspire.Hosting.Minio.AppHost/CommunityToolkit.Aspire.Hosting.Minio.AppHost.csproj
@@ -1,4 +1,4 @@
-
+
Exe
diff --git a/examples/mongodb-ext/CommunityToolkit.Aspire.Hosting.MongoDB.Extensions.AppHost/CommunityToolkit.Aspire.Hosting.MongoDB.Extensions.AppHost.csproj b/examples/mongodb-ext/CommunityToolkit.Aspire.Hosting.MongoDB.Extensions.AppHost/CommunityToolkit.Aspire.Hosting.MongoDB.Extensions.AppHost.csproj
index 38170351f..ffa23f1d1 100644
--- a/examples/mongodb-ext/CommunityToolkit.Aspire.Hosting.MongoDB.Extensions.AppHost/CommunityToolkit.Aspire.Hosting.MongoDB.Extensions.AppHost.csproj
+++ b/examples/mongodb-ext/CommunityToolkit.Aspire.Hosting.MongoDB.Extensions.AppHost/CommunityToolkit.Aspire.Hosting.MongoDB.Extensions.AppHost.csproj
@@ -1,4 +1,4 @@
-
+
Exe
diff --git a/examples/mysql-ext/CommunityToolkit.Aspire.Hosting.MySql.Extensions.AppHost/CommunityToolkit.Aspire.Hosting.MySql.Extensions.AppHost.csproj b/examples/mysql-ext/CommunityToolkit.Aspire.Hosting.MySql.Extensions.AppHost/CommunityToolkit.Aspire.Hosting.MySql.Extensions.AppHost.csproj
index 1ee06314d..11dcb760b 100644
--- a/examples/mysql-ext/CommunityToolkit.Aspire.Hosting.MySql.Extensions.AppHost/CommunityToolkit.Aspire.Hosting.MySql.Extensions.AppHost.csproj
+++ b/examples/mysql-ext/CommunityToolkit.Aspire.Hosting.MySql.Extensions.AppHost/CommunityToolkit.Aspire.Hosting.MySql.Extensions.AppHost.csproj
@@ -1,4 +1,4 @@
-
+
Exe
diff --git a/examples/ngrok/CommunityToolkit.Aspire.Hosting.Ngrok.AppHost/CommunityToolkit.Aspire.Hosting.Ngrok.AppHost.csproj b/examples/ngrok/CommunityToolkit.Aspire.Hosting.Ngrok.AppHost/CommunityToolkit.Aspire.Hosting.Ngrok.AppHost.csproj
index 6f0a42dfe..4bdebd312 100644
--- a/examples/ngrok/CommunityToolkit.Aspire.Hosting.Ngrok.AppHost/CommunityToolkit.Aspire.Hosting.Ngrok.AppHost.csproj
+++ b/examples/ngrok/CommunityToolkit.Aspire.Hosting.Ngrok.AppHost/CommunityToolkit.Aspire.Hosting.Ngrok.AppHost.csproj
@@ -1,4 +1,4 @@
-
+
Exe
dea39c19-075e-4a9d-aba2-ffd65de91136
diff --git a/examples/ollama/CommunityToolkit.Aspire.Hosting.Ollama.AppHost/CommunityToolkit.Aspire.Hosting.Ollama.AppHost.csproj b/examples/ollama/CommunityToolkit.Aspire.Hosting.Ollama.AppHost/CommunityToolkit.Aspire.Hosting.Ollama.AppHost.csproj
index d7ee43ecd..64bbfc6aa 100644
--- a/examples/ollama/CommunityToolkit.Aspire.Hosting.Ollama.AppHost/CommunityToolkit.Aspire.Hosting.Ollama.AppHost.csproj
+++ b/examples/ollama/CommunityToolkit.Aspire.Hosting.Ollama.AppHost/CommunityToolkit.Aspire.Hosting.Ollama.AppHost.csproj
@@ -1,4 +1,4 @@
-
+
Exe
diff --git a/examples/opentelemetry-collector/CommunityToolkit.Aspire.Hosting.OpenTelemetryCollector.AppHost/CommunityToolkit.Aspire.Hosting.OpenTelemetryCollector.AppHost.csproj b/examples/opentelemetry-collector/CommunityToolkit.Aspire.Hosting.OpenTelemetryCollector.AppHost/CommunityToolkit.Aspire.Hosting.OpenTelemetryCollector.AppHost.csproj
index 6d3b7a46b..cae93f7aa 100644
--- a/examples/opentelemetry-collector/CommunityToolkit.Aspire.Hosting.OpenTelemetryCollector.AppHost/CommunityToolkit.Aspire.Hosting.OpenTelemetryCollector.AppHost.csproj
+++ b/examples/opentelemetry-collector/CommunityToolkit.Aspire.Hosting.OpenTelemetryCollector.AppHost/CommunityToolkit.Aspire.Hosting.OpenTelemetryCollector.AppHost.csproj
@@ -1,4 +1,4 @@
-
+
Exe
diff --git a/examples/papercut/CommunityToolkit.Aspire.Hosting.PapercutSmtp.AppHost/CommunityToolkit.Aspire.Hosting.PapercutSmtp.AppHost.csproj b/examples/papercut/CommunityToolkit.Aspire.Hosting.PapercutSmtp.AppHost/CommunityToolkit.Aspire.Hosting.PapercutSmtp.AppHost.csproj
index aa929b0c7..30d9dd4bf 100644
--- a/examples/papercut/CommunityToolkit.Aspire.Hosting.PapercutSmtp.AppHost/CommunityToolkit.Aspire.Hosting.PapercutSmtp.AppHost.csproj
+++ b/examples/papercut/CommunityToolkit.Aspire.Hosting.PapercutSmtp.AppHost/CommunityToolkit.Aspire.Hosting.PapercutSmtp.AppHost.csproj
@@ -1,4 +1,4 @@
-
+
Exe
diff --git a/examples/postgres-ext/CommunityToolkit.Aspire.Hosting.PostgreSQL.Extensions.AppHost/CommunityToolkit.Aspire.Hosting.PostgreSQL.Extensions.AppHost.csproj b/examples/postgres-ext/CommunityToolkit.Aspire.Hosting.PostgreSQL.Extensions.AppHost/CommunityToolkit.Aspire.Hosting.PostgreSQL.Extensions.AppHost.csproj
index 033a78f9a..a606d516c 100644
--- a/examples/postgres-ext/CommunityToolkit.Aspire.Hosting.PostgreSQL.Extensions.AppHost/CommunityToolkit.Aspire.Hosting.PostgreSQL.Extensions.AppHost.csproj
+++ b/examples/postgres-ext/CommunityToolkit.Aspire.Hosting.PostgreSQL.Extensions.AppHost/CommunityToolkit.Aspire.Hosting.PostgreSQL.Extensions.AppHost.csproj
@@ -1,4 +1,4 @@
-
+
Exe
diff --git a/examples/powershell/CommunityToolkit.Aspire.PowerShell.AppHost/CommunityToolkit.Aspire.PowerShell.AppHost.csproj b/examples/powershell/CommunityToolkit.Aspire.PowerShell.AppHost/CommunityToolkit.Aspire.PowerShell.AppHost.csproj
index 8e8177623..73334fd1e 100644
--- a/examples/powershell/CommunityToolkit.Aspire.PowerShell.AppHost/CommunityToolkit.Aspire.PowerShell.AppHost.csproj
+++ b/examples/powershell/CommunityToolkit.Aspire.PowerShell.AppHost/CommunityToolkit.Aspire.PowerShell.AppHost.csproj
@@ -1,4 +1,4 @@
-
+
Exe
diff --git a/examples/python/CommunityToolkit.Aspire.Hosting.Python.Extensions.AppHost/CommunityToolkit.Aspire.Hosting.Python.Extensions.AppHost.csproj b/examples/python/CommunityToolkit.Aspire.Hosting.Python.Extensions.AppHost/CommunityToolkit.Aspire.Hosting.Python.Extensions.AppHost.csproj
index c8b9f96f7..d9b7f53c1 100644
--- a/examples/python/CommunityToolkit.Aspire.Hosting.Python.Extensions.AppHost/CommunityToolkit.Aspire.Hosting.Python.Extensions.AppHost.csproj
+++ b/examples/python/CommunityToolkit.Aspire.Hosting.Python.Extensions.AppHost/CommunityToolkit.Aspire.Hosting.Python.Extensions.AppHost.csproj
@@ -1,4 +1,4 @@
-
+
Exe
diff --git a/examples/ravendb/RavenDB.AppHost/CommunityToolkit.Aspire.Hosting.RavenDB.AppHost.csproj b/examples/ravendb/RavenDB.AppHost/CommunityToolkit.Aspire.Hosting.RavenDB.AppHost.csproj
index 9012b7762..b9f17627c 100644
--- a/examples/ravendb/RavenDB.AppHost/CommunityToolkit.Aspire.Hosting.RavenDB.AppHost.csproj
+++ b/examples/ravendb/RavenDB.AppHost/CommunityToolkit.Aspire.Hosting.RavenDB.AppHost.csproj
@@ -1,4 +1,4 @@
-
+
Exe
diff --git a/examples/redis-ext/CommunityToolkit.Aspire.Hosting.Redis.Extensions.AppHost/CommunityToolkit.Aspire.Hosting.Redis.Extensions.AppHost.csproj b/examples/redis-ext/CommunityToolkit.Aspire.Hosting.Redis.Extensions.AppHost/CommunityToolkit.Aspire.Hosting.Redis.Extensions.AppHost.csproj
index befb2d5b0..c43afd7ab 100644
--- a/examples/redis-ext/CommunityToolkit.Aspire.Hosting.Redis.Extensions.AppHost/CommunityToolkit.Aspire.Hosting.Redis.Extensions.AppHost.csproj
+++ b/examples/redis-ext/CommunityToolkit.Aspire.Hosting.Redis.Extensions.AppHost/CommunityToolkit.Aspire.Hosting.Redis.Extensions.AppHost.csproj
@@ -1,4 +1,4 @@
-
+
Exe
diff --git a/examples/rust/CommunityToolkit.Aspire.Hosting.Rust.AppHost/CommunityToolkit.Aspire.Hosting.Rust.AppHost.csproj b/examples/rust/CommunityToolkit.Aspire.Hosting.Rust.AppHost/CommunityToolkit.Aspire.Hosting.Rust.AppHost.csproj
index 4dadf121b..c2857bc14 100644
--- a/examples/rust/CommunityToolkit.Aspire.Hosting.Rust.AppHost/CommunityToolkit.Aspire.Hosting.Rust.AppHost.csproj
+++ b/examples/rust/CommunityToolkit.Aspire.Hosting.Rust.AppHost/CommunityToolkit.Aspire.Hosting.Rust.AppHost.csproj
@@ -1,4 +1,4 @@
-
+
Exe
diff --git a/examples/sftp/CommunityToolkit.Aspire.Hosting.Sftp.AppHost/CommunityToolkit.Aspire.Hosting.Sftp.AppHost.csproj b/examples/sftp/CommunityToolkit.Aspire.Hosting.Sftp.AppHost/CommunityToolkit.Aspire.Hosting.Sftp.AppHost.csproj
index 96ea57617..bde028244 100644
--- a/examples/sftp/CommunityToolkit.Aspire.Hosting.Sftp.AppHost/CommunityToolkit.Aspire.Hosting.Sftp.AppHost.csproj
+++ b/examples/sftp/CommunityToolkit.Aspire.Hosting.Sftp.AppHost/CommunityToolkit.Aspire.Hosting.Sftp.AppHost.csproj
@@ -1,4 +1,4 @@
-
+
Exe
diff --git a/examples/solr/CommunityToolkit.Aspire.Hosting.Solr.AppHost.csproj b/examples/solr/CommunityToolkit.Aspire.Hosting.Solr.AppHost.csproj
index 68feb5b31..a77940bde 100644
--- a/examples/solr/CommunityToolkit.Aspire.Hosting.Solr.AppHost.csproj
+++ b/examples/solr/CommunityToolkit.Aspire.Hosting.Solr.AppHost.csproj
@@ -1,4 +1,4 @@
-
+
Exe
diff --git a/examples/sql-database-projects/CommunityToolkit.Aspire.Hosting.SqlDatabaseProjects.AppHost/CommunityToolkit.Aspire.Hosting.SqlDatabaseProjects.AppHost.csproj b/examples/sql-database-projects/CommunityToolkit.Aspire.Hosting.SqlDatabaseProjects.AppHost/CommunityToolkit.Aspire.Hosting.SqlDatabaseProjects.AppHost.csproj
index c1480a123..f82b79ab5 100644
--- a/examples/sql-database-projects/CommunityToolkit.Aspire.Hosting.SqlDatabaseProjects.AppHost/CommunityToolkit.Aspire.Hosting.SqlDatabaseProjects.AppHost.csproj
+++ b/examples/sql-database-projects/CommunityToolkit.Aspire.Hosting.SqlDatabaseProjects.AppHost/CommunityToolkit.Aspire.Hosting.SqlDatabaseProjects.AppHost.csproj
@@ -1,4 +1,4 @@
-
+
Exe
diff --git a/examples/sqlite/CommunityToolkit.Aspire.Sqlite.AppHost/CommunityToolkit.Aspire.Sqlite.AppHost.csproj b/examples/sqlite/CommunityToolkit.Aspire.Sqlite.AppHost/CommunityToolkit.Aspire.Sqlite.AppHost.csproj
index efb238600..4ea564f34 100644
--- a/examples/sqlite/CommunityToolkit.Aspire.Sqlite.AppHost/CommunityToolkit.Aspire.Sqlite.AppHost.csproj
+++ b/examples/sqlite/CommunityToolkit.Aspire.Sqlite.AppHost/CommunityToolkit.Aspire.Sqlite.AppHost.csproj
@@ -1,4 +1,4 @@
-
+
Exe
diff --git a/examples/sqlserver-ext/CommunityToolkit.Aspire.Hosting.SqlServer.Extensions.AppHost/CommunityToolkit.Aspire.Hosting.SqlServer.Extensions.AppHost.csproj b/examples/sqlserver-ext/CommunityToolkit.Aspire.Hosting.SqlServer.Extensions.AppHost/CommunityToolkit.Aspire.Hosting.SqlServer.Extensions.AppHost.csproj
index ea230488c..cf7182498 100644
--- a/examples/sqlserver-ext/CommunityToolkit.Aspire.Hosting.SqlServer.Extensions.AppHost/CommunityToolkit.Aspire.Hosting.SqlServer.Extensions.AppHost.csproj
+++ b/examples/sqlserver-ext/CommunityToolkit.Aspire.Hosting.SqlServer.Extensions.AppHost/CommunityToolkit.Aspire.Hosting.SqlServer.Extensions.AppHost.csproj
@@ -1,4 +1,4 @@
-
+
Exe
diff --git a/examples/stripe/CommunityToolkit.Aspire.Hosting.Stripe.AppHost/CommunityToolkit.Aspire.Hosting.Stripe.AppHost.csproj b/examples/stripe/CommunityToolkit.Aspire.Hosting.Stripe.AppHost/CommunityToolkit.Aspire.Hosting.Stripe.AppHost.csproj
index 90668abb4..2cecfbdbd 100644
--- a/examples/stripe/CommunityToolkit.Aspire.Hosting.Stripe.AppHost/CommunityToolkit.Aspire.Hosting.Stripe.AppHost.csproj
+++ b/examples/stripe/CommunityToolkit.Aspire.Hosting.Stripe.AppHost/CommunityToolkit.Aspire.Hosting.Stripe.AppHost.csproj
@@ -1,4 +1,4 @@
-
+
Exe
diff --git a/examples/surrealdb/CommunityToolkit.Aspire.Hosting.SurrealDb.AppHost/CommunityToolkit.Aspire.Hosting.SurrealDb.AppHost.csproj b/examples/surrealdb/CommunityToolkit.Aspire.Hosting.SurrealDb.AppHost/CommunityToolkit.Aspire.Hosting.SurrealDb.AppHost.csproj
index e917d35be..52d0ca0b9 100644
--- a/examples/surrealdb/CommunityToolkit.Aspire.Hosting.SurrealDb.AppHost/CommunityToolkit.Aspire.Hosting.SurrealDb.AppHost.csproj
+++ b/examples/surrealdb/CommunityToolkit.Aspire.Hosting.SurrealDb.AppHost/CommunityToolkit.Aspire.Hosting.SurrealDb.AppHost.csproj
@@ -1,4 +1,4 @@
-
+
Exe
diff --git a/examples/umami/CommunityToolkit.Aspire.Hosting.Umami.AppHost/CommunityToolkit.Aspire.Hosting.Umami.AppHost.csproj b/examples/umami/CommunityToolkit.Aspire.Hosting.Umami.AppHost/CommunityToolkit.Aspire.Hosting.Umami.AppHost.csproj
index 6e276a410..4314b1a22 100644
--- a/examples/umami/CommunityToolkit.Aspire.Hosting.Umami.AppHost/CommunityToolkit.Aspire.Hosting.Umami.AppHost.csproj
+++ b/examples/umami/CommunityToolkit.Aspire.Hosting.Umami.AppHost/CommunityToolkit.Aspire.Hosting.Umami.AppHost.csproj
@@ -1,4 +1,4 @@
-
+
Exe
diff --git a/examples/zitadel/CommunityToolkit.Aspire.Hosting.Zitadel.AppHost/CommunityToolkit.Aspire.Hosting.Zitadel.AppHost.csproj b/examples/zitadel/CommunityToolkit.Aspire.Hosting.Zitadel.AppHost/CommunityToolkit.Aspire.Hosting.Zitadel.AppHost.csproj
index b00cefeb4..186598b81 100644
--- a/examples/zitadel/CommunityToolkit.Aspire.Hosting.Zitadel.AppHost/CommunityToolkit.Aspire.Hosting.Zitadel.AppHost.csproj
+++ b/examples/zitadel/CommunityToolkit.Aspire.Hosting.Zitadel.AppHost/CommunityToolkit.Aspire.Hosting.Zitadel.AppHost.csproj
@@ -1,4 +1,4 @@
-
+
Exe
diff --git a/tests-app-hosts/Ollama.AppHost/Ollama.AppHost.csproj b/tests-app-hosts/Ollama.AppHost/Ollama.AppHost.csproj
index aff533315..af195ba2f 100644
--- a/tests-app-hosts/Ollama.AppHost/Ollama.AppHost.csproj
+++ b/tests-app-hosts/Ollama.AppHost/Ollama.AppHost.csproj
@@ -1,4 +1,4 @@
-
+
Exe
diff --git a/tests/CommunityToolkit.Aspire.Testing/CommunityToolkit.Aspire.Testing.csproj b/tests/CommunityToolkit.Aspire.Testing/CommunityToolkit.Aspire.Testing.csproj
index f7f783e9b..292e7000b 100644
--- a/tests/CommunityToolkit.Aspire.Testing/CommunityToolkit.Aspire.Testing.csproj
+++ b/tests/CommunityToolkit.Aspire.Testing/CommunityToolkit.Aspire.Testing.csproj
@@ -1,4 +1,4 @@
-
+
false
From c2421e5950a875c72f1438d79876c57bfa0b67e1 Mon Sep 17 00:00:00 2001
From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com>
Date: Tue, 12 May 2026 01:45:14 +0000
Subject: [PATCH 02/42] Align dependency versions for Aspire 13.3
Co-authored-by: aaronpowell <434140+aaronpowell@users.noreply.github.com>
---
Directory.Build.props | 2 +-
Directory.Packages.props | 2 +-
.../OllamaResourceBuilderExtensions.Model.cs | 2 +-
.../OllamaResourceBuilderExtensions.cs | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/Directory.Build.props b/Directory.Build.props
index 878925a3f..4eb0a8e44 100644
--- a/Directory.Build.props
+++ b/Directory.Build.props
@@ -15,7 +15,7 @@
$(AspireMajorVersion).3.0
-preview.1.26256.5
9.0.0
- 10.0.5
+ 10.0.7
4.8.1
10.0.0
10.0.0
diff --git a/Directory.Packages.props b/Directory.Packages.props
index 396aa42ef..69a5fd331 100644
--- a/Directory.Packages.props
+++ b/Directory.Packages.props
@@ -66,7 +66,7 @@
-
+
diff --git a/src/CommunityToolkit.Aspire.Hosting.Ollama/OllamaResourceBuilderExtensions.Model.cs b/src/CommunityToolkit.Aspire.Hosting.Ollama/OllamaResourceBuilderExtensions.Model.cs
index 1ecf81a7b..93c7beb73 100644
--- a/src/CommunityToolkit.Aspire.Hosting.Ollama/OllamaResourceBuilderExtensions.Model.cs
+++ b/src/CommunityToolkit.Aspire.Hosting.Ollama/OllamaResourceBuilderExtensions.Model.cs
@@ -163,7 +163,7 @@ private static IResourceBuilder AddModelResourceCommand(
if (!success || endpoint is null)
{
- return new ExecuteCommandResult { Success = false, ErrorMessage = "Invalid connection string" };
+ return new ExecuteCommandResult { Success = false, Message = "Invalid connection string" };
}
var ollamaClient = new OllamaApiClient(endpoint);
diff --git a/src/CommunityToolkit.Aspire.Hosting.Ollama/OllamaResourceBuilderExtensions.cs b/src/CommunityToolkit.Aspire.Hosting.Ollama/OllamaResourceBuilderExtensions.cs
index 34386851d..6d6703b01 100644
--- a/src/CommunityToolkit.Aspire.Hosting.Ollama/OllamaResourceBuilderExtensions.cs
+++ b/src/CommunityToolkit.Aspire.Hosting.Ollama/OllamaResourceBuilderExtensions.cs
@@ -193,7 +193,7 @@ private static T AddServerResourceCommand(
if (!success || endpoint is null)
{
- return new ExecuteCommandResult { Success = false, ErrorMessage = "Invalid connection string" };
+ return new ExecuteCommandResult { Success = false, Message = "Invalid connection string" };
}
var ollamaClient = new OllamaApiClient(endpoint);
From a9ff82bdec9a5ab564f80a20108109334d1817bf Mon Sep 17 00:00:00 2001
From: Aaron Powell
Date: Tue, 12 May 2026 13:34:16 +1000
Subject: [PATCH 03/42] Overriding more packages with CVE's
---
Directory.Packages.props | 4 ++++
.../CommunityToolkit.Aspire.Hosting.MongoDB.Extensions.csproj | 2 ++
2 files changed, 6 insertions(+)
diff --git a/Directory.Packages.props b/Directory.Packages.props
index 69a5fd331..9c4f7c978 100644
--- a/Directory.Packages.props
+++ b/Directory.Packages.props
@@ -131,5 +131,9 @@
+
+
+
+
diff --git a/src/CommunityToolkit.Aspire.Hosting.MongoDB.Extensions/CommunityToolkit.Aspire.Hosting.MongoDB.Extensions.csproj b/src/CommunityToolkit.Aspire.Hosting.MongoDB.Extensions/CommunityToolkit.Aspire.Hosting.MongoDB.Extensions.csproj
index 99e50432e..692c9a91a 100644
--- a/src/CommunityToolkit.Aspire.Hosting.MongoDB.Extensions/CommunityToolkit.Aspire.Hosting.MongoDB.Extensions.csproj
+++ b/src/CommunityToolkit.Aspire.Hosting.MongoDB.Extensions/CommunityToolkit.Aspire.Hosting.MongoDB.Extensions.csproj
@@ -8,6 +8,8 @@
+
+
From 27bb36e0d6c3bf032e4fe7f517b34b1e329994eb Mon Sep 17 00:00:00 2001
From: Aaron Powell
Date: Tue, 12 May 2026 14:42:20 +1000
Subject: [PATCH 04/42] Debugging the TypeScript app host bootstrapper
* Making the nuget.config more explicit in where to find stuff
* Adding a VS Code launch command
* Verbose debugging
Tests still won't pass though
---
.vscode/launch.json | 37 +++++++++++++++++++++
eng/testing/validate-typescript-apphost.ps1 | 18 +++++++---
2 files changed, 50 insertions(+), 5 deletions(-)
create mode 100644 .vscode/launch.json
diff --git a/.vscode/launch.json b/.vscode/launch.json
new file mode 100644
index 000000000..c8d8bea61
--- /dev/null
+++ b/.vscode/launch.json
@@ -0,0 +1,37 @@
+{
+ // Use IntelliSense to learn about possible attributes.
+ // Hover to view descriptions of existing attributes.
+ // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
+ "version": "0.2.0",
+ "configurations": [
+ {
+ "name": "Run TypeScript App Host test harness",
+ "type": "PowerShell",
+ "request": "launch",
+ "script": "${workspaceFolder}/eng/testing/validate-typescript-apphost.ps1",
+ "cwd": "${cwd}",
+ "args": [
+ "-AppHostPath",
+ "./examples/activemq/CommunityToolkit.Aspire.Hosting.${input:project}.AppHost.TypeScript/apphost.ts",
+ "-PackageProjectPath",
+ "./src/CommunityToolkit.Aspire.Hosting.${input:project}/CommunityToolkit.Aspire.Hosting.${input:project}.csproj",
+ "-PackageName",
+ "CommunityToolkit.Aspire.Hosting.${input:project}",
+ "-WaitForResources",
+ "${input:waitForResources}"
+ ]
+ }
+ ],
+ "inputs": [
+ {
+ "id": "project",
+ "type": "promptString",
+ "description": "The project to run the TypeScript app host tests for (sans `CommunityToolkit.Aspire.Hosting.`)."
+ },
+ {
+ "id": "waitForResources",
+ "type": "promptString",
+ "description": "The resources to wait for before running the TypeScript app host tests."
+ }
+ ]
+}
\ No newline at end of file
diff --git a/eng/testing/validate-typescript-apphost.ps1 b/eng/testing/validate-typescript-apphost.ps1
index 5438e8203..2a681e069 100644
--- a/eng/testing/validate-typescript-apphost.ps1
+++ b/eng/testing/validate-typescript-apphost.ps1
@@ -209,6 +209,12 @@ try {
+
+
+
+
+
+
"@ | Set-Content -Path $nugetConfigPath -NoNewline
@@ -218,7 +224,8 @@ try {
Invoke-ExternalCommand "aspire" @(
"restore",
"--apphost", $resolvedAppHostPath,
- "--non-interactive"
+ "--non-interactive",
+ "--log-level", "debug"
)
Invoke-ExternalCommand "npx" @("tsc", "--noEmit")
}
@@ -231,7 +238,8 @@ try {
"secret", "set",
$secretPair[0], $secretPair[1],
"--apphost", $resolvedAppHostPath,
- "--non-interactive"
+ "--non-interactive",
+ "--log-level", "debug"
)
}
@@ -243,7 +251,7 @@ try {
"--isolated",
"--format", "Json",
"--non-interactive",
- "--debug"
+ "--log-level", "debug"
)
$appStarted = $true
@@ -254,7 +262,7 @@ try {
"--status", $WaitStatus,
"--apphost", $resolvedAppHostPath,
"--timeout", $WaitTimeoutSeconds,
- "--debug"
+ "--log-level", "debug"
)
}
@@ -262,7 +270,7 @@ try {
"describe",
"--apphost", $resolvedAppHostPath,
"--format", "Json",
- "--debug"
+ "--log-level", "debug"
)
}
finally {
From b7c15a56b8e737e70f2ba36e3ae9b5ae97b20704 Mon Sep 17 00:00:00 2001
From: Aaron Powell
Date: Tue, 12 May 2026 15:39:58 +1000
Subject: [PATCH 05/42] Fixing a mistake in launching the debugger
---
.vscode/launch.json | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/.vscode/launch.json b/.vscode/launch.json
index c8d8bea61..8d7db0711 100644
--- a/.vscode/launch.json
+++ b/.vscode/launch.json
@@ -12,7 +12,7 @@
"cwd": "${cwd}",
"args": [
"-AppHostPath",
- "./examples/activemq/CommunityToolkit.Aspire.Hosting.${input:project}.AppHost.TypeScript/apphost.ts",
+ "./examples/${input:example-folder}/CommunityToolkit.Aspire.Hosting.${input:project}.AppHost.TypeScript/apphost.ts",
"-PackageProjectPath",
"./src/CommunityToolkit.Aspire.Hosting.${input:project}/CommunityToolkit.Aspire.Hosting.${input:project}.csproj",
"-PackageName",
@@ -28,6 +28,11 @@
"type": "promptString",
"description": "The project to run the TypeScript app host tests for (sans `CommunityToolkit.Aspire.Hosting.`)."
},
+ {
+ "id": "example-folder",
+ "type": "promptString",
+ "description": "The example folder to use for the TypeScript app host tests (e.g. `activemq`)."
+ },
{
"id": "waitForResources",
"type": "promptString",
From 4f7e9e9c37a5d4d73c545fdca6815c02656e0905 Mon Sep 17 00:00:00 2001
From: Aaron Powell
Date: Tue, 12 May 2026 15:40:19 +1000
Subject: [PATCH 06/42] No idea why the API usage was the way that was, but
making it correct now
---
.../apphost.ts | 21 ++++++++++++-------
1 file changed, 13 insertions(+), 8 deletions(-)
diff --git a/examples/data-api-builder/CommunityToolkit.Aspire.Hosting.Azure.DataApiBuilder.AppHost.TypeScript/apphost.ts b/examples/data-api-builder/CommunityToolkit.Aspire.Hosting.Azure.DataApiBuilder.AppHost.TypeScript/apphost.ts
index 7f9eb3ce4..820ea3f04 100644
--- a/examples/data-api-builder/CommunityToolkit.Aspire.Hosting.Azure.DataApiBuilder.AppHost.TypeScript/apphost.ts
+++ b/examples/data-api-builder/CommunityToolkit.Aspire.Hosting.Azure.DataApiBuilder.AppHost.TypeScript/apphost.ts
@@ -1,14 +1,19 @@
-import path from 'node:path';
-import { fileURLToPath } from 'node:url';
-import { createBuilder } from './.modules/aspire.js';
+import path from "node:path";
+import { fileURLToPath } from "node:url";
+import { createBuilder } from "./.modules/aspire.js";
const builder = await createBuilder();
const appHostDirectory = path.dirname(fileURLToPath(import.meta.url));
-const primaryConfigPath = path.join(appHostDirectory, 'dab-config.json');
-const secondaryConfigPath = path.join(appHostDirectory, 'dab-config-2.json');
+const primaryConfigPath = path.join(appHostDirectory, "dab-config.json");
+const secondaryConfigPath = path.join(appHostDirectory, "dab-config-2.json");
-const dab = await builder._addDataAPIBuilderInternal('dab', [primaryConfigPath]);
-const dabWithOptions = await builder._addDataAPIBuilderInternal('dab-with-options', [primaryConfigPath, secondaryConfigPath], 5001);
+const dab = await builder.addDataAPIBuilder("dab", {
+ configFilePaths: [primaryConfigPath],
+});
+const dabWithOptions = await builder.addDataAPIBuilder("dab-with-options", {
+ configFilePaths: [primaryConfigPath, secondaryConfigPath],
+ httpPort: 5001,
+});
const _primaryEndpoint = await dab.primaryEndpoint.get();
const _host = await dab.host.get();
@@ -20,4 +25,4 @@ const _secondaryHost = await dabWithOptions.host.get();
const _secondaryPort = await dabWithOptions.port.get();
const _secondaryUri = await dabWithOptions.uriExpression.get();
-await builder.build().run();
\ No newline at end of file
+await builder.build().run();
From 90a0a3a61a12745d0bc5a335d7f6098a422ce4e3 Mon Sep 17 00:00:00 2001
From: Aaron Powell
Date: Tue, 12 May 2026 16:15:21 +1000
Subject: [PATCH 07/42] The API for getting endpoints was wrong for how 13.3
works - updated to the correct API
---
.gitignore | 1 +
.../apphost.ts | 28 ++++++++--------
.../apphost.ts | 16 +++++-----
.../apphost.ts | 2 +-
.../apphost.ts | 24 +++++++-------
.../apphost.ts | 16 +++++-----
.../apphost.ts | 4 +--
.../apphost.ts | 26 +++++++--------
.../apphost.ts | 10 +++---
.../apphost.ts | 18 +++++------
.../apphost.ts | 16 +++++-----
.../apphost.ts | 24 +++++++-------
.../apphost.ts | 6 ++--
.../apphost.ts | 16 ++++++----
.../apphost.ts | 8 ++---
.../apphost.ts | 14 ++++----
.../apphost.ts | 8 ++---
.../apphost.ts | 8 ++---
.../apphost.ts | 18 +++++------
.../apphost.ts | 2 +-
.../ValidationAppHost/apphost.ts | 12 +++----
.../ValidationAppHost/apphost.ts | 32 +++++++++----------
.../ValidationAppHost/apphost.ts | 13 ++++----
23 files changed, 165 insertions(+), 157 deletions(-)
diff --git a/.gitignore b/.gitignore
index 2ab88c06c..be5421ef2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -28,3 +28,4 @@ pnpm-lock.yaml
yarn.lock
solr-data
*.lscache
+apphost.js
diff --git a/examples/activemq/CommunityToolkit.Aspire.Hosting.ActiveMQ.AppHost.TypeScript/apphost.ts b/examples/activemq/CommunityToolkit.Aspire.Hosting.ActiveMQ.AppHost.TypeScript/apphost.ts
index 334110e13..0c2ba9046 100644
--- a/examples/activemq/CommunityToolkit.Aspire.Hosting.ActiveMQ.AppHost.TypeScript/apphost.ts
+++ b/examples/activemq/CommunityToolkit.Aspire.Hosting.ActiveMQ.AppHost.TypeScript/apphost.ts
@@ -64,27 +64,29 @@ await artemis.withConfBindMount(artemisConfPath);
await artemis2.withDataVolume();
await artemis2.withConfVolume();
-// ---- Property access on ActiveMQServerResourceBase (ExposeProperties = true) ----
+// ---- Endpoint access on ActiveMQServerResourceBase ----
const classicResource = await classic;
-const _classicEndpoint = await classicResource.primaryEndpoint.get();
-const _classicHost = await classicResource.host.get();
-const _classicPort = await classicResource.port.get();
-const _classicUri = await classicResource.uriExpression.get();
+const _classicEndpoint = await classicResource.getEndpoint("tcp");
+const _classicHost = await _classicEndpoint.host();
+const _classicPort = await _classicEndpoint.port();
+const _classicUri = await _classicEndpoint.url();
const _classicCstr = await classicResource.connectionStringExpression.get();
const classic2Resource = await classic2;
-const _classic2Host = await classic2Resource.host.get();
-const _classic2Port = await classic2Resource.port.get();
+const _classic2Endpoint = await classic2Resource.getEndpoint("tcp");
+const _classic2Host = await _classic2Endpoint.host();
+const _classic2Port = await _classic2Endpoint.port();
const artemisResource = await artemis;
-const _artemisEndpoint = await artemisResource.primaryEndpoint.get();
-const _artemisHost = await artemisResource.host.get();
-const _artemisPort = await artemisResource.port.get();
-const _artemisUri = await artemisResource.uriExpression.get();
+const _artemisEndpoint = await artemisResource.getEndpoint("tcp");
+const _artemisHost = await _artemisEndpoint.host();
+const _artemisPort = await _artemisEndpoint.port();
+const _artemisUri = await _artemisEndpoint.url();
const _artemisCstr = await artemisResource.connectionStringExpression.get();
const artemis2Resource = await artemis2;
-const _artemis2Host = await artemis2Resource.host.get();
-const _artemis2Port = await artemis2Resource.port.get();
+const _artemis2Endpoint = await artemis2Resource.getEndpoint("tcp");
+const _artemis2Host = await _artemis2Endpoint.host();
+const _artemis2Port = await _artemis2Endpoint.port();
await builder.build().run();
diff --git a/examples/data-api-builder/CommunityToolkit.Aspire.Hosting.Azure.DataApiBuilder.AppHost.TypeScript/apphost.ts b/examples/data-api-builder/CommunityToolkit.Aspire.Hosting.Azure.DataApiBuilder.AppHost.TypeScript/apphost.ts
index 820ea3f04..fac6caeef 100644
--- a/examples/data-api-builder/CommunityToolkit.Aspire.Hosting.Azure.DataApiBuilder.AppHost.TypeScript/apphost.ts
+++ b/examples/data-api-builder/CommunityToolkit.Aspire.Hosting.Azure.DataApiBuilder.AppHost.TypeScript/apphost.ts
@@ -15,14 +15,14 @@ const dabWithOptions = await builder.addDataAPIBuilder("dab-with-options", {
httpPort: 5001,
});
-const _primaryEndpoint = await dab.primaryEndpoint.get();
-const _host = await dab.host.get();
-const _port = await dab.port.get();
-const _uri = await dab.uriExpression.get();
+const _primaryEndpoint = await dab.getEndpoint("http");
+const _host = await _primaryEndpoint.host();
+const _port = await _primaryEndpoint.port();
+const _uri = await _primaryEndpoint.url();
-const _secondaryPrimaryEndpoint = await dabWithOptions.primaryEndpoint.get();
-const _secondaryHost = await dabWithOptions.host.get();
-const _secondaryPort = await dabWithOptions.port.get();
-const _secondaryUri = await dabWithOptions.uriExpression.get();
+const _secondaryPrimaryEndpoint = await dabWithOptions.getEndpoint("http");
+const _secondaryHost = await _secondaryPrimaryEndpoint.host();
+const _secondaryPort = await _secondaryPrimaryEndpoint.port();
+const _secondaryUri = await _secondaryPrimaryEndpoint.url();
await builder.build().run();
diff --git a/examples/dbgate/CommunityToolkit.Aspire.Hosting.DbGate.AppHost.TypeScript/apphost.ts b/examples/dbgate/CommunityToolkit.Aspire.Hosting.DbGate.AppHost.TypeScript/apphost.ts
index 97c0b2f8c..eb6790e51 100644
--- a/examples/dbgate/CommunityToolkit.Aspire.Hosting.DbGate.AppHost.TypeScript/apphost.ts
+++ b/examples/dbgate/CommunityToolkit.Aspire.Hosting.DbGate.AppHost.TypeScript/apphost.ts
@@ -24,6 +24,6 @@ if (process.env.ASPIRE_COMPILE_ONLY === '1') {
// ---- Property access on DbGateContainerResource (ExposeProperties = true) ----
const dbgateResource = await dbgate;
-const _primaryEndpoint = await dbgateResource.primaryEndpoint.get();
+const _primaryEndpoint = await dbgateResource.getEndpoint("http");
await builder.build().run();
diff --git a/examples/flagd/CommunityToolkit.Aspire.Hosting.Flagd.AppHost.TypeScript/apphost.ts b/examples/flagd/CommunityToolkit.Aspire.Hosting.Flagd.AppHost.TypeScript/apphost.ts
index db2050861..268946923 100644
--- a/examples/flagd/CommunityToolkit.Aspire.Hosting.Flagd.AppHost.TypeScript/apphost.ts
+++ b/examples/flagd/CommunityToolkit.Aspire.Hosting.Flagd.AppHost.TypeScript/apphost.ts
@@ -13,21 +13,21 @@ await flagd.withBindFileSync('./flags');
await flagdDefault.withBindFileSync('./flags', { filename: 'custom-flagd.json' });
const flagdResource = await flagd;
-const _primaryEndpoint = await flagdResource.primaryEndpoint.get();
-const _host = await flagdResource.host.get();
-const _port = await flagdResource.port.get();
-const _healthCheckEndpoint = await flagdResource.healthCheckEndpoint.get();
-const _ofrepEndpoint = await flagdResource.ofrepEndpoint.get();
-const _uriExpression = await flagdResource.uriExpression.get();
+const _primaryEndpoint = await flagdResource.getEndpoint("http");
+const _host = await _primaryEndpoint.host.get();
+const _port = await _primaryEndpoint.port.get();
+const _healthCheckEndpoint = await flagdResource.getEndpoint("health");
+const _ofrepEndpoint = await flagdResource.getEndpoint("ofrep");
+const _uriExpression = await _primaryEndpoint.url.get();
const _connectionStringExpression = await flagdResource.connectionStringExpression.get();
const flagdDefaultResource = await flagdDefault;
-const _defaultPrimaryEndpoint = await flagdDefaultResource.primaryEndpoint.get();
-const _defaultHost = await flagdDefaultResource.host.get();
-const _defaultPort = await flagdDefaultResource.port.get();
-const _defaultHealthCheckEndpoint = await flagdDefaultResource.healthCheckEndpoint.get();
-const _defaultOfrepEndpoint = await flagdDefaultResource.ofrepEndpoint.get();
-const _defaultUriExpression = await flagdDefaultResource.uriExpression.get();
+const _defaultPrimaryEndpoint = await flagdDefaultResource.getEndpoint("http");
+const _defaultHost = await _defaultPrimaryEndpoint.host.get();
+const _defaultPort = await _defaultPrimaryEndpoint.port.get();
+const _defaultHealthCheckEndpoint = await flagdDefaultResource.getEndpoint("health");
+const _defaultOfrepEndpoint = await flagdDefaultResource.getEndpoint("ofrep");
+const _defaultUriExpression = await _defaultPrimaryEndpoint.url.get();
const _defaultConnectionStringExpression = await flagdDefaultResource.connectionStringExpression.get();
await builder.build().run();
diff --git a/examples/goff/CommunityToolkit.Aspire.Hosting.GoFeatureFlag.AppHost.TypeScript/apphost.ts b/examples/goff/CommunityToolkit.Aspire.Hosting.GoFeatureFlag.AppHost.TypeScript/apphost.ts
index aba17ec23..b953918e7 100644
--- a/examples/goff/CommunityToolkit.Aspire.Hosting.GoFeatureFlag.AppHost.TypeScript/apphost.ts
+++ b/examples/goff/CommunityToolkit.Aspire.Hosting.GoFeatureFlag.AppHost.TypeScript/apphost.ts
@@ -15,17 +15,17 @@ const goff2 = await builder.addGoFeatureFlag("goff2");
await goff2.withGoffBindMount("./goff");
const goffResource = await goff;
-const _primaryEndpoint = await goffResource.primaryEndpoint.get();
-const _host = await goffResource.host.get();
-const _port = await goffResource.port.get();
-const _uri = await goffResource.uriExpression.get();
+const _primaryEndpoint = await goffResource.getEndpoint("http");
+const _host = await _primaryEndpoint.host.get();
+const _port = await _primaryEndpoint.port.get();
+const _uri = await _primaryEndpoint.url.get();
const _connectionString = await goffResource.connectionStringExpression.get();
const goff2Resource = await goff2;
-const _primaryEndpoint2 = await goff2Resource.primaryEndpoint.get();
-const _host2 = await goff2Resource.host.get();
-const _port2 = await goff2Resource.port.get();
-const _uri2 = await goff2Resource.uriExpression.get();
+const _primaryEndpoint2 = await goff2Resource.getEndpoint("http");
+const _host2 = await _primaryEndpoint2.host.get();
+const _port2 = await _primaryEndpoint2.port.get();
+const _uri2 = await _primaryEndpoint2.url.get();
const _connectionString2 = await goff2Resource.connectionStringExpression.get();
await builder.build().run();
diff --git a/examples/k6/CommunityToolkit.Aspire.Hosting.k6.AppHost.TypeScript/apphost.ts b/examples/k6/CommunityToolkit.Aspire.Hosting.k6.AppHost.TypeScript/apphost.ts
index dc4f121a8..911f15f42 100644
--- a/examples/k6/CommunityToolkit.Aspire.Hosting.k6.AppHost.TypeScript/apphost.ts
+++ b/examples/k6/CommunityToolkit.Aspire.Hosting.k6.AppHost.TypeScript/apphost.ts
@@ -32,9 +32,9 @@ await browserK6.withK6OtlpEnvironment();
// ---- Property access on K6Resource (ExposeProperties = true) ----
const defaultK6Resource = await defaultK6;
-const _defaultPrimaryEndpoint = await defaultK6Resource.primaryEndpoint.get();
+const _defaultPrimaryEndpoint = await defaultK6Resource.getEndpoint("http");
const browserK6Resource = await browserK6;
-const _browserPrimaryEndpoint = await browserK6Resource.primaryEndpoint.get();
+const _browserPrimaryEndpoint = await browserK6Resource.getEndpoint("http");
await builder.build().run();
diff --git a/examples/kurrentdb/CommunityToolkit.Aspire.Hosting.KurrentDB.AppHost.TypeScript/apphost.ts b/examples/kurrentdb/CommunityToolkit.Aspire.Hosting.KurrentDB.AppHost.TypeScript/apphost.ts
index aa88b6d8b..d3d7137da 100644
--- a/examples/kurrentdb/CommunityToolkit.Aspire.Hosting.KurrentDB.AppHost.TypeScript/apphost.ts
+++ b/examples/kurrentdb/CommunityToolkit.Aspire.Hosting.KurrentDB.AppHost.TypeScript/apphost.ts
@@ -26,26 +26,26 @@ await bindMountBacked.withDataBindMount(bindMountRoot);
// withDataVolume — default overload
await defaultVolumeBacked.withDataVolume();
-// ---- Property access on KurrentDBResource (ExposeProperties = true) ----
+// ---- Endpoint access on KurrentDBResource ----
const volumeBackedResource = await volumeBacked;
-const _volumeEndpoint = await volumeBackedResource.primaryEndpoint.get();
-const _volumeHost = await volumeBackedResource.host.get();
-const _volumePort = await volumeBackedResource.port.get();
-const _volumeUri = await volumeBackedResource.uriExpression.get();
+const _volumeEndpoint = await volumeBackedResource.getEndpoint("http");
+const _volumeHost = await _volumeEndpoint.host.get();
+const _volumePort = await _volumeEndpoint.port.get();
+const _volumeUri = await _volumeEndpoint.url.get();
const _volumeConnectionString = await volumeBackedResource.connectionStringExpression.get();
const bindMountBackedResource = await bindMountBacked;
-const _bindEndpoint = await bindMountBackedResource.primaryEndpoint.get();
-const _bindHost = await bindMountBackedResource.host.get();
-const _bindPort = await bindMountBackedResource.port.get();
-const _bindUri = await bindMountBackedResource.uriExpression.get();
+const _bindEndpoint = await bindMountBackedResource.getEndpoint("http");
+const _bindHost = await _bindEndpoint.host.get();
+const _bindPort = await _bindEndpoint.port.get();
+const _bindUri = await _bindEndpoint.url.get();
const _bindConnectionString = await bindMountBackedResource.connectionStringExpression.get();
const defaultVolumeBackedResource = await defaultVolumeBacked;
-const _defaultVolumeEndpoint = await defaultVolumeBackedResource.primaryEndpoint.get();
-const _defaultVolumeHost = await defaultVolumeBackedResource.host.get();
-const _defaultVolumePort = await defaultVolumeBackedResource.port.get();
-const _defaultVolumeUri = await defaultVolumeBackedResource.uriExpression.get();
+const _defaultVolumeEndpoint = await defaultVolumeBackedResource.getEndpoint("http");
+const _defaultVolumeHost = await _defaultVolumeEndpoint.host.get();
+const _defaultVolumePort = await _defaultVolumeEndpoint.port.get();
+const _defaultVolumeUri = await _defaultVolumeEndpoint.url.get();
const _defaultVolumeConnectionString = await defaultVolumeBackedResource.connectionStringExpression.get();
await builder.build().run();
diff --git a/examples/lavinmq/CommunityToolkit.Aspire.Hosting.LavinMQ.AppHost.TypeScript/apphost.ts b/examples/lavinmq/CommunityToolkit.Aspire.Hosting.LavinMQ.AppHost.TypeScript/apphost.ts
index c3d3adc9c..65d1733b0 100644
--- a/examples/lavinmq/CommunityToolkit.Aspire.Hosting.LavinMQ.AppHost.TypeScript/apphost.ts
+++ b/examples/lavinmq/CommunityToolkit.Aspire.Hosting.LavinMQ.AppHost.TypeScript/apphost.ts
@@ -22,12 +22,12 @@ const bindBroker = await builder.addLavinMQ("bind-broker", {
});
await bindBroker.withDataBindMount(bindMountPath);
-// ---- Property access on LavinMQContainerResource (ExposeProperties = true) ----
+// ---- Endpoint access on LavinMQContainerResource ----
const volumeBrokerResource = volumeBroker;
-const _primaryEndpoint = await volumeBrokerResource.primaryEndpoint.get();
-const _host = await volumeBrokerResource.host.get();
-const _port = await volumeBrokerResource.port.get();
-const _uriExpression = await volumeBrokerResource.uriExpression.get();
+const _primaryEndpoint = await volumeBrokerResource.getEndpoint("amqp");
+const _host = await _primaryEndpoint.host.get();
+const _port = await _primaryEndpoint.port.get();
+const _uriExpression = await _primaryEndpoint.url.get();
const _connectionStringExpression = await volumeBrokerResource.connectionStringExpression.get();
await builder.build().run();
diff --git a/examples/mailpit/CommunityToolkit.Aspire.Hosting.MailPit.AppHost.TypeScript/apphost.ts b/examples/mailpit/CommunityToolkit.Aspire.Hosting.MailPit.AppHost.TypeScript/apphost.ts
index 75f529617..ea4b4df5c 100644
--- a/examples/mailpit/CommunityToolkit.Aspire.Hosting.MailPit.AppHost.TypeScript/apphost.ts
+++ b/examples/mailpit/CommunityToolkit.Aspire.Hosting.MailPit.AppHost.TypeScript/apphost.ts
@@ -23,19 +23,19 @@ await mailpit.withDataVolume("mailpit-data");
// withDataBindMount — bind mount a temporary host directory
await mailpitDefault.withDataBindMount(bindMountPath);
-// ---- Property access on MailPitContainerResource (ExposeProperties = true) ----
+// ---- Endpoint access on MailPitContainerResource ----
const mailpitResource = await mailpit;
-const _mailpitEndpoint = await mailpitResource.primaryEndpoint.get();
-const _mailpitHost = await mailpitResource.host.get();
-const _mailpitPort = await mailpitResource.port.get();
-const _mailpitUri = await mailpitResource.uriExpression.get();
+const _mailpitEndpoint = await mailpitResource.getEndpoint("smtp");
+const _mailpitHost = await _mailpitEndpoint.host.get();
+const _mailpitPort = await _mailpitEndpoint.port.get();
+const _mailpitUri = await _mailpitEndpoint.url.get();
const _mailpitConnectionString = await mailpitResource.connectionStringExpression.get();
const mailpitDefaultResource = await mailpitDefault;
-const _mailpitDefaultEndpoint = await mailpitDefaultResource.primaryEndpoint.get();
-const _mailpitDefaultHost = await mailpitDefaultResource.host.get();
-const _mailpitDefaultPort = await mailpitDefaultResource.port.get();
-const _mailpitDefaultUri = await mailpitDefaultResource.uriExpression.get();
+const _mailpitDefaultEndpoint = await mailpitDefaultResource.getEndpoint("smtp");
+const _mailpitDefaultHost = await _mailpitDefaultEndpoint.host.get();
+const _mailpitDefaultPort = await _mailpitDefaultEndpoint.port.get();
+const _mailpitDefaultUri = await _mailpitDefaultEndpoint.url.get();
const _mailpitDefaultConnectionString = await mailpitDefaultResource.connectionStringExpression.get();
await builder.build().run();
diff --git a/examples/meilisearch/CommunityToolkit.Aspire.Hosting.Meilisearch.AppHost.TypeScript/apphost.ts b/examples/meilisearch/CommunityToolkit.Aspire.Hosting.Meilisearch.AppHost.TypeScript/apphost.ts
index 572c5541c..d2d8710aa 100644
--- a/examples/meilisearch/CommunityToolkit.Aspire.Hosting.Meilisearch.AppHost.TypeScript/apphost.ts
+++ b/examples/meilisearch/CommunityToolkit.Aspire.Hosting.Meilisearch.AppHost.TypeScript/apphost.ts
@@ -25,17 +25,17 @@ await meilisearchWithDefaults.withDataBindMount(bindMountSource);
// ---- Property access on MeilisearchResource (ExposeProperties = true) ----
const meilisearchResource = meilisearch;
-const _primaryEndpoint = await meilisearchResource.primaryEndpoint.get();
-const _host = await meilisearchResource.host.get();
-const _port = await meilisearchResource.port.get();
-const _uri = await meilisearchResource.uriExpression.get();
+const _primaryEndpoint = await meilisearchResource.getEndpoint('http');
+const _host = await _primaryEndpoint.host.get();
+const _port = await _primaryEndpoint.port.get();
+const _uri = await _primaryEndpoint.url.get();
const _connectionString = await meilisearchResource.connectionStringExpression.get();
const meilisearchWithDefaultsResource = meilisearchWithDefaults;
-const _defaultsPrimaryEndpoint = await meilisearchWithDefaultsResource.primaryEndpoint.get();
-const _defaultsHost = await meilisearchWithDefaultsResource.host.get();
-const _defaultsPort = await meilisearchWithDefaultsResource.port.get();
-const _defaultsUri = await meilisearchWithDefaultsResource.uriExpression.get();
+const _defaultsPrimaryEndpoint = await meilisearchWithDefaultsResource.getEndpoint('http');
+const _defaultsHost = await _defaultsPrimaryEndpoint.host.get();
+const _defaultsPort = await _defaultsPrimaryEndpoint.port.get();
+const _defaultsUri = await _defaultsPrimaryEndpoint.url.get();
const _defaultsConnectionString = await meilisearchWithDefaultsResource.connectionStringExpression.get();
await builder.build().run();
diff --git a/examples/minio/CommunityToolkit.Aspire.Hosting.Minio.AppHost.TypeScript/apphost.ts b/examples/minio/CommunityToolkit.Aspire.Hosting.Minio.AppHost.TypeScript/apphost.ts
index a5990dc2c..841edfd1c 100644
--- a/examples/minio/CommunityToolkit.Aspire.Hosting.Minio.AppHost.TypeScript/apphost.ts
+++ b/examples/minio/CommunityToolkit.Aspire.Hosting.Minio.AppHost.TypeScript/apphost.ts
@@ -27,24 +27,24 @@ await minioBindMount.withDataBindMount("./runtime-data/minio-bind");
const minioResource = await minio;
const _minioRootUser = await minioResource.rootUser.get();
const _minioPasswordParameter = await minioResource.passwordParameter.get();
-const _minioPrimaryEndpoint = await minioResource.primaryEndpoint.get();
-const _minioHost = await minioResource.host.get();
-const _minioPort = await minioResource.port.get();
-const _minioUri = await minioResource.uriExpression.get();
+const _minioPrimaryEndpoint = await minioResource.getEndpoint("http");
+const _minioHost = await _minioPrimaryEndpoint.host.get();
+const _minioPort = await _minioPrimaryEndpoint.port.get();
+const _minioUri = await _minioPrimaryEndpoint.url.get();
const _minioConnectionString = await minioResource.connectionStringExpression.get();
const minioDefaultsResource = await minioDefaults;
-const _defaultsPrimaryEndpoint = await minioDefaultsResource.primaryEndpoint.get();
-const _defaultsHost = await minioDefaultsResource.host.get();
-const _defaultsPort = await minioDefaultsResource.port.get();
-const _defaultsUri = await minioDefaultsResource.uriExpression.get();
+const _defaultsPrimaryEndpoint = await minioDefaultsResource.getEndpoint("http");
+const _defaultsHost = await _defaultsPrimaryEndpoint.host.get();
+const _defaultsPort = await _defaultsPrimaryEndpoint.port.get();
+const _defaultsUri = await _defaultsPrimaryEndpoint.url.get();
const _defaultsConnectionString = await minioDefaultsResource.connectionStringExpression.get();
const minioBindMountResource = await minioBindMount;
-const _bindMountPrimaryEndpoint = await minioBindMountResource.primaryEndpoint.get();
-const _bindMountHost = await minioBindMountResource.host.get();
-const _bindMountPort = await minioBindMountResource.port.get();
-const _bindMountUri = await minioBindMountResource.uriExpression.get();
+const _bindMountPrimaryEndpoint = await minioBindMountResource.getEndpoint("http");
+const _bindMountHost = await _bindMountPrimaryEndpoint.host.get();
+const _bindMountPort = await _bindMountPrimaryEndpoint.port.get();
+const _bindMountUri = await _bindMountPrimaryEndpoint.url.get();
const _bindMountConnectionString = await minioBindMountResource.connectionStringExpression.get();
await builder.build().run();
diff --git a/examples/mysql-ext/CommunityToolkit.Aspire.Hosting.MySql.Extensions.AppHost.TypeScript/apphost.ts b/examples/mysql-ext/CommunityToolkit.Aspire.Hosting.MySql.Extensions.AppHost.TypeScript/apphost.ts
index 128736700..7c29d7c35 100644
--- a/examples/mysql-ext/CommunityToolkit.Aspire.Hosting.MySql.Extensions.AppHost.TypeScript/apphost.ts
+++ b/examples/mysql-ext/CommunityToolkit.Aspire.Hosting.MySql.Extensions.AppHost.TypeScript/apphost.ts
@@ -15,9 +15,9 @@ await mysql
});
const resolvedMySql = await mysql;
-const _primaryEndpoint = await resolvedMySql.primaryEndpoint.get();
-const _host = await resolvedMySql.host.get();
-const _port = await resolvedMySql.port.get();
+const _primaryEndpoint = await resolvedMySql.getEndpoint("tcp");
+const _host = await _primaryEndpoint.host.get();
+const _port = await _primaryEndpoint.port.get();
const _connectionString = await resolvedMySql.connectionStringExpression.get();
await builder.build().run();
diff --git a/examples/papercut/CommunityToolkit.Aspire.Hosting.PapercutSmtp.AppHost.TypeScript/apphost.ts b/examples/papercut/CommunityToolkit.Aspire.Hosting.PapercutSmtp.AppHost.TypeScript/apphost.ts
index 6d156c932..a7d77cbf6 100644
--- a/examples/papercut/CommunityToolkit.Aspire.Hosting.PapercutSmtp.AppHost.TypeScript/apphost.ts
+++ b/examples/papercut/CommunityToolkit.Aspire.Hosting.PapercutSmtp.AppHost.TypeScript/apphost.ts
@@ -11,17 +11,19 @@ const papercut = await builder.addPapercutSmtp("papercut", {
// addPapercutSmtp — minimal overload (defaults)
const papercutDefault = await builder.addPapercutSmtp("papercut-default");
-// ---- Property access on PapercutSmtpContainerResource (ExposeProperties = true) ----
+// ---- Endpoint access on PapercutSmtpContainerResource ----
const papercutResource = papercut;
-const _papercutHost = await papercutResource.host.get();
-const _papercutPort = await papercutResource.port.get();
-const _papercutUri = await papercutResource.uriExpression.get();
+const _papercutEndpoint = await papercutResource.getEndpoint("smtp");
+const _papercutHost = await _papercutEndpoint.host.get();
+const _papercutPort = await _papercutEndpoint.port.get();
+const _papercutUri = await _papercutEndpoint.url.get();
const _papercutConnectionString = await papercutResource.connectionStringExpression.get();
const papercutDefaultResource = papercutDefault;
-const _papercutDefaultHost = await papercutDefaultResource.host.get();
-const _papercutDefaultPort = await papercutDefaultResource.port.get();
-const _papercutDefaultUri = await papercutDefaultResource.uriExpression.get();
+const _papercutDefaultEndpoint = await papercutDefaultResource.getEndpoint("smtp");
+const _papercutDefaultHost = await _papercutDefaultEndpoint.host.get();
+const _papercutDefaultPort = await _papercutDefaultEndpoint.port.get();
+const _papercutDefaultUri = await _papercutDefaultEndpoint.url.get();
const _papercutDefaultConnectionString = await papercutDefaultResource.connectionStringExpression.get();
await builder.build().run();
diff --git a/examples/postgres-ext/CommunityToolkit.Aspire.Hosting.PostgreSQL.Extensions.AppHost.TypeScript/apphost.ts b/examples/postgres-ext/CommunityToolkit.Aspire.Hosting.PostgreSQL.Extensions.AppHost.TypeScript/apphost.ts
index 2dd5988b6..705595279 100644
--- a/examples/postgres-ext/CommunityToolkit.Aspire.Hosting.PostgreSQL.Extensions.AppHost.TypeScript/apphost.ts
+++ b/examples/postgres-ext/CommunityToolkit.Aspire.Hosting.PostgreSQL.Extensions.AppHost.TypeScript/apphost.ts
@@ -11,10 +11,10 @@ await database.withFlywayMigration('flyway-migration', './migrations');
await database.withFlywayRepair('flyway-repair', './migrations');
const resolvedPostgres = await postgres;
-const _primaryEndpoint = await resolvedPostgres.primaryEndpoint.get();
-const _host = await resolvedPostgres.host.get();
-const _port = await resolvedPostgres.port.get();
-const _serverUri = await resolvedPostgres.uriExpression.get();
+const _primaryEndpoint = await resolvedPostgres.getEndpoint("tcp");
+const _host = await _primaryEndpoint.host.get();
+const _port = await _primaryEndpoint.port.get();
+const _serverUri = await _primaryEndpoint.url.get();
const _serverJdbcConnectionString = await resolvedPostgres.jdbcConnectionString.get();
const resolvedDatabase = await database;
diff --git a/examples/sftp/CommunityToolkit.Aspire.Hosting.Sftp.AppHost.TypeScript/apphost.ts b/examples/sftp/CommunityToolkit.Aspire.Hosting.Sftp.AppHost.TypeScript/apphost.ts
index 0555c906d..dd224cd12 100644
--- a/examples/sftp/CommunityToolkit.Aspire.Hosting.Sftp.AppHost.TypeScript/apphost.ts
+++ b/examples/sftp/CommunityToolkit.Aspire.Hosting.Sftp.AppHost.TypeScript/apphost.ts
@@ -31,15 +31,17 @@ await sftpDefaults.withEnvironment('SFTP_USERS', 'bar:pass:::upload');
if (process.env.ASPIRE_RUNTIME_SMOKE !== '1') {
// ---- Property access on SftpContainerResource (ExposeProperties = true) ----
const sftpResource = await sftp;
- const _host = await sftpResource.host.get();
- const _port = await sftpResource.port.get();
- const _uri = sftpResource.uriExpression;
+ const _endpoint = await sftpResource.getEndpoint('sftp');
+ const _host = await _endpoint.host.get();
+ const _port = await _endpoint.port.get();
+ const _uri = await _endpoint.url.get();
const _connectionString = sftpResource.connectionStringExpression;
const sftpDefaultsResource = await sftpDefaults;
- const _defaultHost = await sftpDefaultsResource.host.get();
- const _defaultPort = await sftpDefaultsResource.port.get();
- const _defaultUri = sftpDefaultsResource.uriExpression;
+ const _defaultEndpoint = await sftpDefaultsResource.getEndpoint('sftp');
+ const _defaultHost = await _defaultEndpoint.host.get();
+ const _defaultPort = await _defaultEndpoint.port.get();
+ const _defaultUri = await _defaultEndpoint.url.get();
const _defaultConnectionString = sftpDefaultsResource.connectionStringExpression;
}
diff --git a/examples/solr/CommunityToolkit.Aspire.Hosting.Solr.AppHost.TypeScript/apphost.ts b/examples/solr/CommunityToolkit.Aspire.Hosting.Solr.AppHost.TypeScript/apphost.ts
index 0ee6a98d5..1874f69cc 100644
--- a/examples/solr/CommunityToolkit.Aspire.Hosting.Solr.AppHost.TypeScript/apphost.ts
+++ b/examples/solr/CommunityToolkit.Aspire.Hosting.Solr.AppHost.TypeScript/apphost.ts
@@ -19,12 +19,12 @@ await solr.coreName.set(builderCoreName);
await solr.withDataVolume({ name: "solr-data" });
const resolvedSolr = await solr;
-const _primaryEndpoint = await resolvedSolr.primaryEndpoint.get();
-const _host = await resolvedSolr.host.get();
-const _port = await resolvedSolr.port.get();
+const _primaryEndpoint = await resolvedSolr.getEndpoint("http");
+const _host = await _primaryEndpoint.host.get();
+const _port = await _primaryEndpoint.port.get();
const _coreName: string = await resolvedSolr.coreName.get();
const _connectionString = await resolvedSolr.connectionStringExpression.get();
-const _uriExpression = await resolvedSolr.uriExpression.get();
+const _uriExpression = await _primaryEndpoint.url.get();
const bindMountedSolr = await builder.addSolr("solr-bind", {
port: 8984,
diff --git a/examples/sqlite/CommunityToolkit.Aspire.Hosting.Sqlite.AppHost.TypeScript/apphost.ts b/examples/sqlite/CommunityToolkit.Aspire.Hosting.Sqlite.AppHost.TypeScript/apphost.ts
index e8fda9c9f..f42133359 100644
--- a/examples/sqlite/CommunityToolkit.Aspire.Hosting.Sqlite.AppHost.TypeScript/apphost.ts
+++ b/examples/sqlite/CommunityToolkit.Aspire.Hosting.Sqlite.AppHost.TypeScript/apphost.ts
@@ -14,11 +14,11 @@ const builder = await createBuilder();
await builder.subscribeAfterResourcesCreated(async (event) => {
const model = await event.model.get();
const sqliteWeb = asSqliteWebResource(await model.findResourceByName("sqlite-browser"));
- const _sqliteWebEndpoint = await sqliteWeb.primaryEndpoint.get();
- const _sqliteWebHost = await sqliteWeb.host.get();
- const _sqliteWebPort = await sqliteWeb.port.get();
+ const _sqliteWebEndpoint = await sqliteWeb.getEndpoint("http");
+ const _sqliteWebHost = await _sqliteWebEndpoint.host.get();
+ const _sqliteWebPort = await _sqliteWebEndpoint.port.get();
const _sqliteWebConnectionString = await sqliteWeb.connectionStringExpression.get();
- const _sqliteWebUri = await sqliteWeb.uriExpression.get();
+ const _sqliteWebUri = await _sqliteWebEndpoint.url.get();
});
const sqlite = await builder.addSqlite("sqlite", {
diff --git a/examples/surrealdb/CommunityToolkit.Aspire.Hosting.SurrealDb.AppHost.TypeScript/apphost.ts b/examples/surrealdb/CommunityToolkit.Aspire.Hosting.SurrealDb.AppHost.TypeScript/apphost.ts
index ed9f1d637..8565aa0f7 100644
--- a/examples/surrealdb/CommunityToolkit.Aspire.Hosting.SurrealDb.AppHost.TypeScript/apphost.ts
+++ b/examples/surrealdb/CommunityToolkit.Aspire.Hosting.SurrealDb.AppHost.TypeScript/apphost.ts
@@ -27,11 +27,11 @@ mounted = await mounted.withDataBindMount('./data');
mounted = await mounted.withInitFiles('./seed.surql');
const primaryResource = await primary;
-const _primaryEndpoint = await primaryResource.primaryEndpoint.get();
-const _primaryHost = await primaryResource.host.get();
-const _primaryPort = await primaryResource.port.get();
+const _primaryEndpoint = await primaryResource.getEndpoint('tcp');
+const _primaryHost = await _primaryEndpoint.host.get();
+const _primaryPort = await _primaryEndpoint.port.get();
const _primaryPasswordParameter = await primaryResource.passwordParameter.get();
-const _primaryUri = await primaryResource.uriExpression.get();
+const _primaryUri = await _primaryEndpoint.url.get();
const _primaryConnectionString = await primaryResource.connectionStringExpression.get();
const namespaceResource = await appNamespace;
@@ -53,10 +53,10 @@ const _databaseParentName = await _databaseParent.name.get();
const _databaseServerName = await (await _databaseParent.parent.get()).name.get();
const mountedResource = await mounted;
-const _mountedEndpoint = await mountedResource.primaryEndpoint.get();
-const _mountedHost = await mountedResource.host.get();
-const _mountedPort = await mountedResource.port.get();
-const _mountedUri = await mountedResource.uriExpression.get();
+const _mountedEndpoint = await mountedResource.getEndpoint('tcp');
+const _mountedHost = await _mountedEndpoint.host.get();
+const _mountedPort = await _mountedEndpoint.port.get();
+const _mountedUri = await _mountedEndpoint.url.get();
const _mountedConnectionString = await mountedResource.connectionStringExpression.get();
-await builder.build().run();
\ No newline at end of file
+await builder.build().run();
diff --git a/examples/umami/CommunityToolkit.Aspire.Hosting.Umami.AppHost.TypeScript/apphost.ts b/examples/umami/CommunityToolkit.Aspire.Hosting.Umami.AppHost.TypeScript/apphost.ts
index 82a479111..ce2902b7f 100644
--- a/examples/umami/CommunityToolkit.Aspire.Hosting.Umami.AppHost.TypeScript/apphost.ts
+++ b/examples/umami/CommunityToolkit.Aspire.Hosting.Umami.AppHost.TypeScript/apphost.ts
@@ -21,6 +21,6 @@ await umamiDefault.withPostgreSQL(analyticsDatabase);
// Property access on UmamiResource (ExposeProperties = true)
const umamiResource = await umami;
-const _primaryEndpoint = await umamiResource.primaryEndpoint.get();
+const _primaryEndpoint = await umamiResource.getEndpoint("http");
await builder.build().run();
diff --git a/playground/polyglot/TypeScript/CommunityToolkit.Aspire.Hosting.Azure.Extensions/ValidationAppHost/apphost.ts b/playground/polyglot/TypeScript/CommunityToolkit.Aspire.Hosting.Azure.Extensions/ValidationAppHost/apphost.ts
index f55e4d888..e699fa275 100644
--- a/playground/polyglot/TypeScript/CommunityToolkit.Aspire.Hosting.Azure.Extensions/ValidationAppHost/apphost.ts
+++ b/playground/polyglot/TypeScript/CommunityToolkit.Aspire.Hosting.Azure.Extensions/ValidationAppHost/apphost.ts
@@ -17,9 +17,9 @@ await blobs.withAzureStorageExplorer({
configureContainer: async (explorer) => {
await explorer.withHostPort({ port: 8068 });
- const _endpoint = await explorer.primaryEndpoint.get();
- const _host = await explorer.host.get();
- const _port = await explorer.port.get();
+ const _endpoint = await explorer.getEndpoint('http');
+ const _host = await _endpoint.host();
+ const _port = await _endpoint.port();
}
});
@@ -31,9 +31,9 @@ await queues.withAzureStorageExplorer({
const tables = await storage.addTables("tables");
await tables.withAzureStorageExplorer({
configureContainer: async (explorer) => {
- const _endpoint = await explorer.primaryEndpoint.get();
- const _host = await explorer.host.get();
- const _port = await explorer.port.get();
+ const _endpoint = await explorer.getEndpoint('http');
+ const _host = await _endpoint.host();
+ const _port = await _endpoint.port();
},
name: "tables-explorer"
});
diff --git a/playground/polyglot/TypeScript/CommunityToolkit.Aspire.Hosting.Ollama/ValidationAppHost/apphost.ts b/playground/polyglot/TypeScript/CommunityToolkit.Aspire.Hosting.Ollama/ValidationAppHost/apphost.ts
index bd0f72380..916035202 100644
--- a/playground/polyglot/TypeScript/CommunityToolkit.Aspire.Hosting.Ollama/ValidationAppHost/apphost.ts
+++ b/playground/polyglot/TypeScript/CommunityToolkit.Aspire.Hosting.Ollama/ValidationAppHost/apphost.ts
@@ -7,10 +7,10 @@ const runtimeOllama = builder.addOllama('ollama-runtime');
const runtimeOllamaResource = await runtimeOllama;
const _runtimeModels = await runtimeOllamaResource.models.get();
-const _runtimePrimaryEndpoint = await runtimeOllamaResource.primaryEndpoint.get();
-const _runtimeHost = await runtimeOllamaResource.host.get();
-const _runtimePort = await runtimeOllamaResource.port.get();
-const _runtimeUri = await runtimeOllamaResource.uriExpression.get();
+const _runtimePrimaryEndpoint = await runtimeOllamaResource.getEndpoint('http');
+const _runtimeHost = await _runtimePrimaryEndpoint.host();
+const _runtimePort = await _runtimePrimaryEndpoint.port();
+const _runtimeUri = await _runtimePrimaryEndpoint.url();
const _runtimeConnectionString = await runtimeOllamaResource.connectionStringExpression.get();
// Compile-time coverage for the broader exported surface, including variants that are not
@@ -32,10 +32,10 @@ if (includeCompileOnlyScenarios) {
await openWebUI.withDataVolume({ name: 'openwebui-data' });
await openWebUI.withHostPort({ port: 3001 });
- const _openWebUiPrimaryEndpoint = await openWebUI.primaryEndpoint.get();
- const _openWebUiHost = await openWebUI.host.get();
- const _openWebUiPort = await openWebUI.port.get();
- const _openWebUiUri = await openWebUI.uriExpression.get();
+ const _openWebUiPrimaryEndpoint = await openWebUI.getEndpoint('http');
+ const _openWebUiHost = await _openWebUiPrimaryEndpoint.host();
+ const _openWebUiPort = await _openWebUiPrimaryEndpoint.port();
+ const _openWebUiUri = await _openWebUiPrimaryEndpoint.url();
const _openWebUiConnectionString = await openWebUI.connectionStringExpression.get();
const _openWebUiOllamas = await openWebUI.ollamaResources.get();
}
@@ -43,10 +43,10 @@ if (includeCompileOnlyScenarios) {
const resolvedContainerOllama = await containerOllama;
const _containerModels = await resolvedContainerOllama.models.get();
- const _containerPrimaryEndpoint = await resolvedContainerOllama.primaryEndpoint.get();
- const _containerHost = await resolvedContainerOllama.host.get();
- const _containerPort = await resolvedContainerOllama.port.get();
- const _containerUri = await resolvedContainerOllama.uriExpression.get();
+ const _containerPrimaryEndpoint = await resolvedContainerOllama.getEndpoint('http');
+ const _containerHost = await _containerPrimaryEndpoint.host();
+ const _containerPort = await _containerPrimaryEndpoint.port();
+ const _containerUri = await _containerPrimaryEndpoint.url();
const _containerConnectionString = await resolvedContainerOllama.connectionStringExpression.get();
const resolvedAutoNamedModel = await autoNamedModel;
@@ -76,10 +76,10 @@ if (includeCompileOnlyScenarios) {
const resolvedLocalOllama = await localOllama;
const _localModels = await resolvedLocalOllama.models.get();
- const _localPrimaryEndpoint = await resolvedLocalOllama.primaryEndpoint.get();
- const _localHost = await resolvedLocalOllama.host.get();
- const _localPort = await resolvedLocalOllama.port.get();
- const _localUri = await resolvedLocalOllama.uriExpression.get();
+ const _localPrimaryEndpoint = await resolvedLocalOllama.getEndpoint('http');
+ const _localHost = await _localPrimaryEndpoint.host();
+ const _localPort = await _localPrimaryEndpoint.port();
+ const _localUri = await _localPrimaryEndpoint.url();
const _localConnectionString = await resolvedLocalOllama.connectionStringExpression.get();
const resolvedLocalAutoNamedModel = await localAutoNamedModel;
diff --git a/playground/polyglot/TypeScript/CommunityToolkit.Aspire.Hosting.RavenDB/ValidationAppHost/apphost.ts b/playground/polyglot/TypeScript/CommunityToolkit.Aspire.Hosting.RavenDB/ValidationAppHost/apphost.ts
index dd9b6cac8..495d56baf 100644
--- a/playground/polyglot/TypeScript/CommunityToolkit.Aspire.Hosting.RavenDB/ValidationAppHost/apphost.ts
+++ b/playground/polyglot/TypeScript/CommunityToolkit.Aspire.Hosting.RavenDB/ValidationAppHost/apphost.ts
@@ -29,18 +29,19 @@ await raven.withLogVolume({
});
const ravenResource = await raven;
-const _primaryEndpoint = await ravenResource.primaryEndpoint.get();
-const _host = await ravenResource.host.get();
-const _port = await ravenResource.port.get();
-const _tcpEndpoint = await ravenResource.tcpEndpoint.get();
-const _uri = await ravenResource.uriExpression.get();
+const _primaryEndpoint = await ravenResource.getEndpoint("http");
+const _host = await _primaryEndpoint.host.get();
+const _port = await _primaryEndpoint.port.get();
+const _tcpEndpoint = await ravenResource.getEndpoint("tcp");
+const _uri = await _primaryEndpoint.url.get();
const _connectionString = await ravenResource.connectionStringExpression.get();
const ordersDatabaseResource = await ordersDatabase;
const _databaseName: string = await ordersDatabaseResource.databaseName.get();
const _databaseConnectionString = await ordersDatabaseResource.connectionStringExpression.get();
const ordersDatabaseParent = await ordersDatabaseResource.parent.get();
-const _databaseParentHost = await ordersDatabaseParent.host.get();
+const _databaseParentEndpoint = await ordersDatabaseParent.getEndpoint("http");
+const _databaseParentHost = await _databaseParentEndpoint.host.get();
const _databaseParentConnectionString = await ordersDatabaseParent.connectionStringExpression.get();
if (validateSecondResource) {
From 72b7c9fb6332216b5c7659824009a95e35a5c7d1 Mon Sep 17 00:00:00 2001
From: Aaron Powell
Date: Tue, 12 May 2026 16:20:46 +1000
Subject: [PATCH 08/42] Fixing a bit more surface area in activemq
---
.../apphost.ts | 42 +++++++++----------
1 file changed, 19 insertions(+), 23 deletions(-)
diff --git a/examples/activemq/CommunityToolkit.Aspire.Hosting.ActiveMQ.AppHost.TypeScript/apphost.ts b/examples/activemq/CommunityToolkit.Aspire.Hosting.ActiveMQ.AppHost.TypeScript/apphost.ts
index 0c2ba9046..dcd7375ff 100644
--- a/examples/activemq/CommunityToolkit.Aspire.Hosting.ActiveMQ.AppHost.TypeScript/apphost.ts
+++ b/examples/activemq/CommunityToolkit.Aspire.Hosting.ActiveMQ.AppHost.TypeScript/apphost.ts
@@ -1,21 +1,21 @@
-import { mkdirSync, mkdtempSync } from 'node:fs';
-import { tmpdir } from 'node:os';
-import { join } from 'node:path';
-import { createBuilder } from './.modules/aspire.js';
+import { mkdirSync, mkdtempSync } from "node:fs";
+import { tmpdir } from "node:os";
+import { join } from "node:path";
+import { createBuilder } from "./.modules/aspire.js";
const builder = await createBuilder();
-const bindMountRoot = mkdtempSync(join(tmpdir(), 'activemq-polyglot-'));
-const artemisDataPath = join(bindMountRoot, 'artemis-data');
-const artemisConfPath = join(bindMountRoot, 'artemis-conf');
+const bindMountRoot = mkdtempSync(join(tmpdir(), "activemq-polyglot-"));
+const artemisDataPath = join(bindMountRoot, "artemis-data");
+const artemisConfPath = join(bindMountRoot, "artemis-conf");
mkdirSync(artemisDataPath, { recursive: true });
mkdirSync(artemisConfPath, { recursive: true });
const mqPassword = await builder.addParameterWithValue("mq-password", "admin", {
- secret: true
+ secret: true,
});
const mqUser = await builder.addParameterWithValue("mq-user", "admin", {
- publishValueAsDefault: true
+ publishValueAsDefault: true,
});
// addActiveMQ — ActiveMQ Classic with all parameters
@@ -24,13 +24,13 @@ const classic = await builder.addActiveMQ("classic", {
password: mqPassword,
port: 36161,
scheme: "activemq",
- webPort: 38161
+ webPort: 38161,
});
// addActiveMQ — minimal overloads with explicit credentials for repeatable startup
const classic2 = await builder.addActiveMQ("classic2", {
userName: mqUser,
- password: mqPassword
+ password: mqPassword,
});
// addActiveMQArtemis — Artemis with all parameters
@@ -39,13 +39,13 @@ const artemis = await builder.addActiveMQArtemis("artemis", {
password: mqPassword,
port: 36162,
scheme: "tcp",
- webPort: 38162
+ webPort: 38162,
});
// addActiveMQArtemis — minimal overloads with explicit credentials for repeatable startup
const artemis2 = await builder.addActiveMQArtemis("artemis2", {
userName: mqUser,
- password: mqPassword
+ password: mqPassword,
});
// withDataVolume — fluent chaining on Classic
@@ -65,27 +65,23 @@ await artemis2.withDataVolume();
await artemis2.withConfVolume();
// ---- Endpoint access on ActiveMQServerResourceBase ----
-const classicResource = await classic;
-const _classicEndpoint = await classicResource.getEndpoint("tcp");
+const _classicEndpoint = await classic.getEndpoint("tcp");
const _classicHost = await _classicEndpoint.host();
const _classicPort = await _classicEndpoint.port();
const _classicUri = await _classicEndpoint.url();
-const _classicCstr = await classicResource.connectionStringExpression.get();
+const _classicCstr = await classic.connectionStringExpression();
-const classic2Resource = await classic2;
-const _classic2Endpoint = await classic2Resource.getEndpoint("tcp");
+const _classic2Endpoint = await classic2.getEndpoint("tcp");
const _classic2Host = await _classic2Endpoint.host();
const _classic2Port = await _classic2Endpoint.port();
-const artemisResource = await artemis;
-const _artemisEndpoint = await artemisResource.getEndpoint("tcp");
+const _artemisEndpoint = await artemis.getEndpoint("tcp");
const _artemisHost = await _artemisEndpoint.host();
const _artemisPort = await _artemisEndpoint.port();
const _artemisUri = await _artemisEndpoint.url();
-const _artemisCstr = await artemisResource.connectionStringExpression.get();
+const _artemisCstr = await artemis.connectionStringExpression();
-const artemis2Resource = await artemis2;
-const _artemis2Endpoint = await artemis2Resource.getEndpoint("tcp");
+const _artemis2Endpoint = await artemis2.getEndpoint("tcp");
const _artemis2Host = await _artemis2Endpoint.host();
const _artemis2Port = await _artemis2Endpoint.port();
From 5134b2a1db404830a5197b71da8a32a2192ddbd9 Mon Sep 17 00:00:00 2001
From: Aaron Powell
Date: Tue, 12 May 2026 16:26:28 +1000
Subject: [PATCH 09/42] Fixing API usage in flagd apphost.ts
---
.../apphost.ts | 45 ++++++++++---------
1 file changed, 23 insertions(+), 22 deletions(-)
diff --git a/examples/flagd/CommunityToolkit.Aspire.Hosting.Flagd.AppHost.TypeScript/apphost.ts b/examples/flagd/CommunityToolkit.Aspire.Hosting.Flagd.AppHost.TypeScript/apphost.ts
index 268946923..18a5a7486 100644
--- a/examples/flagd/CommunityToolkit.Aspire.Hosting.Flagd.AppHost.TypeScript/apphost.ts
+++ b/examples/flagd/CommunityToolkit.Aspire.Hosting.Flagd.AppHost.TypeScript/apphost.ts
@@ -1,33 +1,34 @@
-import { createBuilder } from './.modules/aspire.js';
+import { createBuilder } from "./.modules/aspire.js";
const builder = await createBuilder();
-const flagd = await builder.addFlagd('flagd', {
+const flagd = await builder.addFlagd("flagd", {
port: 18013,
- ofrepPort: 18016
+ ofrepPort: 18016,
});
-const flagdDefault = await builder.addFlagd('flagd-default');
+const flagdDefault = await builder.addFlagd("flagd-default");
-await flagd.withBindFileSync('./flags');
-await flagdDefault.withBindFileSync('./flags', { filename: 'custom-flagd.json' });
+await flagd.withBindFileSync("./flags");
+await flagdDefault.withBindFileSync("./flags", {
+ filename: "custom-flagd.json",
+});
-const flagdResource = await flagd;
-const _primaryEndpoint = await flagdResource.getEndpoint("http");
-const _host = await _primaryEndpoint.host.get();
-const _port = await _primaryEndpoint.port.get();
-const _healthCheckEndpoint = await flagdResource.getEndpoint("health");
-const _ofrepEndpoint = await flagdResource.getEndpoint("ofrep");
-const _uriExpression = await _primaryEndpoint.url.get();
-const _connectionStringExpression = await flagdResource.connectionStringExpression.get();
+const _primaryEndpoint = await flagd.getEndpoint("http");
+const _host = await _primaryEndpoint.host();
+const _port = await _primaryEndpoint.port();
+const _healthCheckEndpoint = await flagd.getEndpoint("health");
+const _ofrepEndpoint = await flagd.getEndpoint("ofrep");
+const _uriExpression = await _primaryEndpoint.url();
+const _connectionStringExpression = await flagd.connectionStringExpression();
-const flagdDefaultResource = await flagdDefault;
-const _defaultPrimaryEndpoint = await flagdDefaultResource.getEndpoint("http");
-const _defaultHost = await _defaultPrimaryEndpoint.host.get();
-const _defaultPort = await _defaultPrimaryEndpoint.port.get();
-const _defaultHealthCheckEndpoint = await flagdDefaultResource.getEndpoint("health");
-const _defaultOfrepEndpoint = await flagdDefaultResource.getEndpoint("ofrep");
-const _defaultUriExpression = await _defaultPrimaryEndpoint.url.get();
-const _defaultConnectionStringExpression = await flagdDefaultResource.connectionStringExpression.get();
+const _defaultPrimaryEndpoint = await flagdDefault.getEndpoint("http");
+const _defaultHost = await _defaultPrimaryEndpoint.host();
+const _defaultPort = await _defaultPrimaryEndpoint.port();
+const _defaultHealthCheckEndpoint = await flagdDefault.getEndpoint("health");
+const _defaultOfrepEndpoint = await flagdDefault.getEndpoint("ofrep");
+const _defaultUriExpression = await _defaultPrimaryEndpoint.url();
+const _defaultConnectionStringExpression =
+ await flagdDefault.connectionStringExpression();
await builder.build().run();
From 676499b0e382890fe3976cf49938e331452daf28 Mon Sep 17 00:00:00 2001
From: Aaron Powell
Date: Tue, 12 May 2026 16:31:00 +1000
Subject: [PATCH 10/42] Fixing API usage in goff apphost.ts
---
.../apphost.ts | 26 +++++++++----------
1 file changed, 12 insertions(+), 14 deletions(-)
diff --git a/examples/goff/CommunityToolkit.Aspire.Hosting.GoFeatureFlag.AppHost.TypeScript/apphost.ts b/examples/goff/CommunityToolkit.Aspire.Hosting.GoFeatureFlag.AppHost.TypeScript/apphost.ts
index b953918e7..b397f1a00 100644
--- a/examples/goff/CommunityToolkit.Aspire.Hosting.GoFeatureFlag.AppHost.TypeScript/apphost.ts
+++ b/examples/goff/CommunityToolkit.Aspire.Hosting.GoFeatureFlag.AppHost.TypeScript/apphost.ts
@@ -1,10 +1,10 @@
-import { createBuilder, GoFeatureFlagLogLevel } from './.modules/aspire.js';
+import { createBuilder, GoFeatureFlagLogLevel } from "./.modules/aspire.js";
const builder = await createBuilder();
const goff = await builder.addGoFeatureFlag("goff", {
pathToConfigFile: "/goff/goff-proxy.yaml",
- port: 11031
+ port: 11031,
});
await goff.withDataVolume({ name: "goff-data" });
@@ -14,18 +14,16 @@ await goff.withLogLevel(GoFeatureFlagLogLevel.Debug);
const goff2 = await builder.addGoFeatureFlag("goff2");
await goff2.withGoffBindMount("./goff");
-const goffResource = await goff;
-const _primaryEndpoint = await goffResource.getEndpoint("http");
-const _host = await _primaryEndpoint.host.get();
-const _port = await _primaryEndpoint.port.get();
-const _uri = await _primaryEndpoint.url.get();
-const _connectionString = await goffResource.connectionStringExpression.get();
+const _primaryEndpoint = await goff.getEndpoint("http");
+const _host = await _primaryEndpoint.host();
+const _port = await _primaryEndpoint.port();
+const _uri = await _primaryEndpoint.url();
+const _connectionString = await goff.connectionStringExpression();
-const goff2Resource = await goff2;
-const _primaryEndpoint2 = await goff2Resource.getEndpoint("http");
-const _host2 = await _primaryEndpoint2.host.get();
-const _port2 = await _primaryEndpoint2.port.get();
-const _uri2 = await _primaryEndpoint2.url.get();
-const _connectionString2 = await goff2Resource.connectionStringExpression.get();
+const _primaryEndpoint2 = await goff2.getEndpoint("http");
+const _host2 = await _primaryEndpoint2.host();
+const _port2 = await _primaryEndpoint2.port();
+const _uri2 = await _primaryEndpoint2.url();
+const _connectionString2 = await goff2.connectionStringExpression();
await builder.build().run();
From 8e671c68f25782004414c0a7e74b7df0f100c460 Mon Sep 17 00:00:00 2001
From: Aaron Powell
Date: Tue, 12 May 2026 16:40:33 +1000
Subject: [PATCH 11/42] Fixing API usage in java apphost.ts
---
.../apphost.ts | 91 +++++++++++--------
1 file changed, 55 insertions(+), 36 deletions(-)
diff --git a/examples/java/CommunityToolkit.Aspire.Hosting.Java.AppHost.TypeScript/apphost.ts b/examples/java/CommunityToolkit.Aspire.Hosting.Java.AppHost.TypeScript/apphost.ts
index b59fc2108..3ca908d87 100644
--- a/examples/java/CommunityToolkit.Aspire.Hosting.Java.AppHost.TypeScript/apphost.ts
+++ b/examples/java/CommunityToolkit.Aspire.Hosting.Java.AppHost.TypeScript/apphost.ts
@@ -1,66 +1,85 @@
-import path from 'node:path';
-import { fileURLToPath } from 'node:url';
-import { createBuilder } from './.modules/aspire.js';
+import path from "node:path";
+import { fileURLToPath } from "node:url";
+import { createBuilder } from "./.modules/aspire.js";
const builder = await createBuilder();
const appHostDirectory = path.dirname(fileURLToPath(import.meta.url));
-const javaProjectDirectory = path.join(appHostDirectory, '..', 'CommunityToolkit.Aspire.Hosting.Java.Spring.Maven');
-const javaJarPath = path.join('target', 'spring-maven-0.0.1-SNAPSHOT.jar');
-const isWindows = process.platform === 'win32';
+const javaProjectDirectory = path.join(
+ appHostDirectory,
+ "..",
+ "CommunityToolkit.Aspire.Hosting.Java.Spring.Maven",
+);
+const javaJarPath = path.join("target", "spring-maven-0.0.1-SNAPSHOT.jar");
+const isWindows = process.platform === "win32";
const containerApp = await builder.addJavaContainerApp(
- 'java-container',
- 'docker.io/aliencube/aspire-spring-maven-sample',
- { imageTag: 'latest' });
-await containerApp.withJvmArgs(['-Djava.awt.headless=true']);
+ "java-container",
+ "docker.io/aliencube/aspire-spring-maven-sample",
+ { imageTag: "latest" },
+);
+await containerApp.withJvmArgs(["-Djava.awt.headless=true"]);
await containerApp.withOtelAgent();
await containerApp.withExplicitStart();
-await containerApp.entrypoint.set('java');
+await containerApp.entrypoint.set("java");
const _containerEntrypoint: string = await containerApp.entrypoint.get();
await containerApp.shellExecution.set(false);
-const _containerShellExecution: boolean = await containerApp.shellExecution.get();
-const _containerName: string = await containerApp.name.get();
+const _containerShellExecution: boolean =
+ await containerApp.shellExecution.get();
+const _containerName: string = await containerApp.name();
const jarApp = await builder.addJavaAppWithJar(
- 'java-jar',
+ "java-jar",
javaProjectDirectory,
javaJarPath,
- { args: ['--spring.main.banner-mode=off'] });
-await jarApp.withWrapperPath(isWindows ? 'mvnw.cmd' : 'mvnw');
+ { args: ["--spring.main.banner-mode=off"] },
+);
+await jarApp.withWrapperPath(isWindows ? "mvnw.cmd" : "mvnw");
await jarApp.withMavenBuild([]);
-await jarApp.withJvmArgs(['-Duser.timezone=UTC']);
+await jarApp.withJvmArgs(["-Duser.timezone=UTC"]);
await jarApp.withOtelAgent();
await jarApp.withExplicitStart();
-const _jarCommand: string = await jarApp.command.get();
-const _jarWorkingDirectory: string = await jarApp.workingDirectory.get();
-const _jarName: string = await jarApp.name.get();
+const _jarCommand: string = await jarApp.command();
+const _jarWorkingDirectory: string = await jarApp.workingDirectory();
+const _jarName: string = await jarApp.name();
const _jarPathBefore: string = await jarApp.jarPath.get();
await jarApp.jarPath.set(javaJarPath);
const _jarPathAfter: string = await jarApp.jarPath.get();
-const mavenGoalApp = await builder.addJavaApp('java-maven-goal', javaProjectDirectory);
-await mavenGoalApp.withWrapperPath(isWindows ? 'mvnw.cmd' : 'mvnw');
-await mavenGoalApp.withMavenGoal('spring-boot:run', []);
-await mavenGoalApp.withJvmArgs(['-Dfile.encoding=UTF-8']);
+const mavenGoalApp = await builder.addJavaApp(
+ "java-maven-goal",
+ javaProjectDirectory,
+);
+await mavenGoalApp.withWrapperPath(isWindows ? "mvnw.cmd" : "mvnw");
+await mavenGoalApp.withMavenGoal("spring-boot:run", []);
+await mavenGoalApp.withJvmArgs(["-Dfile.encoding=UTF-8"]);
await mavenGoalApp.withOtelAgent();
-await mavenGoalApp.withHttpEndpoint({ targetPort: 8080, env: 'SERVER_PORT' });
-await mavenGoalApp.withHttpHealthCheck({ path: '/health' });
+await mavenGoalApp.withHttpEndpoint({ targetPort: 8080, env: "SERVER_PORT" });
+await mavenGoalApp.withHttpHealthCheck({ path: "/health" });
await mavenGoalApp.withExplicitStart();
-const _mavenGoalCommand: string = await mavenGoalApp.command.get();
-const _mavenGoalWorkingDirectory: string = await mavenGoalApp.workingDirectory.get();
-const _mavenGoalName: string = await mavenGoalApp.name.get();
+const _mavenGoalCommand: string = await mavenGoalApp.command();
+const _mavenGoalWorkingDirectory: string =
+ await mavenGoalApp.workingDirectory();
+const _mavenGoalName: string = await mavenGoalApp.name();
-const gradleBuildApp = await builder.addJavaApp('java-gradle-build', javaProjectDirectory);
-await gradleBuildApp.withWrapperPath(isWindows ? 'gradlew.bat' : 'gradlew');
-await gradleBuildApp.withGradleBuild(['--parallel']);
+const gradleBuildApp = await builder.addJavaApp(
+ "java-gradle-build",
+ javaProjectDirectory,
+);
+await gradleBuildApp.withWrapperPath(isWindows ? "gradlew.bat" : "gradlew");
+await gradleBuildApp.withGradleBuild(["--parallel"]);
await gradleBuildApp.withExplicitStart();
-const gradleTaskApp = await builder.addJavaApp('java-gradle-task', javaProjectDirectory);
-await gradleTaskApp.withWrapperPath(isWindows ? 'gradlew.bat' : 'gradlew');
-await gradleTaskApp.withGradleTask('bootRun', ['--args=--spring.main.banner-mode=off']);
+const gradleTaskApp = await builder.addJavaApp(
+ "java-gradle-task",
+ javaProjectDirectory,
+);
+await gradleTaskApp.withWrapperPath(isWindows ? "gradlew.bat" : "gradlew");
+await gradleTaskApp.withGradleTask("bootRun", [
+ "--args=--spring.main.banner-mode=off",
+]);
await gradleTaskApp.withExplicitStart();
-await builder.build().run();
\ No newline at end of file
+await builder.build().run();
From 4632e7a3117e97e65ce1a0e2ae71a7e422286524 Mon Sep 17 00:00:00 2001
From: Aaron Powell
Date: Tue, 12 May 2026 16:45:39 +1000
Subject: [PATCH 12/42] Fixing API usage in KurrentDB apphost.ts
---
.../apphost.ts | 49 ++++++++++---------
1 file changed, 25 insertions(+), 24 deletions(-)
diff --git a/examples/kurrentdb/CommunityToolkit.Aspire.Hosting.KurrentDB.AppHost.TypeScript/apphost.ts b/examples/kurrentdb/CommunityToolkit.Aspire.Hosting.KurrentDB.AppHost.TypeScript/apphost.ts
index d3d7137da..4b1a08c39 100644
--- a/examples/kurrentdb/CommunityToolkit.Aspire.Hosting.KurrentDB.AppHost.TypeScript/apphost.ts
+++ b/examples/kurrentdb/CommunityToolkit.Aspire.Hosting.KurrentDB.AppHost.TypeScript/apphost.ts
@@ -1,10 +1,12 @@
-import { mkdirSync } from 'node:fs';
-import { fileURLToPath } from 'node:url';
+import { mkdirSync } from "node:fs";
+import { fileURLToPath } from "node:url";
-import { createBuilder } from './.modules/aspire.js';
+import { createBuilder } from "./.modules/aspire.js";
const builder = await createBuilder();
-const bindMountRoot = fileURLToPath(new URL("./data/kurrentdb/", import.meta.url));
+const bindMountRoot = fileURLToPath(
+ new URL("./data/kurrentdb/", import.meta.url),
+);
mkdirSync(bindMountRoot, { recursive: true });
@@ -27,25 +29,24 @@ await bindMountBacked.withDataBindMount(bindMountRoot);
await defaultVolumeBacked.withDataVolume();
// ---- Endpoint access on KurrentDBResource ----
-const volumeBackedResource = await volumeBacked;
-const _volumeEndpoint = await volumeBackedResource.getEndpoint("http");
-const _volumeHost = await _volumeEndpoint.host.get();
-const _volumePort = await _volumeEndpoint.port.get();
-const _volumeUri = await _volumeEndpoint.url.get();
-const _volumeConnectionString = await volumeBackedResource.connectionStringExpression.get();
-
-const bindMountBackedResource = await bindMountBacked;
-const _bindEndpoint = await bindMountBackedResource.getEndpoint("http");
-const _bindHost = await _bindEndpoint.host.get();
-const _bindPort = await _bindEndpoint.port.get();
-const _bindUri = await _bindEndpoint.url.get();
-const _bindConnectionString = await bindMountBackedResource.connectionStringExpression.get();
-
-const defaultVolumeBackedResource = await defaultVolumeBacked;
-const _defaultVolumeEndpoint = await defaultVolumeBackedResource.getEndpoint("http");
-const _defaultVolumeHost = await _defaultVolumeEndpoint.host.get();
-const _defaultVolumePort = await _defaultVolumeEndpoint.port.get();
-const _defaultVolumeUri = await _defaultVolumeEndpoint.url.get();
-const _defaultVolumeConnectionString = await defaultVolumeBackedResource.connectionStringExpression.get();
+const _volumeEndpoint = await volumeBacked.getEndpoint("http");
+const _volumeHost = await _volumeEndpoint.host();
+const _volumePort = await _volumeEndpoint.port();
+const _volumeUri = await _volumeEndpoint.url();
+const _volumeConnectionString = await volumeBacked.connectionStringExpression();
+
+const _bindEndpoint = await bindMountBacked.getEndpoint("http");
+const _bindHost = await _bindEndpoint.host();
+const _bindPort = await _bindEndpoint.port();
+const _bindUri = await _bindEndpoint.url();
+const _bindConnectionString =
+ await bindMountBacked.connectionStringExpression();
+
+const _defaultVolumeEndpoint = await defaultVolumeBacked.getEndpoint("http");
+const _defaultVolumeHost = await _defaultVolumeEndpoint.host();
+const _defaultVolumePort = await _defaultVolumeEndpoint.port();
+const _defaultVolumeUri = await _defaultVolumeEndpoint.url();
+const _defaultVolumeConnectionString =
+ await defaultVolumeBacked.connectionStringExpression();
await builder.build().run();
From f31a1ae84e56bff405fe422b0d964f7179625084 Mon Sep 17 00:00:00 2001
From: Aaron Powell
Date: Tue, 12 May 2026 16:46:19 +1000
Subject: [PATCH 13/42] Fixing API usage in LavinMQ apphost.ts
---
.../apphost.ts | 26 +++++++++----------
1 file changed, 13 insertions(+), 13 deletions(-)
diff --git a/examples/lavinmq/CommunityToolkit.Aspire.Hosting.LavinMQ.AppHost.TypeScript/apphost.ts b/examples/lavinmq/CommunityToolkit.Aspire.Hosting.LavinMQ.AppHost.TypeScript/apphost.ts
index 65d1733b0..1f6c64188 100644
--- a/examples/lavinmq/CommunityToolkit.Aspire.Hosting.LavinMQ.AppHost.TypeScript/apphost.ts
+++ b/examples/lavinmq/CommunityToolkit.Aspire.Hosting.LavinMQ.AppHost.TypeScript/apphost.ts
@@ -1,33 +1,33 @@
-import { mkdtempSync } from 'node:fs';
-import { tmpdir } from 'node:os';
-import { join } from 'node:path';
+import { mkdtempSync } from "node:fs";
+import { tmpdir } from "node:os";
+import { join } from "node:path";
-import { createBuilder } from './.modules/aspire.js';
+import { createBuilder } from "./.modules/aspire.js";
-const bindMountPath = mkdtempSync(join(tmpdir(), 'lavinmq-'));
+const bindMountPath = mkdtempSync(join(tmpdir(), "lavinmq-"));
const builder = await createBuilder();
// addLavinMQ + withDataVolume
const volumeBroker = await builder.addLavinMQ("volume-broker", {
amqpPort: 35672,
- managementPort: 35673
+ managementPort: 35673,
});
await volumeBroker.withDataVolume("lavinmq-volume");
// addLavinMQ + withDataBindMount
const bindBroker = await builder.addLavinMQ("bind-broker", {
amqpPort: 35674,
- managementPort: 35675
+ managementPort: 35675,
});
await bindBroker.withDataBindMount(bindMountPath);
// ---- Endpoint access on LavinMQContainerResource ----
-const volumeBrokerResource = volumeBroker;
-const _primaryEndpoint = await volumeBrokerResource.getEndpoint("amqp");
-const _host = await _primaryEndpoint.host.get();
-const _port = await _primaryEndpoint.port.get();
-const _uriExpression = await _primaryEndpoint.url.get();
-const _connectionStringExpression = await volumeBrokerResource.connectionStringExpression.get();
+const _primaryEndpoint = await volumeBroker.getEndpoint("amqp");
+const _host = await _primaryEndpoint.host();
+const _port = await _primaryEndpoint.port();
+const _uriExpression = await _primaryEndpoint.url();
+const _connectionStringExpression =
+ await volumeBroker.connectionStringExpression();
await builder.build().run();
From e65fc797e5b5a0200fc2cc74ff26b365ef594d87 Mon Sep 17 00:00:00 2001
From: Aaron Powell
Date: Tue, 12 May 2026 16:47:10 +1000
Subject: [PATCH 14/42] Fixing API usage in MailPit apphost.ts
---
.../apphost.ts | 37 +++++++++----------
1 file changed, 18 insertions(+), 19 deletions(-)
diff --git a/examples/mailpit/CommunityToolkit.Aspire.Hosting.MailPit.AppHost.TypeScript/apphost.ts b/examples/mailpit/CommunityToolkit.Aspire.Hosting.MailPit.AppHost.TypeScript/apphost.ts
index ea4b4df5c..202b7a927 100644
--- a/examples/mailpit/CommunityToolkit.Aspire.Hosting.MailPit.AppHost.TypeScript/apphost.ts
+++ b/examples/mailpit/CommunityToolkit.Aspire.Hosting.MailPit.AppHost.TypeScript/apphost.ts
@@ -1,17 +1,17 @@
-import { mkdtempSync } from 'node:fs';
-import { tmpdir } from 'node:os';
-import { join } from 'node:path';
+import { mkdtempSync } from "node:fs";
+import { tmpdir } from "node:os";
+import { join } from "node:path";
-import { createBuilder } from './.modules/aspire.js';
+import { createBuilder } from "./.modules/aspire.js";
-const bindMountPath = mkdtempSync(join(tmpdir(), 'mailpit-'));
+const bindMountPath = mkdtempSync(join(tmpdir(), "mailpit-"));
const builder = await createBuilder();
// addMailPit — explicit HTTP and SMTP port configuration
const mailpit = await builder.addMailPit("mailpit", {
httpPort: 18025,
- smtpPort: 11025
+ smtpPort: 11025,
});
// addMailPit — default ports
@@ -24,18 +24,17 @@ await mailpit.withDataVolume("mailpit-data");
await mailpitDefault.withDataBindMount(bindMountPath);
// ---- Endpoint access on MailPitContainerResource ----
-const mailpitResource = await mailpit;
-const _mailpitEndpoint = await mailpitResource.getEndpoint("smtp");
-const _mailpitHost = await _mailpitEndpoint.host.get();
-const _mailpitPort = await _mailpitEndpoint.port.get();
-const _mailpitUri = await _mailpitEndpoint.url.get();
-const _mailpitConnectionString = await mailpitResource.connectionStringExpression.get();
-
-const mailpitDefaultResource = await mailpitDefault;
-const _mailpitDefaultEndpoint = await mailpitDefaultResource.getEndpoint("smtp");
-const _mailpitDefaultHost = await _mailpitDefaultEndpoint.host.get();
-const _mailpitDefaultPort = await _mailpitDefaultEndpoint.port.get();
-const _mailpitDefaultUri = await _mailpitDefaultEndpoint.url.get();
-const _mailpitDefaultConnectionString = await mailpitDefaultResource.connectionStringExpression.get();
+const _mailpitEndpoint = await mailpit.getEndpoint("smtp");
+const _mailpitHost = await _mailpitEndpoint.host();
+const _mailpitPort = await _mailpitEndpoint.port();
+const _mailpitUri = await _mailpitEndpoint.url();
+const _mailpitConnectionString = await mailpit.connectionStringExpression();
+
+const _mailpitDefaultEndpoint = await mailpitDefault.getEndpoint("smtp");
+const _mailpitDefaultHost = await _mailpitDefaultEndpoint.host();
+const _mailpitDefaultPort = await _mailpitDefaultEndpoint.port();
+const _mailpitDefaultUri = await _mailpitDefaultEndpoint.url();
+const _mailpitDefaultConnectionString =
+ await mailpitDefault.connectionStringExpression();
await builder.build().run();
From 2cb956740b32fe94ac940be37114dbfa6bb99764 Mon Sep 17 00:00:00 2001
From: Aaron Powell
Date: Tue, 12 May 2026 16:48:26 +1000
Subject: [PATCH 15/42] Fixing API usage in MeilieSearch apphost.ts
---
.../apphost.ts | 50 ++++++++++---------
1 file changed, 27 insertions(+), 23 deletions(-)
diff --git a/examples/meilisearch/CommunityToolkit.Aspire.Hosting.Meilisearch.AppHost.TypeScript/apphost.ts b/examples/meilisearch/CommunityToolkit.Aspire.Hosting.Meilisearch.AppHost.TypeScript/apphost.ts
index d2d8710aa..f976a3277 100644
--- a/examples/meilisearch/CommunityToolkit.Aspire.Hosting.Meilisearch.AppHost.TypeScript/apphost.ts
+++ b/examples/meilisearch/CommunityToolkit.Aspire.Hosting.Meilisearch.AppHost.TypeScript/apphost.ts
@@ -1,41 +1,45 @@
-import { mkdtempSync } from 'node:fs';
-import { tmpdir } from 'node:os';
-import { join } from 'node:path';
-import { createBuilder } from './.modules/aspire.js';
+import { mkdtempSync } from "node:fs";
+import { tmpdir } from "node:os";
+import { join } from "node:path";
+import { createBuilder } from "./.modules/aspire.js";
const builder = await createBuilder();
-const bindMountSource = mkdtempSync(join(tmpdir(), 'meilisearch-'));
+const bindMountSource = mkdtempSync(join(tmpdir(), "meilisearch-"));
-const masterKey = await builder.addParameterWithValue('search-master-key', 'search-master-key-value', { secret: true });
+const masterKey = await builder.addParameterWithValue(
+ "search-master-key",
+ "search-master-key-value",
+ { secret: true },
+);
// addMeilisearch — named master key and explicit port
-const meilisearch = await builder.addMeilisearch('search', {
+const meilisearch = await builder.addMeilisearch("search", {
masterKey,
- port: 7700
+ port: 7700,
});
// addMeilisearch — defaults
-const meilisearchWithDefaults = await builder.addMeilisearch('search-defaults');
+const meilisearchWithDefaults = await builder.addMeilisearch("search-defaults");
// withDataVolume — fluent API on a Meilisearch builder
-await meilisearch.withDataVolume({ name: 'search-data' });
+await meilisearch.withDataVolume({ name: "search-data" });
// withDataBindMount — bind mount on a second Meilisearch builder
await meilisearchWithDefaults.withDataBindMount(bindMountSource);
// ---- Property access on MeilisearchResource (ExposeProperties = true) ----
-const meilisearchResource = meilisearch;
-const _primaryEndpoint = await meilisearchResource.getEndpoint('http');
-const _host = await _primaryEndpoint.host.get();
-const _port = await _primaryEndpoint.port.get();
-const _uri = await _primaryEndpoint.url.get();
-const _connectionString = await meilisearchResource.connectionStringExpression.get();
-
-const meilisearchWithDefaultsResource = meilisearchWithDefaults;
-const _defaultsPrimaryEndpoint = await meilisearchWithDefaultsResource.getEndpoint('http');
-const _defaultsHost = await _defaultsPrimaryEndpoint.host.get();
-const _defaultsPort = await _defaultsPrimaryEndpoint.port.get();
-const _defaultsUri = await _defaultsPrimaryEndpoint.url.get();
-const _defaultsConnectionString = await meilisearchWithDefaultsResource.connectionStringExpression.get();
+const _primaryEndpoint = await meilisearch.getEndpoint("http");
+const _host = await _primaryEndpoint.host();
+const _port = await _primaryEndpoint.port();
+const _uri = await _primaryEndpoint.url();
+const _connectionString = await meilisearch.connectionStringExpression();
+
+const _defaultsPrimaryEndpoint =
+ await meilisearchWithDefaults.getEndpoint("http");
+const _defaultsHost = await _defaultsPrimaryEndpoint.host();
+const _defaultsPort = await _defaultsPrimaryEndpoint.port();
+const _defaultsUri = await _defaultsPrimaryEndpoint.url();
+const _defaultsConnectionString =
+ await meilisearchWithDefaults.connectionStringExpression();
await builder.build().run();
From 9a2b682b6768f2fb22815606788b26d309aaa7f2 Mon Sep 17 00:00:00 2001
From: Aaron Powell
Date: Tue, 12 May 2026 16:52:55 +1000
Subject: [PATCH 16/42] Fixing API usage in MinIO apphost.ts
---
.../apphost.ts | 71 +++++++++++--------
1 file changed, 42 insertions(+), 29 deletions(-)
diff --git a/examples/minio/CommunityToolkit.Aspire.Hosting.Minio.AppHost.TypeScript/apphost.ts b/examples/minio/CommunityToolkit.Aspire.Hosting.Minio.AppHost.TypeScript/apphost.ts
index 841edfd1c..49a7bb8d1 100644
--- a/examples/minio/CommunityToolkit.Aspire.Hosting.Minio.AppHost.TypeScript/apphost.ts
+++ b/examples/minio/CommunityToolkit.Aspire.Hosting.Minio.AppHost.TypeScript/apphost.ts
@@ -1,22 +1,36 @@
-import { createBuilder } from './.modules/aspire.js';
+import { createBuilder } from "./.modules/aspire.js";
const builder = await createBuilder();
-const rootUser = await builder.addParameterWithValue("minio-root-user", "minioadmin");
-const rootPassword = await builder.addParameterWithValue("minio-root-password", "minio-password", { secret: true });
-const overrideUser = await builder.addParameterWithValue("override-root-user", "override-admin");
-const overridePassword = await builder.addParameterWithValue("override-root-password", "override-password", { secret: true });
+const rootUser = await builder.addParameterWithValue(
+ "minio-root-user",
+ "minioadmin",
+);
+const rootPassword = await builder.addParameterWithValue(
+ "minio-root-password",
+ "minio-password",
+ { secret: true },
+);
+const overrideUser = await builder.addParameterWithValue(
+ "override-root-user",
+ "override-admin",
+);
+const overridePassword = await builder.addParameterWithValue(
+ "override-root-password",
+ "override-password",
+ { secret: true },
+);
const minio = await builder.addMinioContainer("minio", {
rootUser,
rootPassword,
- port: 9000
+ port: 9000,
});
const minioDefaults = await builder.addMinioContainer("minio-defaults");
const minioBindMount = await builder.addMinioContainer("minio-bind-mount", {
rootUser: overrideUser,
- rootPassword: overridePassword
+ rootPassword: overridePassword,
});
await minio.withHostPort({ port: 9100 }).withDataVolume({ name: "minio-data" });
@@ -24,27 +38,26 @@ await minioDefaults.withUserName(overrideUser).withPassword(overridePassword);
await minioDefaults.withDataVolume();
await minioBindMount.withDataBindMount("./runtime-data/minio-bind");
-const minioResource = await minio;
-const _minioRootUser = await minioResource.rootUser.get();
-const _minioPasswordParameter = await minioResource.passwordParameter.get();
-const _minioPrimaryEndpoint = await minioResource.getEndpoint("http");
-const _minioHost = await _minioPrimaryEndpoint.host.get();
-const _minioPort = await _minioPrimaryEndpoint.port.get();
-const _minioUri = await _minioPrimaryEndpoint.url.get();
-const _minioConnectionString = await minioResource.connectionStringExpression.get();
-
-const minioDefaultsResource = await minioDefaults;
-const _defaultsPrimaryEndpoint = await minioDefaultsResource.getEndpoint("http");
-const _defaultsHost = await _defaultsPrimaryEndpoint.host.get();
-const _defaultsPort = await _defaultsPrimaryEndpoint.port.get();
-const _defaultsUri = await _defaultsPrimaryEndpoint.url.get();
-const _defaultsConnectionString = await minioDefaultsResource.connectionStringExpression.get();
-
-const minioBindMountResource = await minioBindMount;
-const _bindMountPrimaryEndpoint = await minioBindMountResource.getEndpoint("http");
-const _bindMountHost = await _bindMountPrimaryEndpoint.host.get();
-const _bindMountPort = await _bindMountPrimaryEndpoint.port.get();
-const _bindMountUri = await _bindMountPrimaryEndpoint.url.get();
-const _bindMountConnectionString = await minioBindMountResource.connectionStringExpression.get();
+const _minioRootUser = await minio.rootUser();
+const _minioPasswordParameter = await minio.passwordParameter();
+const _minioPrimaryEndpoint = await minio.getEndpoint("http");
+const _minioHost = await _minioPrimaryEndpoint.host();
+const _minioPort = await _minioPrimaryEndpoint.port();
+const _minioUri = await _minioPrimaryEndpoint.url();
+const _minioConnectionString = await minio.connectionStringExpression();
+
+const _defaultsPrimaryEndpoint = await minioDefaults.getEndpoint("http");
+const _defaultsHost = await _defaultsPrimaryEndpoint.host();
+const _defaultsPort = await _defaultsPrimaryEndpoint.port();
+const _defaultsUri = await _defaultsPrimaryEndpoint.url();
+const _defaultsConnectionString =
+ await minioDefaults.connectionStringExpression();
+
+const _bindMountPrimaryEndpoint = await minioBindMount.getEndpoint("http");
+const _bindMountHost = await _bindMountPrimaryEndpoint.host();
+const _bindMountPort = await _bindMountPrimaryEndpoint.port();
+const _bindMountUri = await _bindMountPrimaryEndpoint.url();
+const _bindMountConnectionString =
+ await minioBindMount.connectionStringExpression();
await builder.build().run();
From 15dffb9a86c1e805882d9547605ff3aa71e54f99 Mon Sep 17 00:00:00 2001
From: Aaron Powell
Date: Tue, 12 May 2026 16:54:15 +1000
Subject: [PATCH 17/42] Fixing API usage in mysql apphost.ts
---
.../apphost.ts | 21 +++++++++----------
1 file changed, 10 insertions(+), 11 deletions(-)
diff --git a/examples/mysql-ext/CommunityToolkit.Aspire.Hosting.MySql.Extensions.AppHost.TypeScript/apphost.ts b/examples/mysql-ext/CommunityToolkit.Aspire.Hosting.MySql.Extensions.AppHost.TypeScript/apphost.ts
index 7c29d7c35..0dd0d6170 100644
--- a/examples/mysql-ext/CommunityToolkit.Aspire.Hosting.MySql.Extensions.AppHost.TypeScript/apphost.ts
+++ b/examples/mysql-ext/CommunityToolkit.Aspire.Hosting.MySql.Extensions.AppHost.TypeScript/apphost.ts
@@ -1,23 +1,22 @@
-import { createBuilder } from './.modules/aspire.js';
+import { createBuilder } from "./.modules/aspire.js";
const builder = await createBuilder();
-const mysql = await builder.addMySql('mysql');
+const mysql = await builder.addMySql("mysql");
await mysql
.withAdminer({
- configureContainer: async (_adminer) => { },
- containerName: 'mysql-adminer'
+ configureContainer: async (_adminer) => {},
+ containerName: "mysql-adminer",
})
.withDbGate({
- configureContainer: async (_dbGate) => { },
- containerName: 'mysql-dbgate'
+ configureContainer: async (_dbGate) => {},
+ containerName: "mysql-dbgate",
});
-const resolvedMySql = await mysql;
-const _primaryEndpoint = await resolvedMySql.getEndpoint("tcp");
-const _host = await _primaryEndpoint.host.get();
-const _port = await _primaryEndpoint.port.get();
-const _connectionString = await resolvedMySql.connectionStringExpression.get();
+const _primaryEndpoint = await mysql.getEndpoint("tcp");
+const _host = await _primaryEndpoint.host();
+const _port = await _primaryEndpoint.port();
+const _connectionString = await mysql.connectionStringExpression();
await builder.build().run();
From 215e1d6171e4e77372c9ba700e83a5876c40308b Mon Sep 17 00:00:00 2001
From: Aaron Powell
Date: Tue, 12 May 2026 16:56:10 +1000
Subject: [PATCH 18/42] Fixing API usage in otelcollector apphost.ts
---
.../apphost.ts | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/examples/opentelemetry-collector/CommunityToolkit.Aspire.Hosting.OpenTelemetryCollector.AppHost.TypeScript/apphost.ts b/examples/opentelemetry-collector/CommunityToolkit.Aspire.Hosting.OpenTelemetryCollector.AppHost.TypeScript/apphost.ts
index a2e8a783e..6a0062e12 100644
--- a/examples/opentelemetry-collector/CommunityToolkit.Aspire.Hosting.OpenTelemetryCollector.AppHost.TypeScript/apphost.ts
+++ b/examples/opentelemetry-collector/CommunityToolkit.Aspire.Hosting.OpenTelemetryCollector.AppHost.TypeScript/apphost.ts
@@ -8,9 +8,8 @@ await collector.withConfig("./otel-config.yaml");
await collector.withAppForwarding();
// ---- Property access on OpenTelemetryCollectorResource (ExposeProperties = true) ----
-const collectorResource = await collector;
-const _grpcEndpoint = await collectorResource.grpcEndpoint.get();
-const _httpEndpoint = await collectorResource.httpEndpoint.get();
+const _grpcEndpoint = await collector.grpcEndpoint.get();
+const _httpEndpoint = await collector.httpEndpoint.get();
const _grpcEndpointName = await _grpcEndpoint.endpointName.get();
const _httpEndpointName = await _httpEndpoint.endpointName.get();
From ec505cb1e6b445f30795f862e20db8f2e094e5b7 Mon Sep 17 00:00:00 2001
From: Aaron Powell
Date: Tue, 12 May 2026 16:57:22 +1000
Subject: [PATCH 19/42] Fixing API usage in papercut apphost.ts
---
.../apphost.ts | 27 +++++++++----------
1 file changed, 13 insertions(+), 14 deletions(-)
diff --git a/examples/papercut/CommunityToolkit.Aspire.Hosting.PapercutSmtp.AppHost.TypeScript/apphost.ts b/examples/papercut/CommunityToolkit.Aspire.Hosting.PapercutSmtp.AppHost.TypeScript/apphost.ts
index a7d77cbf6..e08718e9c 100644
--- a/examples/papercut/CommunityToolkit.Aspire.Hosting.PapercutSmtp.AppHost.TypeScript/apphost.ts
+++ b/examples/papercut/CommunityToolkit.Aspire.Hosting.PapercutSmtp.AppHost.TypeScript/apphost.ts
@@ -1,29 +1,28 @@
-import { createBuilder } from './.modules/aspire.js';
+import { createBuilder } from "./.modules/aspire.js";
const builder = await createBuilder();
// addPapercutSmtp — configured ports
const papercut = await builder.addPapercutSmtp("papercut", {
httpPort: 8080,
- smtpPort: 2525
+ smtpPort: 2525,
});
// addPapercutSmtp — minimal overload (defaults)
const papercutDefault = await builder.addPapercutSmtp("papercut-default");
// ---- Endpoint access on PapercutSmtpContainerResource ----
-const papercutResource = papercut;
-const _papercutEndpoint = await papercutResource.getEndpoint("smtp");
-const _papercutHost = await _papercutEndpoint.host.get();
-const _papercutPort = await _papercutEndpoint.port.get();
-const _papercutUri = await _papercutEndpoint.url.get();
-const _papercutConnectionString = await papercutResource.connectionStringExpression.get();
+const _papercutEndpoint = await papercut.getEndpoint("smtp");
+const _papercutHost = await _papercutEndpoint.host();
+const _papercutPort = await _papercutEndpoint.port();
+const _papercutUri = await _papercutEndpoint.url();
+const _papercutConnectionString = await papercut.connectionStringExpression();
-const papercutDefaultResource = papercutDefault;
-const _papercutDefaultEndpoint = await papercutDefaultResource.getEndpoint("smtp");
-const _papercutDefaultHost = await _papercutDefaultEndpoint.host.get();
-const _papercutDefaultPort = await _papercutDefaultEndpoint.port.get();
-const _papercutDefaultUri = await _papercutDefaultEndpoint.url.get();
-const _papercutDefaultConnectionString = await papercutDefaultResource.connectionStringExpression.get();
+const _papercutDefaultEndpoint = await papercutDefault.getEndpoint("smtp");
+const _papercutDefaultHost = await _papercutDefaultEndpoint.host();
+const _papercutDefaultPort = await _papercutDefaultEndpoint.port();
+const _papercutDefaultUri = await _papercutDefaultEndpoint.url();
+const _papercutDefaultConnectionString =
+ await papercutDefault.connectionStringExpression();
await builder.build().run();
From bc729e24faf292c29fa975c581ae25f0f77a4976 Mon Sep 17 00:00:00 2001
From: Aaron Powell
Date: Tue, 12 May 2026 17:14:13 +1000
Subject: [PATCH 20/42] Fixing API usage in pgext apphost.ts
---
.../apphost.ts | 32 +++++++++----------
1 file changed, 15 insertions(+), 17 deletions(-)
diff --git a/examples/postgres-ext/CommunityToolkit.Aspire.Hosting.PostgreSQL.Extensions.AppHost.TypeScript/apphost.ts b/examples/postgres-ext/CommunityToolkit.Aspire.Hosting.PostgreSQL.Extensions.AppHost.TypeScript/apphost.ts
index 705595279..f882e2caf 100644
--- a/examples/postgres-ext/CommunityToolkit.Aspire.Hosting.PostgreSQL.Extensions.AppHost.TypeScript/apphost.ts
+++ b/examples/postgres-ext/CommunityToolkit.Aspire.Hosting.PostgreSQL.Extensions.AppHost.TypeScript/apphost.ts
@@ -1,25 +1,23 @@
-import { createBuilder } from './.modules/aspire.js';
+import { createBuilder } from "./.modules/aspire.js";
const builder = await createBuilder();
-const postgres = await builder.addPostgres('postgres');
-await postgres.withDbGate({ containerName: 'postgres-dbgate' });
-await postgres.withAdminer({ containerName: 'postgres-adminer' });
+const postgres = await builder.addPostgres("postgres");
+await postgres.withDbGate({ containerName: "postgres-dbgate" });
+await postgres.withAdminer({ containerName: "postgres-adminer" });
-const database = await postgres.addDatabase('appdb');
-await database.withFlywayMigration('flyway-migration', './migrations');
-await database.withFlywayRepair('flyway-repair', './migrations');
+const database = await postgres.addDatabase("appdb");
+await database.withFlywayMigration("flyway-migration", "./migrations");
+await database.withFlywayRepair("flyway-repair", "./migrations");
-const resolvedPostgres = await postgres;
-const _primaryEndpoint = await resolvedPostgres.getEndpoint("tcp");
-const _host = await _primaryEndpoint.host.get();
-const _port = await _primaryEndpoint.port.get();
-const _serverUri = await _primaryEndpoint.url.get();
-const _serverJdbcConnectionString = await resolvedPostgres.jdbcConnectionString.get();
+const _primaryEndpoint = await postgres.getEndpoint("tcp");
+const _host = await _primaryEndpoint.host();
+const _port = await _primaryEndpoint.port();
+const _serverUri = await _primaryEndpoint.url();
+const _serverJdbcConnectionString = await postgres.jdbcConnectionString();
-const resolvedDatabase = await database;
-const _databaseName = await resolvedDatabase.databaseName.get();
-const _databaseUri = await resolvedDatabase.uriExpression.get();
-const _databaseJdbcConnectionString = await resolvedDatabase.jdbcConnectionString.get();
+const _databaseName = await database.databaseName();
+const _databaseUri = await database.uriExpression();
+const _databaseJdbcConnectionString = await database.jdbcConnectionString();
await builder.build().run();
From 0bb202724c0561f75693ae0c93eb65de13d6a644 Mon Sep 17 00:00:00 2001
From: Aaron Powell
Date: Tue, 12 May 2026 17:15:48 +1000
Subject: [PATCH 21/42] Fixing API usage in sftp apphost.ts
---
.../apphost.ts | 73 +++++++++++--------
1 file changed, 43 insertions(+), 30 deletions(-)
diff --git a/examples/sftp/CommunityToolkit.Aspire.Hosting.Sftp.AppHost.TypeScript/apphost.ts b/examples/sftp/CommunityToolkit.Aspire.Hosting.Sftp.AppHost.TypeScript/apphost.ts
index dd224cd12..710c89e2c 100644
--- a/examples/sftp/CommunityToolkit.Aspire.Hosting.Sftp.AppHost.TypeScript/apphost.ts
+++ b/examples/sftp/CommunityToolkit.Aspire.Hosting.Sftp.AppHost.TypeScript/apphost.ts
@@ -1,48 +1,61 @@
-import { dirname, join } from 'node:path';
-import { fileURLToPath } from 'node:url';
+import { dirname, join } from "node:path";
+import { fileURLToPath } from "node:url";
-import { createBuilder, KeyType } from './.modules/aspire.js';
+import { createBuilder, KeyType } from "./.modules/aspire.js";
const currentDirectory = dirname(fileURLToPath(import.meta.url));
-const appHostFixtureDirectory = join(currentDirectory, '..', 'CommunityToolkit.Aspire.Hosting.Sftp.AppHost');
-const usersFile = join(appHostFixtureDirectory, 'etc', 'sftp', 'users.conf');
-const hostKeyFile = join(appHostFixtureDirectory, 'etc', 'ssh', 'ssh_host_ed25519_key');
-const userKeyFile = join(appHostFixtureDirectory, 'home', 'foo', '.ssh', 'keys', 'id_ed25519.pub');
+const appHostFixtureDirectory = join(
+ currentDirectory,
+ "..",
+ "CommunityToolkit.Aspire.Hosting.Sftp.AppHost",
+);
+const usersFile = join(appHostFixtureDirectory, "etc", "sftp", "users.conf");
+const hostKeyFile = join(
+ appHostFixtureDirectory,
+ "etc",
+ "ssh",
+ "ssh_host_ed25519_key",
+);
+const userKeyFile = join(
+ appHostFixtureDirectory,
+ "home",
+ "foo",
+ ".ssh",
+ "keys",
+ "id_ed25519.pub",
+);
const builder = await createBuilder();
// addSftp — explicit port
-const sftp = await builder.addSftp('sftp', { port: 2222 });
+const sftp = await builder.addSftp("sftp", { port: 2222 });
// withUsersFile / withHostKeyFile / withUserKeyFile — keep export coverage without
// requiring checked-in SSH fixtures for runtime smoke.
-if (process.env.ASPIRE_RUNTIME_SMOKE === '1') {
- await sftp.withEnvironment('SFTP_USERS', 'foo:pass:::upload');
+if (process.env.ASPIRE_RUNTIME_SMOKE === "1") {
+ await sftp.withEnvironment("SFTP_USERS", "foo:pass:::upload");
} else {
await sftp.withUsersFile(usersFile);
await sftp.withHostKeyFile(hostKeyFile, KeyType.Ed25519);
- await sftp.withUserKeyFile('foo', userKeyFile, KeyType.Ed25519);
+ await sftp.withUserKeyFile("foo", userKeyFile, KeyType.Ed25519);
}
// addSftp — defaults
-const sftpDefaults = await builder.addSftp('sftp-defaults');
-await sftpDefaults.withEnvironment('SFTP_USERS', 'bar:pass:::upload');
-
-if (process.env.ASPIRE_RUNTIME_SMOKE !== '1') {
- // ---- Property access on SftpContainerResource (ExposeProperties = true) ----
- const sftpResource = await sftp;
- const _endpoint = await sftpResource.getEndpoint('sftp');
- const _host = await _endpoint.host.get();
- const _port = await _endpoint.port.get();
- const _uri = await _endpoint.url.get();
- const _connectionString = sftpResource.connectionStringExpression;
-
- const sftpDefaultsResource = await sftpDefaults;
- const _defaultEndpoint = await sftpDefaultsResource.getEndpoint('sftp');
- const _defaultHost = await _defaultEndpoint.host.get();
- const _defaultPort = await _defaultEndpoint.port.get();
- const _defaultUri = await _defaultEndpoint.url.get();
- const _defaultConnectionString = sftpDefaultsResource.connectionStringExpression;
-}
+const sftpDefaults = await builder.addSftp("sftp-defaults");
+await sftpDefaults.withEnvironment("SFTP_USERS", "bar:pass:::upload");
+
+// ---- Property access on SftpContainerResource (ExposeProperties = true) ----
+const _endpoint = await sftp.getEndpoint("sftp");
+const _host = await _endpoint.host();
+const _port = await _endpoint.port();
+const _uri = await _endpoint.url();
+const _connectionString = await sftp.connectionStringExpression();
+
+const _defaultEndpoint = await sftpDefaults.getEndpoint("sftp");
+const _defaultHost = await _defaultEndpoint.host();
+const _defaultPort = await _defaultEndpoint.port();
+const _defaultUri = await _defaultEndpoint.url();
+const _defaultConnectionString =
+ await sftpDefaults.connectionStringExpression();
await builder.build().run();
From 9d53e93bf5f500bf2b01d48d6b03fb74abd0540e Mon Sep 17 00:00:00 2001
From: Aaron Powell
Date: Tue, 12 May 2026 17:16:48 +1000
Subject: [PATCH 22/42] Fixing API usage in solr apphost.ts
---
.../apphost.ts | 13 ++++++-------
1 file changed, 6 insertions(+), 7 deletions(-)
diff --git a/examples/solr/CommunityToolkit.Aspire.Hosting.Solr.AppHost.TypeScript/apphost.ts b/examples/solr/CommunityToolkit.Aspire.Hosting.Solr.AppHost.TypeScript/apphost.ts
index 1874f69cc..76a411f20 100644
--- a/examples/solr/CommunityToolkit.Aspire.Hosting.Solr.AppHost.TypeScript/apphost.ts
+++ b/examples/solr/CommunityToolkit.Aspire.Hosting.Solr.AppHost.TypeScript/apphost.ts
@@ -18,13 +18,12 @@ const builderCoreName: string = await solr.coreName.get();
await solr.coreName.set(builderCoreName);
await solr.withDataVolume({ name: "solr-data" });
-const resolvedSolr = await solr;
-const _primaryEndpoint = await resolvedSolr.getEndpoint("http");
-const _host = await _primaryEndpoint.host.get();
-const _port = await _primaryEndpoint.port.get();
-const _coreName: string = await resolvedSolr.coreName.get();
-const _connectionString = await resolvedSolr.connectionStringExpression.get();
-const _uriExpression = await _primaryEndpoint.url.get();
+const _primaryEndpoint = await solr.getEndpoint("http");
+const _host = await _primaryEndpoint.host();
+const _port = await _primaryEndpoint.port();
+const _coreName: string = await solr.coreName.get();
+const _connectionString = await solr.connectionStringExpression();
+const _uriExpression = await _primaryEndpoint.url();
const bindMountedSolr = await builder.addSolr("solr-bind", {
port: 8984,
From 83dd9bce7b54e71eb525168079e6477367612565 Mon Sep 17 00:00:00 2001
From: Aaron Powell
Date: Tue, 12 May 2026 17:17:47 +1000
Subject: [PATCH 23/42] Fixing API usage in dbprojects apphost.ts
---
.../apphost.ts | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/examples/sql-database-projects/CommunityToolkit.Aspire.Hosting.SqlDatabaseProjects.AppHost.TypeScript/apphost.ts b/examples/sql-database-projects/CommunityToolkit.Aspire.Hosting.SqlDatabaseProjects.AppHost.TypeScript/apphost.ts
index eba46f373..c8d052a8a 100644
--- a/examples/sql-database-projects/CommunityToolkit.Aspire.Hosting.SqlDatabaseProjects.AppHost.TypeScript/apphost.ts
+++ b/examples/sql-database-projects/CommunityToolkit.Aspire.Hosting.SqlDatabaseProjects.AppHost.TypeScript/apphost.ts
@@ -21,9 +21,9 @@ const connectionProject = await builder.addSqlProject('connection-project');
await connectionProject.withDacpac(projectPath);
await connectionProject.withConnectionReference(existingConnection);
-const _databaseProjectDacpacPath: string | null = await databaseProject.dacpacPath.get();
-const _databaseProjectDacDeployOptionsPath: string | null = await databaseProject.dacDeployOptionsPath.get();
-const _databaseProjectSkipWhenDeployed: boolean = await databaseProject.skipWhenDeployed.get();
-const _connectionProjectDacpacPath: string | null = await connectionProject.dacpacPath.get();
+const _databaseProjectDacpacPath: string | null = await databaseProject.dacpacPath();
+const _databaseProjectDacDeployOptionsPath: string | null = await databaseProject.dacDeployOptionsPath();
+const _databaseProjectSkipWhenDeployed: boolean = await databaseProject.skipWhenDeployed();
+const _connectionProjectDacpacPath: string | null = await connectionProject.dacpacPath();
await builder.build().run();
\ No newline at end of file
From bfe1b59a1d43a721bb0ca1b98f80e33ec3b71f54 Mon Sep 17 00:00:00 2001
From: Aaron Powell
Date: Tue, 12 May 2026 17:19:00 +1000
Subject: [PATCH 24/42] Fixing API usage in sqlite apphost.ts
---
.../apphost.ts | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/examples/sqlite/CommunityToolkit.Aspire.Hosting.Sqlite.AppHost.TypeScript/apphost.ts b/examples/sqlite/CommunityToolkit.Aspire.Hosting.Sqlite.AppHost.TypeScript/apphost.ts
index f42133359..3086ceac0 100644
--- a/examples/sqlite/CommunityToolkit.Aspire.Hosting.Sqlite.AppHost.TypeScript/apphost.ts
+++ b/examples/sqlite/CommunityToolkit.Aspire.Hosting.Sqlite.AppHost.TypeScript/apphost.ts
@@ -12,13 +12,13 @@ function asSqliteWebResource(resource: unknown): SqliteWebResource {
const builder = await createBuilder();
await builder.subscribeAfterResourcesCreated(async (event) => {
- const model = await event.model.get();
+ const model = await event.model();
const sqliteWeb = asSqliteWebResource(await model.findResourceByName("sqlite-browser"));
const _sqliteWebEndpoint = await sqliteWeb.getEndpoint("http");
- const _sqliteWebHost = await _sqliteWebEndpoint.host.get();
- const _sqliteWebPort = await _sqliteWebEndpoint.port.get();
- const _sqliteWebConnectionString = await sqliteWeb.connectionStringExpression.get();
- const _sqliteWebUri = await _sqliteWebEndpoint.url.get();
+ const _sqliteWebHost = await _sqliteWebEndpoint.host();
+ const _sqliteWebPort = await _sqliteWebEndpoint.port();
+ const _sqliteWebConnectionString = await sqliteWeb.connectionStringExpression();
+ const _sqliteWebUri = await _sqliteWebEndpoint.url();
});
const sqlite = await builder.addSqlite("sqlite", {
@@ -31,6 +31,6 @@ await sqlite.withSqliteWeb({ containerName: "sqlite-browser" });
await sqliteDefault.withSqliteWeb();
const sqliteResource = sqlite;
-const _sqliteConnectionString = await sqliteResource.connectionStringExpression.get();
+const _sqliteConnectionString = await sqliteResource.connectionStringExpression();
await builder.build().run();
From ce5c1746f1f2a80ce80c2e7594aba3620028b6d2 Mon Sep 17 00:00:00 2001
From: Aaron Powell
Date: Tue, 12 May 2026 17:20:41 +1000
Subject: [PATCH 25/42] Fixing API usage in surrealdb apphost.ts
---
.../apphost.ts | 95 ++++++++++---------
1 file changed, 48 insertions(+), 47 deletions(-)
diff --git a/examples/surrealdb/CommunityToolkit.Aspire.Hosting.SurrealDb.AppHost.TypeScript/apphost.ts b/examples/surrealdb/CommunityToolkit.Aspire.Hosting.SurrealDb.AppHost.TypeScript/apphost.ts
index 8565aa0f7..571567fcf 100644
--- a/examples/surrealdb/CommunityToolkit.Aspire.Hosting.SurrealDb.AppHost.TypeScript/apphost.ts
+++ b/examples/surrealdb/CommunityToolkit.Aspire.Hosting.SurrealDb.AppHost.TypeScript/apphost.ts
@@ -1,62 +1,63 @@
-import { createBuilder } from './.modules/aspire.js';
+import { createBuilder } from "./.modules/aspire.js";
const builder = await createBuilder();
-let primary = await builder.addSurrealServer('primary', {
+let primary = await builder.addSurrealServer("primary", {
port: 18000,
- path: 'memory',
+ path: "memory",
strictMode: true,
});
-primary = await primary.withDataVolume({ name: 'surreal-primary-data' });
-primary = await primary.withLogLevel('Information');
-primary = await primary.withSurrealist({ containerName: 'surrealist-primary' });
+primary = await primary.withDataVolume({ name: "surreal-primary-data" });
+primary = await primary.withLogLevel("Information");
+primary = await primary.withSurrealist({ containerName: "surrealist-primary" });
primary = await primary.withSurrealDbOtlpExporter();
-let appNamespace = await primary.addNamespace('appns', { namespaceName: 'polyglotNs' });
-appNamespace = await appNamespace.withCreationScript('DEFINE NAMESPACE IF NOT EXISTS `polyglotNs`;');
+let appNamespace = await primary.addNamespace("appns", {
+ namespaceName: "polyglotNs",
+});
+appNamespace = await appNamespace.withCreationScript(
+ "DEFINE NAMESPACE IF NOT EXISTS `polyglotNs`;",
+);
-let appDatabase = await appNamespace.addDatabase('appdb', { databaseName: 'polyglotDb' });
-appDatabase = await appDatabase.withCreationScript('DEFINE DATABASE IF NOT EXISTS `polyglotDb`;');
+let appDatabase = await appNamespace.addDatabase("appdb", {
+ databaseName: "polyglotDb",
+});
+appDatabase = await appDatabase.withCreationScript(
+ "DEFINE DATABASE IF NOT EXISTS `polyglotDb`;",
+);
-let mounted = await builder.addSurrealServer('mounted', {
+let mounted = await builder.addSurrealServer("mounted", {
port: 18001,
- path: 'memory',
+ path: "memory",
});
-mounted = await mounted.withDataBindMount('./data');
-mounted = await mounted.withInitFiles('./seed.surql');
-
-const primaryResource = await primary;
-const _primaryEndpoint = await primaryResource.getEndpoint('tcp');
-const _primaryHost = await _primaryEndpoint.host.get();
-const _primaryPort = await _primaryEndpoint.port.get();
-const _primaryPasswordParameter = await primaryResource.passwordParameter.get();
-const _primaryUri = await _primaryEndpoint.url.get();
-const _primaryConnectionString = await primaryResource.connectionStringExpression.get();
-
-const namespaceResource = await appNamespace;
-const _namespaceParent = await namespaceResource.parent.get();
-const _namespaceConnectionString = await namespaceResource.connectionStringExpression.get();
-const _namespaceName = await namespaceResource.namespaceName.get();
-const _namespaceParentName = await _namespaceParent.name.get();
-
-if (false) {
- const _primaryNamespace = await primaryResource.namespaces.get('appns');
- const _namespaceDatabase = await namespaceResource.databases.get('appdb');
-}
-
-const databaseResource = await appDatabase;
-const _databaseParent = await databaseResource.parent.get();
-const _databaseConnectionString = await databaseResource.connectionStringExpression.get();
-const _databaseName = await databaseResource.databaseName.get();
-const _databaseParentName = await _databaseParent.name.get();
-const _databaseServerName = await (await _databaseParent.parent.get()).name.get();
-
-const mountedResource = await mounted;
-const _mountedEndpoint = await mountedResource.getEndpoint('tcp');
-const _mountedHost = await _mountedEndpoint.host.get();
-const _mountedPort = await _mountedEndpoint.port.get();
-const _mountedUri = await _mountedEndpoint.url.get();
-const _mountedConnectionString = await mountedResource.connectionStringExpression.get();
+mounted = await mounted.withDataBindMount("./data");
+mounted = await mounted.withInitFiles("./seed.surql");
+
+const _primaryEndpoint = await primary.getEndpoint("tcp");
+const _primaryHost = await _primaryEndpoint.host();
+const _primaryPort = await _primaryEndpoint.port();
+const _primaryPasswordParameter = await primary.passwordParameter();
+const _primaryUri = await _primaryEndpoint.url();
+const _primaryConnectionString = await primary.connectionStringExpression();
+
+const _namespaceParent = await appNamespace.parent();
+const _namespaceConnectionString =
+ await appNamespace.connectionStringExpression();
+const _namespaceName = await appNamespace.namespaceName();
+const _namespaceParentName = await _namespaceParent.name();
+
+const _databaseParent = await appDatabase.parent();
+const _databaseConnectionString =
+ await appDatabase.connectionStringExpression();
+const _databaseName = await appDatabase.databaseName();
+const _databaseParentName = await _databaseParent.name();
+const _databaseServerName = await (await _databaseParent.parent()).name();
+
+const _mountedEndpoint = await mounted.getEndpoint("tcp");
+const _mountedHost = await _mountedEndpoint.host();
+const _mountedPort = await _mountedEndpoint.port();
+const _mountedUri = await _mountedEndpoint.url();
+const _mountedConnectionString = await mounted.connectionStringExpression();
await builder.build().run();
From 8147922c87fda768207373621504d6134f88d654 Mon Sep 17 00:00:00 2001
From: Aaron Powell
Date: Tue, 12 May 2026 17:21:36 +1000
Subject: [PATCH 26/42] Fixing API usage in umami apphost.ts
---
.../apphost.ts | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/examples/umami/CommunityToolkit.Aspire.Hosting.Umami.AppHost.TypeScript/apphost.ts b/examples/umami/CommunityToolkit.Aspire.Hosting.Umami.AppHost.TypeScript/apphost.ts
index ce2902b7f..4b7f69eb1 100644
--- a/examples/umami/CommunityToolkit.Aspire.Hosting.Umami.AppHost.TypeScript/apphost.ts
+++ b/examples/umami/CommunityToolkit.Aspire.Hosting.Umami.AppHost.TypeScript/apphost.ts
@@ -20,7 +20,6 @@ await umami.withPostgreSQL(analyticsDatabase);
await umamiDefault.withPostgreSQL(analyticsDatabase);
// Property access on UmamiResource (ExposeProperties = true)
-const umamiResource = await umami;
-const _primaryEndpoint = await umamiResource.getEndpoint("http");
+const _primaryEndpoint = await umami.getEndpoint("http");
await builder.build().run();
From 21fe96c38d1befb6921ededf999ceaf18092044e Mon Sep 17 00:00:00 2001
From: Aaron Powell
Date: Wed, 13 May 2026 15:52:01 +1000
Subject: [PATCH 27/42] adding sqlserver to the dab ts apphost demo
---
.../apphost.ts | 48 ++++++++++++-------
.../aspire.config.json | 3 +-
.../sql-server/configure-db.sh | 48 +++++++++++++++++++
.../sql-server/entrypoint.sh | 8 ++++
4 files changed, 89 insertions(+), 18 deletions(-)
create mode 100644 examples/data-api-builder/CommunityToolkit.Aspire.Hosting.Azure.DataApiBuilder.AppHost.TypeScript/sql-server/configure-db.sh
create mode 100644 examples/data-api-builder/CommunityToolkit.Aspire.Hosting.Azure.DataApiBuilder.AppHost.TypeScript/sql-server/entrypoint.sh
diff --git a/examples/data-api-builder/CommunityToolkit.Aspire.Hosting.Azure.DataApiBuilder.AppHost.TypeScript/apphost.ts b/examples/data-api-builder/CommunityToolkit.Aspire.Hosting.Azure.DataApiBuilder.AppHost.TypeScript/apphost.ts
index fac6caeef..1977d798b 100644
--- a/examples/data-api-builder/CommunityToolkit.Aspire.Hosting.Azure.DataApiBuilder.AppHost.TypeScript/apphost.ts
+++ b/examples/data-api-builder/CommunityToolkit.Aspire.Hosting.Azure.DataApiBuilder.AppHost.TypeScript/apphost.ts
@@ -7,22 +7,36 @@ const appHostDirectory = path.dirname(fileURLToPath(import.meta.url));
const primaryConfigPath = path.join(appHostDirectory, "dab-config.json");
const secondaryConfigPath = path.join(appHostDirectory, "dab-config-2.json");
-const dab = await builder.addDataAPIBuilder("dab", {
- configFilePaths: [primaryConfigPath],
-});
-const dabWithOptions = await builder.addDataAPIBuilder("dab-with-options", {
- configFilePaths: [primaryConfigPath, secondaryConfigPath],
- httpPort: 5001,
-});
-
-const _primaryEndpoint = await dab.getEndpoint("http");
-const _host = await _primaryEndpoint.host();
-const _port = await _primaryEndpoint.port();
-const _uri = await _primaryEndpoint.url();
-
-const _secondaryPrimaryEndpoint = await dabWithOptions.getEndpoint("http");
-const _secondaryHost = await _secondaryPrimaryEndpoint.host();
-const _secondaryPort = await _secondaryPrimaryEndpoint.port();
-const _secondaryUri = await _secondaryPrimaryEndpoint.url();
+const sql = await builder
+ .addSqlServer("sql")
+ .withBindMount("./sql-server", "/usr/config")
+ .withBindMount("../database", "/docker-entrypoint-initdb.d")
+ .withEntrypoint("/usr/config/entrypoint.sh");
+
+const db = await sql.addDatabase("trek");
+
+const dab = await builder
+ .addDataAPIBuilder("dab", {
+ configFilePaths: [primaryConfigPath],
+ })
+ .withReference(db);
+
+const dabWithOptions = await builder
+ .addDataAPIBuilder("dab-with-options", {
+ configFilePaths: [primaryConfigPath, secondaryConfigPath],
+ httpPort: 5001,
+ })
+ .withReference(db);
+
+// const _primaryEndpoint = await dab.getEndpoint("http");
+// // const _host = await _primaryEndpoint.host();
+// const exists = await _primaryEndpoint.exists();
+// const _port = await _primaryEndpoint.port();
+// const _uri = await _primaryEndpoint.url();
+
+// const _secondaryPrimaryEndpoint = await dabWithOptions.getEndpoint("http");
+// const _secondaryHost = await _secondaryPrimaryEndpoint.host();
+// const _secondaryPort = await _secondaryPrimaryEndpoint.port();
+// const _secondaryUri = await _secondaryPrimaryEndpoint.url();
await builder.build().run();
diff --git a/examples/data-api-builder/CommunityToolkit.Aspire.Hosting.Azure.DataApiBuilder.AppHost.TypeScript/aspire.config.json b/examples/data-api-builder/CommunityToolkit.Aspire.Hosting.Azure.DataApiBuilder.AppHost.TypeScript/aspire.config.json
index a28071193..d6929af62 100644
--- a/examples/data-api-builder/CommunityToolkit.Aspire.Hosting.Azure.DataApiBuilder.AppHost.TypeScript/aspire.config.json
+++ b/examples/data-api-builder/CommunityToolkit.Aspire.Hosting.Azure.DataApiBuilder.AppHost.TypeScript/aspire.config.json
@@ -13,6 +13,7 @@
}
},
"packages": {
- "CommunityToolkit.Aspire.Hosting.Azure.DataApiBuilder": "../../../src/CommunityToolkit.Aspire.Hosting.Azure.DataApiBuilder/CommunityToolkit.Aspire.Hosting.Azure.DataApiBuilder.csproj"
+ "CommunityToolkit.Aspire.Hosting.Azure.DataApiBuilder": "../../../src/CommunityToolkit.Aspire.Hosting.Azure.DataApiBuilder/CommunityToolkit.Aspire.Hosting.Azure.DataApiBuilder.csproj",
+ "Aspire.Hosting.SqlServer": "13.3.0"
}
}
diff --git a/examples/data-api-builder/CommunityToolkit.Aspire.Hosting.Azure.DataApiBuilder.AppHost.TypeScript/sql-server/configure-db.sh b/examples/data-api-builder/CommunityToolkit.Aspire.Hosting.Azure.DataApiBuilder.AppHost.TypeScript/sql-server/configure-db.sh
new file mode 100644
index 000000000..ce7723793
--- /dev/null
+++ b/examples/data-api-builder/CommunityToolkit.Aspire.Hosting.Azure.DataApiBuilder.AppHost.TypeScript/sql-server/configure-db.sh
@@ -0,0 +1,48 @@
+#!/bin/bash
+
+# set -x
+
+# Adapted from: https://github.com/microsoft/mssql-docker/blob/80e2a51d0eb1693f2de014fb26d4a414f5a5add5/linux/preview/examples/mssql-customize/configure-db.sh
+
+# Wait 60 seconds for SQL Server to start up by ensuring that
+# calling SQLCMD does not return an error code, which will ensure that sqlcmd is accessible
+# and that system and user databases return "0" which means all databases are in an "online" state
+# https://docs.microsoft.com/en-us/sql/relational-databases/system-catalog-views/sys-databases-transact-sql?view=sql-server-2017
+
+dbstatus=1
+errcode=1
+start_time=$SECONDS
+end_by=$((start_time + 60))
+
+echo "Starting check for SQL Server start-up at $start_time, will end at $end_by"
+
+while [[ $SECONDS -lt $end_by && ( $errcode -ne 0 || ( -z "$dbstatus" || $dbstatus -ne 0 ) ) ]]; do
+ dbstatus="$(/opt/mssql-tools18/bin/sqlcmd -h -1 -t 1 -U sa -P "$MSSQL_SA_PASSWORD" -C -Q "SET NOCOUNT ON; Select SUM(state) from sys.databases")"
+ errcode=$?
+ sleep 1
+done
+
+elapsed_time=$((SECONDS - start_time))
+echo "Stopped checking for SQL Server start-up after $elapsed_time seconds (dbstatus=$dbstatus,errcode=$errcode,seconds=$SECONDS)"
+
+if [[ $dbstatus -ne 0 ]] || [[ $errcode -ne 0 ]]; then
+ echo "SQL Server took more than 60 seconds to start up or one or more databases are not in an ONLINE state"
+ echo "dbstatus = $dbstatus"
+ echo "errcode = $errcode"
+ exit 1
+fi
+
+# Loop through the .sql files in the root of /docker-entrypoint-initdb.d and execute them with sqlcmd
+for f in $(find /docker-entrypoint-initdb.d -maxdepth 1 -type f -name "*.sql" | sort); do
+ echo "- A -=- Processing $f file..."
+ /opt/mssql-tools18/bin/sqlcmd -S localhost -U sa -P "$MSSQL_SA_PASSWORD" -C -d master -i "$f"
+done
+
+# Loop through each subdirectory in /docker-entrypoint-initdb.d
+for dir in $(find /docker-entrypoint-initdb.d -mindepth 1 -maxdepth 1 -type d | sort); do
+ # Loop through the .sql files in each subdirectory and execute them with sqlcmd
+ for f in $(find "$dir" -maxdepth 1 -type f -name "*.sql" | sort); do
+ echo "- B -=- Processing $f file in directory $dir..."
+ /opt/mssql-tools18/bin/sqlcmd -S localhost -U sa -P "$MSSQL_SA_PASSWORD" -C -d master -i "$f"
+ done
+done
\ No newline at end of file
diff --git a/examples/data-api-builder/CommunityToolkit.Aspire.Hosting.Azure.DataApiBuilder.AppHost.TypeScript/sql-server/entrypoint.sh b/examples/data-api-builder/CommunityToolkit.Aspire.Hosting.Azure.DataApiBuilder.AppHost.TypeScript/sql-server/entrypoint.sh
new file mode 100644
index 000000000..fda39d142
--- /dev/null
+++ b/examples/data-api-builder/CommunityToolkit.Aspire.Hosting.Azure.DataApiBuilder.AppHost.TypeScript/sql-server/entrypoint.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+# Start the script to create the DB and user
+/usr/config/configure-db.sh &
+
+# Start SQL Server
+/opt/mssql/bin/sqlservr
+
From 144ef11478ab00e2c6233e9eb5485b556b4e8ca5 Mon Sep 17 00:00:00 2001
From: Aaron Powell
Date: Wed, 13 May 2026 15:57:28 +1000
Subject: [PATCH 28/42] Forgot that the tests didn't wait on resources
---
.../TypeScriptAppHostTests.cs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/CommunityToolkit.Aspire.Hosting.Azure.DataApiBuilder.Tests/TypeScriptAppHostTests.cs b/tests/CommunityToolkit.Aspire.Hosting.Azure.DataApiBuilder.Tests/TypeScriptAppHostTests.cs
index bcc4a2221..cd1c0fe01 100644
--- a/tests/CommunityToolkit.Aspire.Hosting.Azure.DataApiBuilder.Tests/TypeScriptAppHostTests.cs
+++ b/tests/CommunityToolkit.Aspire.Hosting.Azure.DataApiBuilder.Tests/TypeScriptAppHostTests.cs
@@ -13,7 +13,7 @@ await TypeScriptAppHostTest.Run(
appHostProject: "CommunityToolkit.Aspire.Hosting.Azure.DataApiBuilder.AppHost.TypeScript",
packageName: "CommunityToolkit.Aspire.Hosting.Azure.DataApiBuilder",
exampleName: "data-api-builder",
- waitForResources: [],
+ waitForResources: ["dab", "dab-with-options"],
cancellationToken: TestContext.Current.CancellationToken);
}
}
\ No newline at end of file
From 10d8ff5ac2483cfec3168f81a73c1a956057a5d2 Mon Sep 17 00:00:00 2001
From: Aaron Powell
Date: Thu, 14 May 2026 11:30:32 +1000
Subject: [PATCH 29/42] Updating all the aspire.config.json to include sdk
version
---
.../aspire.config.json | 3 +++
.../aspire.config.json | 3 +++
.../aspire.config.json | 3 +++
.../aspire.config.json | 3 +++
.../aspire.config.json | 3 +++
.../aspire.config.json | 3 +++
.../aspire.config.json | 3 +++
.../aspire.config.json | 3 +++
.../aspire.config.json | 3 +++
.../aspire.config.json | 3 +++
.../aspire.config.json | 3 +++
.../aspire.config.json | 3 +++
.../aspire.config.json | 3 +++
.../aspire.config.json | 3 +++
.../aspire.config.json | 3 +++
.../aspire.config.json | 3 +++
.../aspire.config.json | 3 +++
.../aspire.config.json | 3 +++
.../aspire.config.json | 3 +++
.../aspire.config.json | 3 +++
.../aspire.config.json | 3 +++
.../aspire.config.json | 3 +++
.../aspire.config.json | 3 +++
.../aspire.config.json | 3 +++
.../aspire.config.json | 3 +++
.../aspire.config.json | 3 +++
.../aspire.config.json | 3 +++
.../aspire.config.json | 3 +++
.../aspire.config.json | 3 +++
.../aspire.config.json | 3 +++
.../aspire.config.json | 3 +++
.../aspire.config.json | 3 +++
.../aspire.config.json | 3 +++
.../aspire.config.json | 3 +++
.../aspire.config.json | 3 +++
.../aspire.config.json | 3 +++
.../aspire.config.json | 3 +++
.../aspire.config.json | 3 +++
38 files changed, 114 insertions(+)
diff --git a/examples/activemq/CommunityToolkit.Aspire.Hosting.ActiveMQ.AppHost.TypeScript/aspire.config.json b/examples/activemq/CommunityToolkit.Aspire.Hosting.ActiveMQ.AppHost.TypeScript/aspire.config.json
index 9ae33abe8..706c3e958 100644
--- a/examples/activemq/CommunityToolkit.Aspire.Hosting.ActiveMQ.AppHost.TypeScript/aspire.config.json
+++ b/examples/activemq/CommunityToolkit.Aspire.Hosting.ActiveMQ.AppHost.TypeScript/aspire.config.json
@@ -3,6 +3,9 @@
"path": "apphost.ts",
"language": "typescript/nodejs"
},
+ "sdk": {
+ "version": "13.3.0"
+ },
"profiles": {
"https": {
"applicationUrl": "https://localhost:29750;http://localhost:28931",
diff --git a/examples/adminer/CommunityToolkit.Aspire.Hosting.Adminer.AppHost.TypeScript/aspire.config.json b/examples/adminer/CommunityToolkit.Aspire.Hosting.Adminer.AppHost.TypeScript/aspire.config.json
index 4d2593612..b8d479966 100644
--- a/examples/adminer/CommunityToolkit.Aspire.Hosting.Adminer.AppHost.TypeScript/aspire.config.json
+++ b/examples/adminer/CommunityToolkit.Aspire.Hosting.Adminer.AppHost.TypeScript/aspire.config.json
@@ -3,6 +3,9 @@
"path": "apphost.ts",
"language": "typescript/nodejs"
},
+ "sdk": {
+ "version": "13.3.0"
+ },
"profiles": {
"https": {
"applicationUrl": "https://localhost:29750;http://localhost:28931",
diff --git a/examples/data-api-builder/CommunityToolkit.Aspire.Hosting.Azure.DataApiBuilder.AppHost.TypeScript/aspire.config.json b/examples/data-api-builder/CommunityToolkit.Aspire.Hosting.Azure.DataApiBuilder.AppHost.TypeScript/aspire.config.json
index d6929af62..8031d56d8 100644
--- a/examples/data-api-builder/CommunityToolkit.Aspire.Hosting.Azure.DataApiBuilder.AppHost.TypeScript/aspire.config.json
+++ b/examples/data-api-builder/CommunityToolkit.Aspire.Hosting.Azure.DataApiBuilder.AppHost.TypeScript/aspire.config.json
@@ -3,6 +3,9 @@
"path": "apphost.ts",
"language": "typescript/nodejs"
},
+ "sdk": {
+ "version": "13.3.0"
+ },
"profiles": {
"https": {
"applicationUrl": "https://localhost:29750;http://localhost:28931",
diff --git a/examples/dbgate/CommunityToolkit.Aspire.Hosting.DbGate.AppHost.TypeScript/aspire.config.json b/examples/dbgate/CommunityToolkit.Aspire.Hosting.DbGate.AppHost.TypeScript/aspire.config.json
index daeb71a18..397196cf7 100644
--- a/examples/dbgate/CommunityToolkit.Aspire.Hosting.DbGate.AppHost.TypeScript/aspire.config.json
+++ b/examples/dbgate/CommunityToolkit.Aspire.Hosting.DbGate.AppHost.TypeScript/aspire.config.json
@@ -3,6 +3,9 @@
"path": "apphost.ts",
"language": "typescript/nodejs"
},
+ "sdk": {
+ "version": "13.3.0"
+ },
"profiles": {
"https": {
"applicationUrl": "https://localhost:29750;http://localhost:28931",
diff --git a/examples/deno/CommunityToolkit.Aspire.Hosting.Deno.AppHost.TypeScript/aspire.config.json b/examples/deno/CommunityToolkit.Aspire.Hosting.Deno.AppHost.TypeScript/aspire.config.json
index 94493adf1..a46d75b48 100644
--- a/examples/deno/CommunityToolkit.Aspire.Hosting.Deno.AppHost.TypeScript/aspire.config.json
+++ b/examples/deno/CommunityToolkit.Aspire.Hosting.Deno.AppHost.TypeScript/aspire.config.json
@@ -3,6 +3,9 @@
"path": "apphost.ts",
"language": "typescript/nodejs"
},
+ "sdk": {
+ "version": "13.3.0"
+ },
"profiles": {
"https": {
"applicationUrl": "https://localhost:29750;http://localhost:28931",
diff --git a/examples/elasticsearch-ext/CommunityToolkit.Aspire.Hosting.Elasticsearch.Extensions.AppHost.TypeScript/aspire.config.json b/examples/elasticsearch-ext/CommunityToolkit.Aspire.Hosting.Elasticsearch.Extensions.AppHost.TypeScript/aspire.config.json
index 35fd0c483..93a498394 100644
--- a/examples/elasticsearch-ext/CommunityToolkit.Aspire.Hosting.Elasticsearch.Extensions.AppHost.TypeScript/aspire.config.json
+++ b/examples/elasticsearch-ext/CommunityToolkit.Aspire.Hosting.Elasticsearch.Extensions.AppHost.TypeScript/aspire.config.json
@@ -3,6 +3,9 @@
"path": "apphost.ts",
"language": "typescript/nodejs"
},
+ "sdk": {
+ "version": "13.3.0"
+ },
"profiles": {
"https": {
"applicationUrl": "https://localhost:29750;http://localhost:28931",
diff --git a/examples/flagd/CommunityToolkit.Aspire.Hosting.Flagd.AppHost.TypeScript/aspire.config.json b/examples/flagd/CommunityToolkit.Aspire.Hosting.Flagd.AppHost.TypeScript/aspire.config.json
index 38025bd0e..f635a4705 100644
--- a/examples/flagd/CommunityToolkit.Aspire.Hosting.Flagd.AppHost.TypeScript/aspire.config.json
+++ b/examples/flagd/CommunityToolkit.Aspire.Hosting.Flagd.AppHost.TypeScript/aspire.config.json
@@ -3,6 +3,9 @@
"path": "apphost.ts",
"language": "typescript/nodejs"
},
+ "sdk": {
+ "version": "13.3.0"
+ },
"profiles": {
"https": {
"applicationUrl": "https://localhost:29750;http://localhost:28931",
diff --git a/examples/flyway/CommunityToolkit.Aspire.Hosting.Flyway.AppHost.TypeScript/aspire.config.json b/examples/flyway/CommunityToolkit.Aspire.Hosting.Flyway.AppHost.TypeScript/aspire.config.json
index 21db43158..0456e2ab8 100644
--- a/examples/flyway/CommunityToolkit.Aspire.Hosting.Flyway.AppHost.TypeScript/aspire.config.json
+++ b/examples/flyway/CommunityToolkit.Aspire.Hosting.Flyway.AppHost.TypeScript/aspire.config.json
@@ -3,6 +3,9 @@
"path": "apphost.ts",
"language": "typescript/nodejs"
},
+ "sdk": {
+ "version": "13.3.0"
+ },
"profiles": {
"https": {
"applicationUrl": "https://localhost:29750;http://localhost:28931",
diff --git a/examples/goff/CommunityToolkit.Aspire.Hosting.GoFeatureFlag.AppHost.TypeScript/aspire.config.json b/examples/goff/CommunityToolkit.Aspire.Hosting.GoFeatureFlag.AppHost.TypeScript/aspire.config.json
index 0bc3bbcdc..8e9ddd54d 100644
--- a/examples/goff/CommunityToolkit.Aspire.Hosting.GoFeatureFlag.AppHost.TypeScript/aspire.config.json
+++ b/examples/goff/CommunityToolkit.Aspire.Hosting.GoFeatureFlag.AppHost.TypeScript/aspire.config.json
@@ -3,6 +3,9 @@
"path": "apphost.ts",
"language": "typescript/nodejs"
},
+ "sdk": {
+ "version": "13.3.0"
+ },
"profiles": {
"https": {
"applicationUrl": "https://localhost:29750;http://localhost:28931",
diff --git a/examples/golang/CommunityToolkit.Aspire.Hosting.Golang.AppHost.TypeScript/aspire.config.json b/examples/golang/CommunityToolkit.Aspire.Hosting.Golang.AppHost.TypeScript/aspire.config.json
index 9de0d163d..807f38ca9 100644
--- a/examples/golang/CommunityToolkit.Aspire.Hosting.Golang.AppHost.TypeScript/aspire.config.json
+++ b/examples/golang/CommunityToolkit.Aspire.Hosting.Golang.AppHost.TypeScript/aspire.config.json
@@ -3,6 +3,9 @@
"path": "apphost.ts",
"language": "typescript/nodejs"
},
+ "sdk": {
+ "version": "13.3.0"
+ },
"profiles": {
"https": {
"applicationUrl": "https://localhost:29750;http://localhost:28931",
diff --git a/examples/java/CommunityToolkit.Aspire.Hosting.Java.AppHost.TypeScript/aspire.config.json b/examples/java/CommunityToolkit.Aspire.Hosting.Java.AppHost.TypeScript/aspire.config.json
index 44584326e..ddfe5220c 100644
--- a/examples/java/CommunityToolkit.Aspire.Hosting.Java.AppHost.TypeScript/aspire.config.json
+++ b/examples/java/CommunityToolkit.Aspire.Hosting.Java.AppHost.TypeScript/aspire.config.json
@@ -3,6 +3,9 @@
"path": "apphost.ts",
"language": "typescript/nodejs"
},
+ "sdk": {
+ "version": "13.3.0"
+ },
"profiles": {
"https": {
"applicationUrl": "https://localhost:29750;http://localhost:28931",
diff --git a/examples/javascript-ext/CommunityToolkit.Aspire.Hosting.JavaScript.Extensions.AppHost.TypeScript/aspire.config.json b/examples/javascript-ext/CommunityToolkit.Aspire.Hosting.JavaScript.Extensions.AppHost.TypeScript/aspire.config.json
index 100e79893..2d6358258 100644
--- a/examples/javascript-ext/CommunityToolkit.Aspire.Hosting.JavaScript.Extensions.AppHost.TypeScript/aspire.config.json
+++ b/examples/javascript-ext/CommunityToolkit.Aspire.Hosting.JavaScript.Extensions.AppHost.TypeScript/aspire.config.json
@@ -3,6 +3,9 @@
"path": "apphost.ts",
"language": "typescript/nodejs"
},
+ "sdk": {
+ "version": "13.3.0"
+ },
"profiles": {
"https": {
"applicationUrl": "https://localhost:29750;http://localhost:28931",
diff --git a/examples/k6/CommunityToolkit.Aspire.Hosting.k6.AppHost.TypeScript/aspire.config.json b/examples/k6/CommunityToolkit.Aspire.Hosting.k6.AppHost.TypeScript/aspire.config.json
index b8f14388e..40abe3c62 100644
--- a/examples/k6/CommunityToolkit.Aspire.Hosting.k6.AppHost.TypeScript/aspire.config.json
+++ b/examples/k6/CommunityToolkit.Aspire.Hosting.k6.AppHost.TypeScript/aspire.config.json
@@ -3,6 +3,9 @@
"path": "apphost.ts",
"language": "typescript/nodejs"
},
+ "sdk": {
+ "version": "13.3.0"
+ },
"profiles": {
"https": {
"applicationUrl": "https://localhost:29750;http://localhost:28931",
diff --git a/examples/keycloak-postgres/CommunityToolkit.Aspire.Hosting.Keycloak.Extensions.AppHost.TypeScript/aspire.config.json b/examples/keycloak-postgres/CommunityToolkit.Aspire.Hosting.Keycloak.Extensions.AppHost.TypeScript/aspire.config.json
index 7a3dd97f5..dd25c638f 100644
--- a/examples/keycloak-postgres/CommunityToolkit.Aspire.Hosting.Keycloak.Extensions.AppHost.TypeScript/aspire.config.json
+++ b/examples/keycloak-postgres/CommunityToolkit.Aspire.Hosting.Keycloak.Extensions.AppHost.TypeScript/aspire.config.json
@@ -3,6 +3,9 @@
"path": "apphost.ts",
"language": "typescript/nodejs"
},
+ "sdk": {
+ "version": "13.3.0"
+ },
"profiles": {
"https": {
"applicationUrl": "https://localhost:29750;http://localhost:28931",
diff --git a/examples/kurrentdb/CommunityToolkit.Aspire.Hosting.KurrentDB.AppHost.TypeScript/aspire.config.json b/examples/kurrentdb/CommunityToolkit.Aspire.Hosting.KurrentDB.AppHost.TypeScript/aspire.config.json
index 8606b8b22..1caf60899 100644
--- a/examples/kurrentdb/CommunityToolkit.Aspire.Hosting.KurrentDB.AppHost.TypeScript/aspire.config.json
+++ b/examples/kurrentdb/CommunityToolkit.Aspire.Hosting.KurrentDB.AppHost.TypeScript/aspire.config.json
@@ -3,6 +3,9 @@
"path": "apphost.ts",
"language": "typescript/nodejs"
},
+ "sdk": {
+ "version": "13.3.0"
+ },
"profiles": {
"https": {
"applicationUrl": "https://localhost:29750;http://localhost:28931",
diff --git a/examples/lavinmq/CommunityToolkit.Aspire.Hosting.LavinMQ.AppHost.TypeScript/aspire.config.json b/examples/lavinmq/CommunityToolkit.Aspire.Hosting.LavinMQ.AppHost.TypeScript/aspire.config.json
index cce9b8509..d00f726a0 100644
--- a/examples/lavinmq/CommunityToolkit.Aspire.Hosting.LavinMQ.AppHost.TypeScript/aspire.config.json
+++ b/examples/lavinmq/CommunityToolkit.Aspire.Hosting.LavinMQ.AppHost.TypeScript/aspire.config.json
@@ -3,6 +3,9 @@
"path": "apphost.ts",
"language": "typescript/nodejs"
},
+ "sdk": {
+ "version": "13.3.0"
+ },
"profiles": {
"https": {
"applicationUrl": "https://localhost:29750;http://localhost:28931",
diff --git a/examples/mailpit/CommunityToolkit.Aspire.Hosting.MailPit.AppHost.TypeScript/aspire.config.json b/examples/mailpit/CommunityToolkit.Aspire.Hosting.MailPit.AppHost.TypeScript/aspire.config.json
index 2467eb973..c5f55cd34 100644
--- a/examples/mailpit/CommunityToolkit.Aspire.Hosting.MailPit.AppHost.TypeScript/aspire.config.json
+++ b/examples/mailpit/CommunityToolkit.Aspire.Hosting.MailPit.AppHost.TypeScript/aspire.config.json
@@ -3,6 +3,9 @@
"path": "apphost.ts",
"language": "typescript/nodejs"
},
+ "sdk": {
+ "version": "13.3.0"
+ },
"profiles": {
"https": {
"applicationUrl": "https://localhost:29750;http://localhost:28931",
diff --git a/examples/mcp-inspector/CommunityToolkit.Aspire.Hosting.McpInspector.AppHost.TypeScript/aspire.config.json b/examples/mcp-inspector/CommunityToolkit.Aspire.Hosting.McpInspector.AppHost.TypeScript/aspire.config.json
index 2feb3b822..310194b1f 100644
--- a/examples/mcp-inspector/CommunityToolkit.Aspire.Hosting.McpInspector.AppHost.TypeScript/aspire.config.json
+++ b/examples/mcp-inspector/CommunityToolkit.Aspire.Hosting.McpInspector.AppHost.TypeScript/aspire.config.json
@@ -3,6 +3,9 @@
"path": "apphost.ts",
"language": "typescript/nodejs"
},
+ "sdk": {
+ "version": "13.3.0"
+ },
"profiles": {
"https": {
"applicationUrl": "https://localhost:29750;http://localhost:28931",
diff --git a/examples/meilisearch/CommunityToolkit.Aspire.Hosting.Meilisearch.AppHost.TypeScript/aspire.config.json b/examples/meilisearch/CommunityToolkit.Aspire.Hosting.Meilisearch.AppHost.TypeScript/aspire.config.json
index d0c9fc521..da1498e74 100644
--- a/examples/meilisearch/CommunityToolkit.Aspire.Hosting.Meilisearch.AppHost.TypeScript/aspire.config.json
+++ b/examples/meilisearch/CommunityToolkit.Aspire.Hosting.Meilisearch.AppHost.TypeScript/aspire.config.json
@@ -3,6 +3,9 @@
"path": "apphost.ts",
"language": "typescript/nodejs"
},
+ "sdk": {
+ "version": "13.3.0"
+ },
"profiles": {
"https": {
"applicationUrl": "https://localhost:29750;http://localhost:28931",
diff --git a/examples/minio/CommunityToolkit.Aspire.Hosting.Minio.AppHost.TypeScript/aspire.config.json b/examples/minio/CommunityToolkit.Aspire.Hosting.Minio.AppHost.TypeScript/aspire.config.json
index 6750abcb0..7a84e3f76 100644
--- a/examples/minio/CommunityToolkit.Aspire.Hosting.Minio.AppHost.TypeScript/aspire.config.json
+++ b/examples/minio/CommunityToolkit.Aspire.Hosting.Minio.AppHost.TypeScript/aspire.config.json
@@ -3,6 +3,9 @@
"path": "apphost.ts",
"language": "typescript/nodejs"
},
+ "sdk": {
+ "version": "13.3.0"
+ },
"profiles": {
"https": {
"applicationUrl": "https://localhost:29750;http://localhost:28931",
diff --git a/examples/mongodb-ext/CommunityToolkit.Aspire.Hosting.MongoDB.Extensions.AppHost.TypeScript/aspire.config.json b/examples/mongodb-ext/CommunityToolkit.Aspire.Hosting.MongoDB.Extensions.AppHost.TypeScript/aspire.config.json
index ea85f1321..b377ebd71 100644
--- a/examples/mongodb-ext/CommunityToolkit.Aspire.Hosting.MongoDB.Extensions.AppHost.TypeScript/aspire.config.json
+++ b/examples/mongodb-ext/CommunityToolkit.Aspire.Hosting.MongoDB.Extensions.AppHost.TypeScript/aspire.config.json
@@ -3,6 +3,9 @@
"path": "apphost.ts",
"language": "typescript/nodejs"
},
+ "sdk": {
+ "version": "13.3.0"
+ },
"profiles": {
"https": {
"applicationUrl": "https://localhost:29750;http://localhost:28931",
diff --git a/examples/mysql-ext/CommunityToolkit.Aspire.Hosting.MySql.Extensions.AppHost.TypeScript/aspire.config.json b/examples/mysql-ext/CommunityToolkit.Aspire.Hosting.MySql.Extensions.AppHost.TypeScript/aspire.config.json
index f2704f28a..d3e775594 100644
--- a/examples/mysql-ext/CommunityToolkit.Aspire.Hosting.MySql.Extensions.AppHost.TypeScript/aspire.config.json
+++ b/examples/mysql-ext/CommunityToolkit.Aspire.Hosting.MySql.Extensions.AppHost.TypeScript/aspire.config.json
@@ -3,6 +3,9 @@
"path": "apphost.ts",
"language": "typescript/nodejs"
},
+ "sdk": {
+ "version": "13.3.0"
+ },
"profiles": {
"https": {
"applicationUrl": "https://localhost:29750;http://localhost:28931",
diff --git a/examples/ngrok/CommunityToolkit.Aspire.Hosting.Ngrok.AppHost.TypeScript/aspire.config.json b/examples/ngrok/CommunityToolkit.Aspire.Hosting.Ngrok.AppHost.TypeScript/aspire.config.json
index 5647b3acf..8d61a37c7 100644
--- a/examples/ngrok/CommunityToolkit.Aspire.Hosting.Ngrok.AppHost.TypeScript/aspire.config.json
+++ b/examples/ngrok/CommunityToolkit.Aspire.Hosting.Ngrok.AppHost.TypeScript/aspire.config.json
@@ -3,6 +3,9 @@
"path": "apphost.ts",
"language": "typescript/nodejs"
},
+ "sdk": {
+ "version": "13.3.0"
+ },
"profiles": {
"https": {
"applicationUrl": "https://localhost:29750;http://localhost:28931",
diff --git a/examples/opentelemetry-collector/CommunityToolkit.Aspire.Hosting.OpenTelemetryCollector.AppHost.TypeScript/aspire.config.json b/examples/opentelemetry-collector/CommunityToolkit.Aspire.Hosting.OpenTelemetryCollector.AppHost.TypeScript/aspire.config.json
index 6cc922e9d..c87ca026d 100644
--- a/examples/opentelemetry-collector/CommunityToolkit.Aspire.Hosting.OpenTelemetryCollector.AppHost.TypeScript/aspire.config.json
+++ b/examples/opentelemetry-collector/CommunityToolkit.Aspire.Hosting.OpenTelemetryCollector.AppHost.TypeScript/aspire.config.json
@@ -3,6 +3,9 @@
"path": "apphost.ts",
"language": "typescript/nodejs"
},
+ "sdk": {
+ "version": "13.3.0"
+ },
"profiles": {
"https": {
"applicationUrl": "https://localhost:29750;http://localhost:28931",
diff --git a/examples/papercut/CommunityToolkit.Aspire.Hosting.PapercutSmtp.AppHost.TypeScript/aspire.config.json b/examples/papercut/CommunityToolkit.Aspire.Hosting.PapercutSmtp.AppHost.TypeScript/aspire.config.json
index 506405be8..7f45df1ad 100644
--- a/examples/papercut/CommunityToolkit.Aspire.Hosting.PapercutSmtp.AppHost.TypeScript/aspire.config.json
+++ b/examples/papercut/CommunityToolkit.Aspire.Hosting.PapercutSmtp.AppHost.TypeScript/aspire.config.json
@@ -3,6 +3,9 @@
"path": "apphost.ts",
"language": "typescript/nodejs"
},
+ "sdk": {
+ "version": "13.3.0"
+ },
"profiles": {
"https": {
"applicationUrl": "https://localhost:29750;http://localhost:28931",
diff --git a/examples/postgres-ext/CommunityToolkit.Aspire.Hosting.PostgreSQL.Extensions.AppHost.TypeScript/aspire.config.json b/examples/postgres-ext/CommunityToolkit.Aspire.Hosting.PostgreSQL.Extensions.AppHost.TypeScript/aspire.config.json
index eeb447907..346b9fca2 100644
--- a/examples/postgres-ext/CommunityToolkit.Aspire.Hosting.PostgreSQL.Extensions.AppHost.TypeScript/aspire.config.json
+++ b/examples/postgres-ext/CommunityToolkit.Aspire.Hosting.PostgreSQL.Extensions.AppHost.TypeScript/aspire.config.json
@@ -3,6 +3,9 @@
"path": "apphost.ts",
"language": "typescript/nodejs"
},
+ "sdk": {
+ "version": "13.3.0"
+ },
"profiles": {
"https": {
"applicationUrl": "https://localhost:29750;http://localhost:28931",
diff --git a/examples/python/CommunityToolkit.Aspire.Hosting.Python.Extensions.AppHost.TypeScript/aspire.config.json b/examples/python/CommunityToolkit.Aspire.Hosting.Python.Extensions.AppHost.TypeScript/aspire.config.json
index 58adf9fea..f325a2f84 100644
--- a/examples/python/CommunityToolkit.Aspire.Hosting.Python.Extensions.AppHost.TypeScript/aspire.config.json
+++ b/examples/python/CommunityToolkit.Aspire.Hosting.Python.Extensions.AppHost.TypeScript/aspire.config.json
@@ -3,6 +3,9 @@
"path": "apphost.ts",
"language": "typescript/nodejs"
},
+ "sdk": {
+ "version": "13.3.0"
+ },
"profiles": {
"https": {
"applicationUrl": "https://localhost:29750;http://localhost:28931",
diff --git a/examples/redis-ext/CommunityToolkit.Aspire.Hosting.Redis.Extensions.AppHost.TypeScript/aspire.config.json b/examples/redis-ext/CommunityToolkit.Aspire.Hosting.Redis.Extensions.AppHost.TypeScript/aspire.config.json
index 4a6aa1ac0..a39a3480b 100644
--- a/examples/redis-ext/CommunityToolkit.Aspire.Hosting.Redis.Extensions.AppHost.TypeScript/aspire.config.json
+++ b/examples/redis-ext/CommunityToolkit.Aspire.Hosting.Redis.Extensions.AppHost.TypeScript/aspire.config.json
@@ -3,6 +3,9 @@
"path": "apphost.ts",
"language": "typescript/nodejs"
},
+ "sdk": {
+ "version": "13.3.0"
+ },
"profiles": {
"https": {
"applicationUrl": "https://localhost:29750;http://localhost:28931",
diff --git a/examples/rust/CommunityToolkit.Aspire.Hosting.Rust.AppHost.TypeScript/aspire.config.json b/examples/rust/CommunityToolkit.Aspire.Hosting.Rust.AppHost.TypeScript/aspire.config.json
index 3238e164d..5dead0cd4 100644
--- a/examples/rust/CommunityToolkit.Aspire.Hosting.Rust.AppHost.TypeScript/aspire.config.json
+++ b/examples/rust/CommunityToolkit.Aspire.Hosting.Rust.AppHost.TypeScript/aspire.config.json
@@ -3,6 +3,9 @@
"path": "apphost.ts",
"language": "typescript/nodejs"
},
+ "sdk": {
+ "version": "13.3.0"
+ },
"profiles": {
"https": {
"applicationUrl": "https://localhost:29750;http://localhost:28931",
diff --git a/examples/sftp/CommunityToolkit.Aspire.Hosting.Sftp.AppHost.TypeScript/aspire.config.json b/examples/sftp/CommunityToolkit.Aspire.Hosting.Sftp.AppHost.TypeScript/aspire.config.json
index 33ec5199c..b16cf73d4 100644
--- a/examples/sftp/CommunityToolkit.Aspire.Hosting.Sftp.AppHost.TypeScript/aspire.config.json
+++ b/examples/sftp/CommunityToolkit.Aspire.Hosting.Sftp.AppHost.TypeScript/aspire.config.json
@@ -3,6 +3,9 @@
"path": "apphost.ts",
"language": "typescript/nodejs"
},
+ "sdk": {
+ "version": "13.3.0"
+ },
"profiles": {
"https": {
"applicationUrl": "https://localhost:29750;http://localhost:28931",
diff --git a/examples/solr/CommunityToolkit.Aspire.Hosting.Solr.AppHost.TypeScript/aspire.config.json b/examples/solr/CommunityToolkit.Aspire.Hosting.Solr.AppHost.TypeScript/aspire.config.json
index ff66ff9b6..d88756d9d 100644
--- a/examples/solr/CommunityToolkit.Aspire.Hosting.Solr.AppHost.TypeScript/aspire.config.json
+++ b/examples/solr/CommunityToolkit.Aspire.Hosting.Solr.AppHost.TypeScript/aspire.config.json
@@ -3,6 +3,9 @@
"path": "apphost.ts",
"language": "typescript/nodejs"
},
+ "sdk": {
+ "version": "13.3.0"
+ },
"profiles": {
"https": {
"applicationUrl": "https://localhost:29750;http://localhost:28931",
diff --git a/examples/sql-database-projects/CommunityToolkit.Aspire.Hosting.SqlDatabaseProjects.AppHost.TypeScript/aspire.config.json b/examples/sql-database-projects/CommunityToolkit.Aspire.Hosting.SqlDatabaseProjects.AppHost.TypeScript/aspire.config.json
index 2cab0502d..76ec09903 100644
--- a/examples/sql-database-projects/CommunityToolkit.Aspire.Hosting.SqlDatabaseProjects.AppHost.TypeScript/aspire.config.json
+++ b/examples/sql-database-projects/CommunityToolkit.Aspire.Hosting.SqlDatabaseProjects.AppHost.TypeScript/aspire.config.json
@@ -3,6 +3,9 @@
"path": "apphost.ts",
"language": "typescript/nodejs"
},
+ "sdk": {
+ "version": "13.3.0"
+ },
"profiles": {
"https": {
"applicationUrl": "https://localhost:29750;http://localhost:28931",
diff --git a/examples/sqlite/CommunityToolkit.Aspire.Hosting.Sqlite.AppHost.TypeScript/aspire.config.json b/examples/sqlite/CommunityToolkit.Aspire.Hosting.Sqlite.AppHost.TypeScript/aspire.config.json
index 98fc0ca9c..1b7e41835 100644
--- a/examples/sqlite/CommunityToolkit.Aspire.Hosting.Sqlite.AppHost.TypeScript/aspire.config.json
+++ b/examples/sqlite/CommunityToolkit.Aspire.Hosting.Sqlite.AppHost.TypeScript/aspire.config.json
@@ -3,6 +3,9 @@
"path": "apphost.ts",
"language": "typescript/nodejs"
},
+ "sdk": {
+ "version": "13.3.0"
+ },
"profiles": {
"https": {
"applicationUrl": "https://localhost:29750;http://localhost:28931",
diff --git a/examples/sqlserver-ext/CommunityToolkit.Aspire.Hosting.SqlServer.Extensions.AppHost.TypeScript/aspire.config.json b/examples/sqlserver-ext/CommunityToolkit.Aspire.Hosting.SqlServer.Extensions.AppHost.TypeScript/aspire.config.json
index 8b3e46eaa..768f6b946 100644
--- a/examples/sqlserver-ext/CommunityToolkit.Aspire.Hosting.SqlServer.Extensions.AppHost.TypeScript/aspire.config.json
+++ b/examples/sqlserver-ext/CommunityToolkit.Aspire.Hosting.SqlServer.Extensions.AppHost.TypeScript/aspire.config.json
@@ -3,6 +3,9 @@
"path": "apphost.ts",
"language": "typescript/nodejs"
},
+ "sdk": {
+ "version": "13.3.0"
+ },
"profiles": {
"https": {
"applicationUrl": "https://localhost:29750;http://localhost:28931",
diff --git a/examples/stripe/CommunityToolkit.Aspire.Hosting.Stripe.AppHost.TypeScript/aspire.config.json b/examples/stripe/CommunityToolkit.Aspire.Hosting.Stripe.AppHost.TypeScript/aspire.config.json
index 10feabeef..95b8c74bc 100644
--- a/examples/stripe/CommunityToolkit.Aspire.Hosting.Stripe.AppHost.TypeScript/aspire.config.json
+++ b/examples/stripe/CommunityToolkit.Aspire.Hosting.Stripe.AppHost.TypeScript/aspire.config.json
@@ -3,6 +3,9 @@
"path": "apphost.ts",
"language": "typescript/nodejs"
},
+ "sdk": {
+ "version": "13.3.0"
+ },
"profiles": {
"https": {
"applicationUrl": "https://localhost:29750;http://localhost:28931",
diff --git a/examples/surrealdb/CommunityToolkit.Aspire.Hosting.SurrealDb.AppHost.TypeScript/aspire.config.json b/examples/surrealdb/CommunityToolkit.Aspire.Hosting.SurrealDb.AppHost.TypeScript/aspire.config.json
index c0d5aeacb..bfc46b380 100644
--- a/examples/surrealdb/CommunityToolkit.Aspire.Hosting.SurrealDb.AppHost.TypeScript/aspire.config.json
+++ b/examples/surrealdb/CommunityToolkit.Aspire.Hosting.SurrealDb.AppHost.TypeScript/aspire.config.json
@@ -3,6 +3,9 @@
"path": "apphost.ts",
"language": "typescript/nodejs"
},
+ "sdk": {
+ "version": "13.3.0"
+ },
"profiles": {
"https": {
"applicationUrl": "https://localhost:29750;http://localhost:28931",
diff --git a/examples/umami/CommunityToolkit.Aspire.Hosting.Umami.AppHost.TypeScript/aspire.config.json b/examples/umami/CommunityToolkit.Aspire.Hosting.Umami.AppHost.TypeScript/aspire.config.json
index 1c0270a85..8a71c6c8c 100644
--- a/examples/umami/CommunityToolkit.Aspire.Hosting.Umami.AppHost.TypeScript/aspire.config.json
+++ b/examples/umami/CommunityToolkit.Aspire.Hosting.Umami.AppHost.TypeScript/aspire.config.json
@@ -3,6 +3,9 @@
"path": "apphost.ts",
"language": "typescript/nodejs"
},
+ "sdk": {
+ "version": "13.3.0"
+ },
"profiles": {
"https": {
"applicationUrl": "https://localhost:29750;http://localhost:28931",
diff --git a/examples/zitadel/CommunityToolkit.Aspire.Hosting.Zitadel.AppHost.TypeScript/aspire.config.json b/examples/zitadel/CommunityToolkit.Aspire.Hosting.Zitadel.AppHost.TypeScript/aspire.config.json
index e0d556620..26ef801f3 100644
--- a/examples/zitadel/CommunityToolkit.Aspire.Hosting.Zitadel.AppHost.TypeScript/aspire.config.json
+++ b/examples/zitadel/CommunityToolkit.Aspire.Hosting.Zitadel.AppHost.TypeScript/aspire.config.json
@@ -3,6 +3,9 @@
"path": "apphost.ts",
"language": "typescript/nodejs"
},
+ "sdk": {
+ "version": "13.3.0"
+ },
"profiles": {
"https": {
"applicationUrl": "https://localhost:29750;http://localhost:28931",
From 6468be8e4a2966dbc5f75d019c716a4562279fb4 Mon Sep 17 00:00:00 2001
From: Aaron Powell
Date: Thu, 14 May 2026 11:31:27 +1000
Subject: [PATCH 30/42] Moving mcp config for cli
---
.vscode/mcp.json => .mcp.json | 8 ++++++++
1 file changed, 8 insertions(+)
rename .vscode/mcp.json => .mcp.json (58%)
diff --git a/.vscode/mcp.json b/.mcp.json
similarity index 58%
rename from .vscode/mcp.json
rename to .mcp.json
index 6699af564..88c2afde3 100644
--- a/.vscode/mcp.json
+++ b/.mcp.json
@@ -7,6 +7,14 @@
"mcp-server"
],
"cwd": "${workspaceFolder}"
+ },
+ "aspire": {
+ "type": "stdio",
+ "command": "aspire",
+ "args": [
+ "agent",
+ "mcp"
+ ]
}
}
}
\ No newline at end of file
From fc4e6746bfe80f5c721f95faac24bfe364e70e39 Mon Sep 17 00:00:00 2001
From: Aaron Powell
Date: Thu, 14 May 2026 11:31:37 +1000
Subject: [PATCH 31/42] aspire agent skills
---
.agents/skills/aspire/SKILL.md | 92 +++
.../aspire/references/agent-workflows.md | 83 ++
.../skills/aspire/references/app-commands.md | 58 ++
.../aspire/references/csharp-apphosts.md | 30 +
.../skills/aspire/references/deployment.md | 35 +
.../skills/aspire/references/monitoring.md | 82 ++
.../aspire/references/playwright-handoff.md | 21 +
.../aspire/references/resource-management.md | 35 +
.../references/tools-and-configuration.md | 72 ++
.../aspire/references/typescript-apphosts.md | 35 +
.agents/skills/aspireify/SKILL.md | 710 ++++++++++++++++++
.../aspireify/references/apphost-wiring.md | 393 ++++++++++
.../aspireify/references/docker-compose.md | 214 ++++++
.../references/full-solution-apphosts.md | 332 ++++++++
.../aspireify/references/javascript-apps.md | 150 ++++
.../aspireify/references/opentelemetry.md | 112 +++
.agents/skills/dotnet-inspect/SKILL.md | 120 +++
.agents/skills/playwright-cli/SKILL.md | 388 ++++++++++
.../references/element-attributes.md | 23 +
.../references/playwright-tests.md | 39 +
.../references/request-mocking.md | 87 +++
.../playwright-cli/references/running-code.md | 241 ++++++
.../references/session-management.md | 225 ++++++
.../references/spec-driven-testing.md | 305 ++++++++
.../references/storage-state.md | 275 +++++++
.../references/test-generation.md | 134 ++++
.../playwright-cli/references/tracing.md | 139 ++++
.../references/video-recording.md | 143 ++++
28 files changed, 4573 insertions(+)
create mode 100644 .agents/skills/aspire/SKILL.md
create mode 100644 .agents/skills/aspire/references/agent-workflows.md
create mode 100644 .agents/skills/aspire/references/app-commands.md
create mode 100644 .agents/skills/aspire/references/csharp-apphosts.md
create mode 100644 .agents/skills/aspire/references/deployment.md
create mode 100644 .agents/skills/aspire/references/monitoring.md
create mode 100644 .agents/skills/aspire/references/playwright-handoff.md
create mode 100644 .agents/skills/aspire/references/resource-management.md
create mode 100644 .agents/skills/aspire/references/tools-and-configuration.md
create mode 100644 .agents/skills/aspire/references/typescript-apphosts.md
create mode 100644 .agents/skills/aspireify/SKILL.md
create mode 100644 .agents/skills/aspireify/references/apphost-wiring.md
create mode 100644 .agents/skills/aspireify/references/docker-compose.md
create mode 100644 .agents/skills/aspireify/references/full-solution-apphosts.md
create mode 100644 .agents/skills/aspireify/references/javascript-apps.md
create mode 100644 .agents/skills/aspireify/references/opentelemetry.md
create mode 100644 .agents/skills/dotnet-inspect/SKILL.md
create mode 100644 .agents/skills/playwright-cli/SKILL.md
create mode 100644 .agents/skills/playwright-cli/references/element-attributes.md
create mode 100644 .agents/skills/playwright-cli/references/playwright-tests.md
create mode 100644 .agents/skills/playwright-cli/references/request-mocking.md
create mode 100644 .agents/skills/playwright-cli/references/running-code.md
create mode 100644 .agents/skills/playwright-cli/references/session-management.md
create mode 100644 .agents/skills/playwright-cli/references/spec-driven-testing.md
create mode 100644 .agents/skills/playwright-cli/references/storage-state.md
create mode 100644 .agents/skills/playwright-cli/references/test-generation.md
create mode 100644 .agents/skills/playwright-cli/references/tracing.md
create mode 100644 .agents/skills/playwright-cli/references/video-recording.md
diff --git a/.agents/skills/aspire/SKILL.md b/.agents/skills/aspire/SKILL.md
new file mode 100644
index 000000000..8d8b65c10
--- /dev/null
+++ b/.agents/skills/aspire/SKILL.md
@@ -0,0 +1,92 @@
+---
+name: aspire
+description: "Use this skill when the user is working with an Aspire distributed application and needs to operate the AppHost or its resources through the Aspire CLI: start, restart, stop, or wait on the app; inspect resources, logs, traces, docs, or health; add integrations; manage secrets or config; publish, deploy, or rerun a named pipeline step; initialize Aspire in an existing app; recover missing `.modules` files in a TypeScript AppHost; discover the right frontend URL for Playwright from Aspire state; expose custom dashboard/resource commands; or understand unfamiliar Aspire AppHost APIs in C# or TypeScript. Use it even if they describe the task in terms of an AppHost, resources, dashboard, existing app bootstrap, missing generated modules, Playwright URL discovery, C# API understanding, or local distributed app workflow without explicitly naming Aspire. Do not use it for non-Aspire .NET apps, container-only repos with no AppHost, or ordinary build and test tasks."
+---
+
+# Aspire Skill
+
+Use this skill when the task is about operating an Aspire distributed application through the Aspire CLI rather than falling back to ad-hoc `dotnet`, `docker`, or shell workflows.
+
+Resources are typically defined in an AppHost such as, `AppHost.cs`, `apphost.ts`, or `AppHost/AppHost.csproj (Program.cs)`.
+
+## Use this skill for
+
+- Starting, restarting, and stopping AppHosts with `aspire start` and `aspire stop`
+- Initializing Aspire in an existing app with `aspire init` (drops skeleton files; use the `aspireify` skill to complete wiring)
+- Inspecting resources, logs, traces, and docs
+- Adding integrations with `aspire add`
+- Recovering missing TypeScript AppHost support files with `aspire restore`
+- Discovering the correct frontend URL before a Playwright handoff
+- Understanding unfamiliar Aspire AppHost APIs before editing C# or TypeScript AppHosts
+- Managing AppHost secrets and CLI config
+- Publishing and deploying Aspire apps, including single named steps with `aspire do`
+- Adding custom dashboard or resource commands with docs-backed AppHost patterns
+
+## Do not use this skill for
+
+- Non-Aspire .NET applications
+- Container-only workflows that do not involve an Aspire AppHost
+- Replacing normal build and test commands when the task is just compiling code or running unit tests
+
+## Default workflow
+
+1. Confirm that the workspace is an Aspire app and identify the AppHost.
+2. Start the app with `aspire start`. Use `--isolated` in git worktrees or whenever shared local state would be risky.
+3. Use `aspire wait ` before interacting with a resource that needs to be healthy.
+4. Inspect state with `aspire describe`, then use `aspire otel logs`, `aspire logs`, `aspire otel traces`, and `aspire export` before making code changes. Display returned data using the formatting rules in [references/monitoring.md](references/monitoring.md).
+5. Before adding an integration, introducing a custom dashboard/resource command, or using an unfamiliar AppHost API, use `aspire docs search ` and `aspire docs get ` for workflow guidance, then use `aspire docs api search --language csharp|typescript` and `aspire docs api get ` when you need the API reference entry itself.
+6. Re-run `aspire start` after AppHost changes. In git worktrees, re-run `aspire start --isolated` instead of switching to `aspire run`.
+
+## C# AppHosts
+
+When the AppHost is implemented in C# such as `AppHost.cs`, `apphost.cs`, or a `Program.cs`-based AppHost, use Aspire docs for workflow guidance and Aspire API docs for the reference entry before editing.
+
+- Use `aspire docs search ` and `aspire docs get ` when you need the documented workflow or pattern.
+- Use `aspire docs api search --language csharp` and `aspire docs api get ` when you need the C# API reference entry for a resource builder, extension method, or member.
+- If the `dotnet-inspect` skill is available, use it to inspect local C# APIs, overloads, and builder chains when you need help understanding how the API surface is exposed in code.
+- Keep `dotnet-inspect` scoped to understanding APIs and symbols; use Aspire docs for the documented workflow and recommended pattern.
+
+## TypeScript AppHosts
+
+When the AppHost is `apphost.ts`, the `.modules/` folder at the project root contains generated TypeScript modules that expose the Aspire APIs available to the AppHost. Common files include `.modules/aspire.ts`, `base.ts`, and `transport.ts`.
+
+- Do not edit `.modules/` directly.
+- Use `aspire add ` to add integrations and regenerate the available APIs.
+- Inspect `.modules/aspire.ts` after `aspire add` to see the refreshed API surface.
+- The local `tsconfig.json` often includes `.modules/**/*.ts` in its compilation scope.
+
+## Key rules
+
+- Prefer `aspire start` over `dotnet run` for AppHosts. `aspire run` blocks the terminal and is a poor fit for agent workflows.
+- Re-running `aspire start` is the restart path. In git worktrees, `aspire start --isolated` is both the start and restart command. Do not combine `aspire stop` and `aspire run`.
+- Use `--apphost ` when the workspace has multiple AppHosts or discovery is ambiguous.
+- Use `--format Json` when another tool or script needs machine-readable output.
+- Do not guess the integration or command shape for unfamiliar AppHost changes. Use `aspire docs search` and `aspire docs get` for the documented pattern, then use `aspire docs api search` and `aspire docs api get` when you need the specific reference entry.
+- For unfamiliar C# AppHost APIs, use Aspire API docs as the primary reference and, if available, use `dotnet-inspect` only to inspect local symbols, overloads, and builder chains.
+- Never install the obsolete Aspire workload.
+- When a TypeScript AppHost uses `.modules/`, do not edit generated files directly. Use `aspire add` to regenerate APIs and inspect `.modules/aspire.ts` afterward.
+- Prefer official docs from `aspire.dev`.
+
+## Common capabilities
+
+- Use `aspire ps` when you need to discover running AppHosts before targeting one.
+- Use `aspire update` when the task is to refresh AppHost package references through the supported CLI workflow.
+- Use `aspire doctor` as an early diagnostics step when the local Aspire environment looks unhealthy.
+- Use `aspire resource`, `aspire secret`, `aspire config`, `aspire publish`, `aspire deploy`, and `aspire do` when the objective is resource operations, secrets/config management, or deployment.
+- Use `aspire restore`, `aspire cache clear`, `aspire certs trust`, and `aspire certs clean` when the task is local environment maintenance or recovery.
+
+## Playwright CLI
+
+If Playwright CLI is already configured in the environment, use Aspire first to discover the running app and its endpoints, especially when multiple frontends exist. Prefer `aspire describe --format Json` when the handoff needs to be scriptable or you need to disambiguate which frontend URL Playwright should use, then hand browser testing off to Playwright CLI.
+
+## References
+
+- For app-level lifecycle, bootstrap, and AppHost-wide commands, see [references/app-commands.md](references/app-commands.md).
+- For waiting on and operating on individual resources, see [references/resource-management.md](references/resource-management.md).
+- For app state, logs, traces, and export workflows, see [references/monitoring.md](references/monitoring.md).
+- For deployment and pipeline-step workflows, see [references/deployment.md](references/deployment.md).
+- For docs, secrets, config, diagnostics, cache, and certificates, see [references/tools-and-configuration.md](references/tools-and-configuration.md).
+- For C# AppHost API-understanding guidance, see [references/csharp-apphosts.md](references/csharp-apphosts.md).
+- For TypeScript AppHost guidance, see [references/typescript-apphosts.md](references/typescript-apphosts.md).
+- For Playwright handoff after Aspire endpoint discovery, see [references/playwright-handoff.md](references/playwright-handoff.md).
+- For investigation order and common agent workflows, see [references/agent-workflows.md](references/agent-workflows.md).
diff --git a/.agents/skills/aspire/references/agent-workflows.md b/.agents/skills/aspire/references/agent-workflows.md
new file mode 100644
index 000000000..e8353aad8
--- /dev/null
+++ b/.agents/skills/aspire/references/agent-workflows.md
@@ -0,0 +1,83 @@
+# Aspire Agent Workflows
+
+Use these patterns when a task needs investigation or orchestration rather than a one-off command lookup.
+
+## Scenario: I Am In A Worktree And Need A Safe Background Run
+
+Start the AppHost with `aspire start` so the CLI manages background execution. In git worktrees, use `--isolated` to avoid port conflicts and shared local state:
+
+```bash
+aspire start --isolated
+```
+
+If the next step depends on one resource, wait for it explicitly:
+
+```bash
+aspire start --isolated
+aspire wait myapi
+```
+
+Keep these points in mind:
+
+- In a git worktree, rerun `aspire start --isolated` whenever AppHost changes need to be picked up.
+- Outside worktrees, rerun `aspire start`.
+- Avoid `aspire run` in normal agent workflows because it blocks the terminal.
+
+## Scenario: Something Is Wrong, But Do Not Edit Code Yet
+
+Inspect the live app before editing code:
+
+1. `aspire describe` to check resource state.
+2. `aspire otel logs ` to inspect structured logs.
+3. `aspire logs ` to inspect console output.
+4. `aspire otel traces ` to follow cross-service activity.
+5. `aspire export` when you need a zipped telemetry snapshot for deeper analysis or handoff.
+
+## Scenario: I Need To Add An Integration, Understand An API, Or Add A Custom Command Safely
+
+Use the docs commands first for the workflow, then use the API reference commands if you need the concrete API entry:
+
+```bash
+aspire docs search postgres
+aspire docs get
+aspire docs api search postgres --language csharp
+aspire docs api get
+aspire add
+```
+
+For dashboard or custom resource commands, use docs for the pattern and API docs for the specific entry:
+
+```bash
+aspire docs search "custom resource commands"
+aspire docs get custom-resource-commands
+aspire docs api search WithCommand --language csharp
+```
+
+Keep these points in mind:
+
+- Read the docs before editing the AppHost so the implementation follows a documented Aspire pattern instead of guessing the workflow.
+- Use `aspire docs api` when you need the C# or TypeScript reference entry for the exact API you are about to call.
+- If the AppHost is C# and you need to understand local overloads or builder chains, use the `dotnet-inspect` skill if it is available after checking the Aspire API reference.
+- After adding an integration, restart with `aspire start` so the updated AppHost takes effect.
+
+## Scenario: The AppHost Is TypeScript And Generated APIs Matter
+
+If the AppHost is `apphost.ts`, the `.modules/` directory contains generated TypeScript modules that expose Aspire APIs.
+
+- Do not edit `.modules/` directly.
+- Use `aspire add ` to regenerate the available APIs when adding integrations.
+- Use `aspire restore` if `.modules/` disappeared after a pull, clean, or branch switch.
+- Inspect `.modules/aspire.ts` after regeneration or restore to see the newly available APIs.
+
+## Scenario: I Need Secrets, Deployment, Or A Playwright Handoff
+
+Use `aspire secret` for AppHost user secrets, especially connection strings and passwords:
+
+```bash
+aspire secret set Parameters:postgres-password MySecretValue
+aspire secret list
+```
+
+Use `aspire publish` and `aspire deploy` for full deployment work, or `aspire do ` when the user only wants one named pipeline step such as seeding data or pushing containers.
+
+If Playwright CLI is configured in the environment, use Aspire to discover the endpoint first and let Playwright use that discovered URL afterward. When multiple frontends exist or the URL needs to be passed to another tool, prefer `aspire describe --format Json` before the Playwright handoff.
diff --git a/.agents/skills/aspire/references/app-commands.md b/.agents/skills/aspire/references/app-commands.md
new file mode 100644
index 000000000..cc06be6be
--- /dev/null
+++ b/.agents/skills/aspire/references/app-commands.md
@@ -0,0 +1,58 @@
+# App Commands
+
+Use this when the task is about app-level lifecycle, bootstrap, or AppHost-wide maintenance.
+
+## Scenario: Start The App Safely In The Background
+
+Use these commands when the user wants the AppHost running, needs a safe worktree session, or wants to pick up AppHost changes.
+
+```bash
+aspire start
+aspire start --isolated
+aspire stop
+```
+
+Keep these points in mind:
+
+- Use `aspire start` for normal background AppHost execution.
+- In git worktrees or when another local instance may already be running, use `aspire start --isolated`.
+- If the CLI shape may have changed or the skill instructions look older than the local CLI, confirm the exact command form with `aspire --help` or the relevant subcommand help before executing.
+- To restart after AppHost changes, rerun the same start command. In a worktree, rerun `aspire start --isolated`.
+- Use `aspire stop` only when the ask is explicitly to stop the app or clean up a running AppHost.
+- Avoid `aspire run` in normal agent workflows because it blocks the terminal.
+
+## Scenario: Create A New Aspire App Or Add Aspire To An Existing App
+
+Use these commands when the task is to bootstrap Aspire support.
+
+```bash
+aspire new
+aspire init
+aspire init --language typescript
+```
+
+Keep these points in mind:
+
+- Use `aspire new` when creating a brand-new Aspire app from scratch.
+- Use `aspire init` when adding Aspire to an existing application.
+- If you are unsure which arguments are supported by the installed CLI, check `aspire init --help` (or the parent help) before running it.
+- If the existing app flow needs a specific AppHost language, choose it explicitly rather than inventing unrelated scaffolding.
+
+## Scenario: Find The Right AppHost Or Refresh AppHost-Wide Support
+
+Use these commands when multiple AppHosts may be running locally, when the AppHost needs an integration, or when local AppHost support files need refresh or restore.
+
+```bash
+aspire ps
+aspire add
+aspire update
+aspire restore
+```
+
+Keep these points in mind:
+
+- Use `aspire ps` first when you need to discover which AppHost is already running.
+- If command arguments may differ across CLI versions, verify the current shape with `aspire --help` before execution.
+- Use `aspire add ` when the task is to add a supported integration or regenerate AppHost APIs.
+- Use `aspire update` when the ask is specifically to refresh AppHost package references through the supported CLI workflow.
+- Use `aspire restore` after pulls, cleans, or missing generated files when the AppHost needs its local support restored before running again.
diff --git a/.agents/skills/aspire/references/csharp-apphosts.md b/.agents/skills/aspire/references/csharp-apphosts.md
new file mode 100644
index 000000000..8aeec8c2f
--- /dev/null
+++ b/.agents/skills/aspire/references/csharp-apphosts.md
@@ -0,0 +1,30 @@
+# C# AppHosts
+
+Use this when the AppHost is implemented in C# and the task involves understanding APIs, extension methods, overloads, or builder chains before editing code.
+
+## Scenario: I Need Official Docs For An Unfamiliar C# AppHost API
+
+Use these commands when you need the documented Aspire pattern and the C# API reference before changing AppHost code.
+
+```bash
+aspire docs search
+aspire docs get
+aspire docs api search --language csharp
+aspire docs api get
+```
+
+Keep these points in mind:
+
+- Use Aspire docs first when the task is about understanding an unfamiliar integration workflow or dashboard command pattern.
+- Use `aspire docs api` when the task is about finding the C# reference entry for a resource builder API, extension method, or member.
+- Search for the resource or pattern name before guessing the C# API shape.
+
+## Scenario: I Need To Read The Local C# API Surface More Closely
+
+Use this when the docs tell you what concept to use, but you still need to inspect local symbols, signatures, or overloads in C# code.
+
+Keep these points in mind:
+
+- If the `dotnet-inspect` skill is available, use it to inspect local C# APIs, extension methods, overloads, and chained builder return types.
+- Keep `dotnet-inspect` scoped to understanding APIs and symbols; do not treat it as a replacement for Aspire docs.
+- When `dotnet-inspect` is not available, fall back to reading local AppHost code together with the relevant Aspire docs pages.
diff --git a/.agents/skills/aspire/references/deployment.md b/.agents/skills/aspire/references/deployment.md
new file mode 100644
index 000000000..4c934a39a
--- /dev/null
+++ b/.agents/skills/aspire/references/deployment.md
@@ -0,0 +1,35 @@
+# Deployment
+
+Use this when the task is about deployment artifacts, deployment execution, or named pipeline steps.
+
+## Scenario: Regenerate Deployment Artifacts And Redeploy
+
+Use these commands when the task is to build fresh deployment artifacts and run the full deployment flow.
+
+```bash
+aspire publish
+aspire deploy
+aspire deploy --clear-cache
+```
+
+Keep these points in mind:
+
+- Use `aspire publish` when artifact generation is part of the request.
+- Use `aspire deploy` when the goal is the full deployment flow, not just one step inside it.
+- Use `aspire deploy --clear-cache` when cached deployment state is stale or stuck.
+
+## Scenario: Run One Named Deployment Step Instead Of The Whole Deployment
+
+Use these commands when the deployment pipeline already exists and the user wants only one step, such as seeding data, running diagnostics, or pushing containers/images.
+
+```bash
+aspire do seed-data
+aspire do push-containers # if the app defines this step
+aspire do diagnostics # if the app defines this step
+```
+
+Keep these points in mind:
+
+- Use `aspire do ` when the request is specifically about one named pipeline step.
+- Common scenarios include seeding data, running a diagnostics step, or pushing containers/images, but the step names are app-defined.
+- Do not substitute `aspire deploy` when the request is to rerun only one step from the deployment pipeline.
diff --git a/.agents/skills/aspire/references/monitoring.md b/.agents/skills/aspire/references/monitoring.md
new file mode 100644
index 000000000..20c1710fb
--- /dev/null
+++ b/.agents/skills/aspire/references/monitoring.md
@@ -0,0 +1,82 @@
+# Monitoring
+
+Use this when the task is about inspecting app state, logs, traces, endpoints, or sharable diagnostics.
+
+## Scenario: I Need To Know What Is Running And Where The Endpoints Are
+
+Use these commands when the first job is to inspect current resource state, find URLs, or hand machine-readable app state to another tool.
+
+```bash
+aspire describe
+aspire resources
+aspire describe --apphost
+aspire describe --apphost --format Json
+```
+
+Keep these points in mind:
+
+- Use `aspire describe` first when you need the current state of the running app before deciding what to do next.
+- Use `--apphost ` when the workspace has multiple AppHosts or discovery is ambiguous.
+- Prefer `--format Json` when another tool or script needs to consume the result, such as a Playwright handoff or endpoint extraction.
+
+## Scenario: Something Is Wrong, But Investigate Before Editing Code
+
+Use these commands when the task is to diagnose behavior in the live app before making code changes.
+
+```bash
+aspire otel logs [resource] --format Json
+aspire otel traces [resource] --format Json
+aspire otel spans [resource] --format Json
+aspire otel logs --trace-id --format Json
+aspire logs [resource]
+```
+
+Keep these points in mind:
+
+- Prefer structured telemetry before raw console logs when possible.
+- Use `aspire logs` as a secondary console-output view after checking structured telemetry.
+- Use the trace-filtered log command when you already have a trace id and want the related log slice.
+- Prefer `--format Json` when another tool or script needs to consume the result, such as a Playwright handoff or endpoint extraction.
+- `[resource]` is optional. Include it to filter results to a single resource; omit it to see all resources.
+
+## Scenario: I Need A Sharable Diagnostics Bundle
+
+Use this command when you need a portable handoff artifact for deeper analysis or for another person to inspect offline.
+
+```bash
+aspire export [resource]
+```
+
+Keep this point in mind:
+
+- Use `aspire export` when you need a sharable bundle of telemetry and resource state.
+
+## Dashboard Links
+
+Commands like `aspire describe`, `aspire otel logs`, `aspire otel traces`, and `aspire otel spans` may include dashboard URLs in their JSON output. Only use URLs that are explicitly returned by these commands — do not construct dashboard URLs yourself.
+
+When a dashboard link is returned alongside a resource or telemetry entry, make the resource name, trace ID, or span ID a clickable markdown link using the returned URL.
+
+## Displaying Resources
+
+When showing resource state to the user, display the state text with a circle emoji prefix:
+
+- 🟢 Running, healthy
+- 🟡 Starting, waiting
+- 🔴 Failed, error, unhealthy
+- ⚪ Stopped, exited
+
+Link resource names to their dashboard page when the dashboard URL is known.
+
+## Displaying Telemetry
+
+When showing structured logs, prefix each entry with an emoji matching the log level:
+
+- 🔴 Error / Critical
+- 🟡 Warning
+- 🔵 Information
+- ⚪ Debug / Trace
+
+Link resource names to their dashboard resource page. When trace IDs are present, display the first 7 characters and link that value to the full trace detail page.
+
+When showing traces or spans, use 🟢 for success/unset status and 🔴 for error status. Display only the first 7 characters of trace and span IDs, and link those values to their dashboard detail pages.
diff --git a/.agents/skills/aspire/references/playwright-handoff.md b/.agents/skills/aspire/references/playwright-handoff.md
new file mode 100644
index 000000000..4c22b2309
--- /dev/null
+++ b/.agents/skills/aspire/references/playwright-handoff.md
@@ -0,0 +1,21 @@
+# Playwright Handoff
+
+Use this when Playwright CLI is already configured and the next step is browser testing against a running Aspire app.
+
+## Scenario: I Need The Right Frontend URL Before Browser Testing
+
+Use these commands when the task is to discover the live frontend endpoint from Aspire state and then hand that URL to Playwright.
+
+```bash
+aspire describe --format Json
+aspire describe --apphost --format Json
+playwright-cli --help
+```
+
+Keep these points in mind:
+
+- Aspire discovers the endpoint first; Playwright uses the discovered endpoint after the handoff.
+- Prefer `aspire describe --format Json` when the URL needs to be consumed by a script or passed to another tool.
+- Use `--apphost ` when multiple AppHosts exist and the user is asking about one specific app.
+- Do not guess frontend endpoints without first consulting Aspire state.
+- If multiple frontends exist, use Aspire state to disambiguate which URL Playwright should use.
diff --git a/.agents/skills/aspire/references/resource-management.md b/.agents/skills/aspire/references/resource-management.md
new file mode 100644
index 000000000..5640449b6
--- /dev/null
+++ b/.agents/skills/aspire/references/resource-management.md
@@ -0,0 +1,35 @@
+# Resource Management
+
+Use this when the task is scoped to one resource or depends on a specific resource becoming healthy.
+
+## Scenario: Wait For One Resource Before Touching It
+
+Use these commands when the next step depends on one resource being ready, such as before calling an API, opening a frontend, or querying a database.
+
+```bash
+aspire wait
+aspire wait --status up --timeout 60
+```
+
+Keep these points in mind:
+
+- Use `aspire wait` before a dependent action when readiness is the real blocker.
+- Add `--status` and `--timeout` when the ask calls for an explicit readiness condition rather than a generic wait.
+- Treat readiness as a resource-scoped concern; a missing ready signal is not automatically a reason to restart the whole AppHost.
+
+## Scenario: Fix Or Operate On One Resource Without Bouncing The Whole App
+
+Use these commands when the user calls out one resource by name, such as Redis, Postgres, cache, or a single custom resource command.
+
+```bash
+aspire resource start
+aspire resource stop
+aspire resource restart
+aspire resource
+```
+
+Keep these points in mind:
+
+- Prefer resource-scoped commands when the task does not require an AppHost-wide restart.
+- If the user says one resource is wedged, use `aspire resource restart` before escalating to `aspire start`.
+- Use `aspire resource ` when the AppHost exposes a resource-specific dashboard or operational command.
diff --git a/.agents/skills/aspire/references/tools-and-configuration.md b/.agents/skills/aspire/references/tools-and-configuration.md
new file mode 100644
index 000000000..497a38f03
--- /dev/null
+++ b/.agents/skills/aspire/references/tools-and-configuration.md
@@ -0,0 +1,72 @@
+# Tools And Configuration
+
+Use this when the task is about docs lookup, API reference lookup, secrets, CLI configuration, diagnostics, cache cleanup, or local certificates.
+
+## Scenario: I Need Docs Or API Reference Before I Change The AppHost
+
+Use these commands when the task is to confirm the right Aspire workflow before editing code or retrieve a specific API reference entry.
+
+```bash
+aspire docs search
+aspire docs get
+aspire docs api search --language csharp|typescript
+aspire docs api list
+aspire docs api get
+```
+
+Keep these points in mind:
+
+- Use docs commands before changing integrations when you need to confirm the supported path or recommended workflow.
+- Use docs commands before implementing custom resource commands or unfamiliar AppHost patterns such as `WithCommand`.
+- Use `aspire docs api` when the user needs the C# or TypeScript reference entry for a specific Aspire API.
+- Use `aspire docs api list ` to browse children under a language, package, module, type, or symbol.
+
+## Scenario: I Need To Inspect Or Change AppHost Secrets
+
+Use these commands when the task is about AppHost user secrets such as connection strings, passwords, or API keys.
+
+```bash
+aspire secret set
+aspire secret get
+aspire secret list
+aspire secret path
+aspire secret delete
+```
+
+Keep these points in mind:
+
+- Use `aspire secret` for AppHost user secrets instead of inventing another storage path.
+- Use `aspire secret path` when the task is to locate the backing store without opening it manually.
+
+## Scenario: I Need To Explain Where Aspire CLI Settings Came From
+
+Use these commands when the question is about effective Aspire CLI configuration or conflicting local versus global settings.
+
+```bash
+aspire config set
+aspire config get
+aspire config list
+aspire config delete
+aspire config info
+```
+
+Keep these points in mind:
+
+- Use `aspire config info` when the user wants to know where settings come from, which settings files are in play, or why the CLI is behaving a certain way locally.
+
+## Scenario: My Local Aspire Setup Feels Broken
+
+Use these commands when the local Aspire environment looks unhealthy and needs recovery steps rather than AppHost code changes.
+
+```bash
+aspire doctor
+aspire cache clear
+aspire certs trust
+aspire certs clean
+```
+
+Keep these points in mind:
+
+- Use `aspire doctor` early when the symptoms suggest local environment drift rather than an app bug.
+- Use `aspire cache clear` when cached state is stale or interfering with normal operation.
+- Use `aspire certs trust` and `aspire certs clean` when local certificate state is part of the problem.
diff --git a/.agents/skills/aspire/references/typescript-apphosts.md b/.agents/skills/aspire/references/typescript-apphosts.md
new file mode 100644
index 000000000..09b3a1230
--- /dev/null
+++ b/.agents/skills/aspire/references/typescript-apphosts.md
@@ -0,0 +1,35 @@
+# TypeScript AppHosts
+
+Use this when the AppHost is `apphost.ts` and the task involves generated APIs or TypeScript-specific Aspire workflows.
+
+## Scenario: I Added An Integration And Need New APIs To Show Up In `apphost.ts`
+
+Use this when the task touches `.modules/` or newly added integrations.
+
+```bash
+aspire add
+```
+
+Keep these points in mind:
+
+- The `.modules/` folder contains generated TypeScript modules that expose Aspire APIs to the AppHost.
+- Common generated files include `.modules/aspire.ts`, `base.ts`, and `transport.ts`.
+- Do not edit `.modules/` directly.
+- Use `aspire add ` to regenerate the available APIs after adding an integration.
+- Inspect `.modules/aspire.ts` after `aspire add` to see the refreshed API surface available to `apphost.ts`.
+- The local `tsconfig.json` often includes `.modules/**/*.ts` in its compilation scope.
+
+## Scenario: `.modules/` Disappeared After A Pull, Clean, Or Branch Switch
+
+Use this when generated support files are missing or stale and the TypeScript AppHost needs to be restored.
+
+```bash
+aspire restore
+```
+
+Keep these points in mind:
+
+- Try `aspire restore` first when generated `.modules/*` files are missing.
+- `aspire restore` restores and regenerates the TypeScript AppHost support files under `.modules/`.
+- Do not manually recreate or edit generated module files.
+- After recovery, inspect `.modules/aspire.ts` to confirm the available API surface.
diff --git a/.agents/skills/aspireify/SKILL.md b/.agents/skills/aspireify/SKILL.md
new file mode 100644
index 000000000..ed3c45593
--- /dev/null
+++ b/.agents/skills/aspireify/SKILL.md
@@ -0,0 +1,710 @@
+---
+name: aspireify
+description: "One-time skill for completing Aspire initialization in an existing app after `aspire init` has dropped the skeleton AppHost. Use this skill when an `aspire.config.json` exists but the AppHost has not yet been wired up."
+---
+
+# Aspireify
+
+This is a **one-time setup skill**. It completes the Aspire initialization that `aspire init` started. After this skill finishes successfully, the evergreen `aspire` skill handles ongoing AppHost work. Do not delete this skill unless the user explicitly asks.
+
+Keep this as **one skill with context-specific references**. Load the reference files that match the repo you discover instead of trying to keep every edge case in the main document.
+
+## Guiding principles
+
+### Minimize changes to the user's code
+
+The default stance is **adapt the AppHost to fit the app, not the other way around**. The user's services already work — the goal is to model them in Aspire without breaking anything.
+
+- Prefer `WithEnvironment()` to match existing env var names over asking users to rename vars in their code
+- Prefer Aspire-managed ports (`WithHttpsEndpoint(env: "PORT")`, `WithHttpEndpoint(env: "PORT")`, or no explicit port when supported) over fixed ports
+- Only preserve a specific port when the user confirms it is actually significant (for example: external callbacks, OAuth redirect URIs, browser extensions, webhooks, or a repo-documented hard requirement)
+- Map existing `docker-compose.yml` config 1:1 before optimizing
+- Don't restructure project directories, rename files, or change build scripts
+
+### Surface tradeoffs, don't decide silently
+
+Sometimes a small code change unlocks significantly better Aspire integration. When this happens, **present the tradeoff to the user and let them decide**. Examples:
+
+- **Connection strings**: A service reads `DATABASE_URL` but Aspire injects `ConnectionStrings__mydb`. You can use `WithEnvironment("DATABASE_URL", db.Resource.ConnectionStringExpression)` (zero code change) or suggest the service reads from config so `WithReference(db)` just works (enables service discovery, health checks, auto-retry).
+ → Ask: *"Your API reads DATABASE_URL. I can map that with WithEnvironment (no code change) or you could switch to reading ConnectionStrings:mydb which unlocks WithReference and automatic service discovery. Which do you prefer?"*
+
+- **Port binding**: A service hardcodes `PORT=3000`. You can preserve that with `WithHttpsEndpoint(port: 3000)` (zero code change) or switch the service to read `PORT` from env so Aspire can manage ports dynamically and avoid conflicts.
+ → Ask: *"Your frontend is currently fixed to port 3000. Unless that exact port is important for something external, I recommend switching it to read PORT from env so Aspire can manage the port and avoid conflicts. If you need 3000 to stay stable, I can preserve it. Which do you want?"*
+
+- **OTel setup**: Service has its own tracing config pointing to Jaeger. You can leave it (Aspire won't show its traces) or suggest switching the exporter to read `OTEL_EXPORTER_OTLP_ENDPOINT` (which Aspire injects).
+ → Ask: *"Your API exports traces to Jaeger directly. I can leave that, or switch it to use the OTEL_EXPORTER_OTLP_ENDPOINT env var so traces show up in the Aspire dashboard. The Jaeger endpoint would still work in non-Aspire environments. Want me to update it?"*
+
+**Format for presenting tradeoffs:**
+1. Explain what the current code does
+2. Show the zero-change option and what it gives you
+3. Show the small-change option and the extra benefits
+4. Ask which they prefer
+5. If they decline the change, implement the zero-change option without complaint
+
+### When in doubt, ask
+
+If you're unsure whether something is a service, whether two services depend on each other, whether a port is truly significant, or whether a Docker Compose service should be modeled — ask. Don't guess at architectural intent.
+
+### Always use latest Aspire APIs — verify before you write
+
+**Do not assume APIs exist.** Before writing any AppHost code, look up the correct API using `aspire docs search` and `aspire docs get`. Follow the tiered preference: Tier 1 (first-party `Aspire.Hosting.*`) → Tier 2 (community `CommunityToolkit.Aspire.Hosting.*`) → Tier 3 (raw `AddExecutable`/`AddDockerfile`/`AddContainer`). See the "Looking up APIs and integrations" section below for full discovery workflow, tier details, and auto-managed values.
+
+**Don't invent APIs** — if docs search and integration list don't return it, it doesn't exist. Fall back to Tier 3. **API shapes differ between C# and TypeScript** — always check the correct language docs.
+
+### Choosing the right JavaScript resource type
+
+For JavaScript/TypeScript apps, pick the right resource type (`AddViteApp`, `AddNodeApp`, or `AddJavaScriptApp`) and configure dev scripts and port binding. See [references/javascript-apps.md](references/javascript-apps.md) for the selection table, dev script patterns, framework-specific port binding, and browser suppression.
+
+### Never call it ".NET Aspire"
+
+Always refer to the product as just **Aspire**, never ".NET Aspire". This applies to all comments in generated AppHost code, messages to the user, and any documentation you produce.
+
+### Dashboard URL must include auth token
+
+When printing or displaying the Aspire dashboard URL to the user, always include the full login token query parameter. The dashboard requires authentication — a bare URL like `http://localhost:18888` won't work. Use the full URL as printed by `aspire start` (e.g., `http://localhost:18888/login?t=`).
+
+### Redis and auto-TLS
+
+Aspire's infrastructure automatically provisions TLS certificates for container resources that register `WithHttpsCertificateConfiguration` callbacks. `AddRedis()` registers one by default, which means **Redis will get TLS automatically** when the Aspire dev cert infrastructure is active. This is usually fine, but some apps expect plain (non-TLS) Redis.
+
+If Redis health checks fail with `SslStream` / `RedisConnectionException` errors about SSL/TLS handshake failures, the cause is this auto-TLS behavior. **Do not fall back to `AddContainer()`.** Instead, disable the certificate on the Redis resource:
+
+```csharp
+var redis = builder.AddRedis("redis")
+ .WithoutHttpsCertificate(); // plain Redis, no TLS
+```
+
+`WithoutHttpsCertificate()` suppresses the auto-TLS cert injection so Redis stays on plain TCP. Use this when the consuming services don't support TLS Redis connections.
+
+### Prefer HTTPS over HTTP
+
+Always set up HTTPS endpoints by default. Use `WithHttpsEndpoint()` instead of `WithHttpEndpoint()` unless HTTPS doesn't work for a specific integration. For JavaScript and Python apps, call `WithHttpsDeveloperCertificate()` to configure the dev cert. If HTTPS causes issues for a specific resource, fall back to HTTP and leave a comment explaining why. See the "Endpoints and ports" section in the AppHost wiring reference below for detailed patterns and examples.
+
+### Never hardcode URLs — use endpoint references
+
+When a service needs another service's URL as an environment variable, **always** pass an endpoint reference — never a hardcoded string. Hardcoded URLs break whenever Aspire assigns different ports. See the "Cross-service environment variable wiring" section in the AppHost wiring reference below for examples.
+
+Similarly, **never use `withUrlForEndpoint` / `WithUrlForEndpoint` to set `dev.localhost` URLs**. That API is ONLY for setting display labels in the dashboard (e.g., `url.DisplayText = "Web UI"`). `dev.localhost` configuration belongs in `aspire.config.json` profiles — see Step 9.
+
+### Optimize for local dev, not deployment
+
+This skill is about getting a great **local development experience**. Don't worry about production deployment manifests, cloud provisioning, or publish configuration — that's a separate concern for later.
+
+This means:
+
+- Prefer `ContainerLifetime.Persistent` for databases and caches so data survives AppHost restarts
+- Use `WithDataVolume()` to persist data across container recreations
+- Cookie and session isolation with `*.dev.localhost` subdomains is encouraged
+- Don't add production health check probes, scaling config, or cloud resource definitions
+- If services reference external third-party APIs/services (e.g., a hardcoded Stripe URL, an external database host, a SaaS webhook endpoint), consider modeling those as parameters or connection strings in the AppHost so they're visible and configurable from one place:
+
+```csharp
+// Instead of the service hardcoding "https://api.stripe.com"
+var stripeUrl = builder.AddParameter("stripe-url", secret: false);
+var api = builder.AddCSharpApp("api", "../src/Api")
+ .WithEnvironment("STRIPE_API_URL", stripeUrl);
+```
+
+This makes the external dependency visible in the dashboard and lets developers easily swap endpoints (e.g., to a Stripe test endpoint) without digging through service code. Present this as an option to the user — don't silently refactor their external service calls.
+
+### Migrate `.env` files into AppHost parameters
+
+Many projects use `.env` files for configuration. These should be migrated into the AppHost so that all config is centralized and visible in the dashboard. Scan for `.env`, `.env.local`, `.env.development`, etc. and propose migrating their contents:
+
+- **Secrets** (API keys, tokens, passwords, connection strings): use `AddParameter(name, secret: true)`. Aspire stores these securely via user secrets and prompts the developer to set them.
+- **Non-secret config** (feature flags, URLs, mode settings): use `AddParameter(name, secret: false)` with a default value, or `WithEnvironment()` directly.
+- **Values that map to Aspire resources** (e.g., `DATABASE_URL=postgres://...`, `REDIS_URL=redis://...`): replace with actual Aspire resources (`AddPostgres`, `AddRedis`) and `WithReference()` — the connection string is then managed by Aspire.
+
+```csharp
+// Before: .env file with DATABASE_URL=postgres://user:pass@localhost:5432/mydb
+// STRIPE_KEY=sk_test_abc123
+// DEBUG=true
+
+// After: modeled in AppHost
+var db = builder.AddPostgres("pg").AddDatabase("mydb");
+var stripeKey = builder.AddParameter("stripe-key", secret: true);
+
+var api = builder.AddCSharpApp("api", "../src/Api")
+ .WithReference(db) // replaces DATABASE_URL
+ .WithEnvironment("STRIPE_KEY", stripeKey) // secret, stored securely
+ .WithEnvironment("DEBUG", "true"); // plain config
+```
+
+**Important: Never delete `.env` files automatically.** After migrating all values into the AppHost, explicitly ask the user:
+> "I've migrated all the values from your `.env` file into the AppHost. The `.env` file is no longer needed for running via Aspire, but it still works for non-Aspire workflows. Would you like me to remove it, or keep it around?"
+
+Some teams still need `.env` files for CI, Docker Compose, or developers who haven't switched to Aspire yet. Respect that.
+
+Present this as a recommendation. Walk through the `.env` contents with the user and classify each variable together. Some values may be intentionally local-only and the user may prefer to keep them — that's fine.
+
+### Migrate .NET User Secrets into AppHost parameters
+
+.NET projects often use `dotnet user-secrets` for local development configuration. Look for:
+
+- `dev/secrets.json.example` or `secrets.json.example` files — these document expected secrets
+- `` in `.csproj` files — indicates the project uses User Secrets
+- Documentation referencing `dotnet user-secrets set` or `setup_secrets` scripts
+
+**Aspire's `AddParameter(name, secret: true)` stores values in the same .NET User Secrets store under the hood**, so secrets are centralized in the AppHost instead of scattered across individual service projects.
+
+Migration approach:
+
+1. **Inventory existing secrets** — check `secrets.json.example` files or setup scripts to understand what secrets the repo expects
+2. **Classify each secret** — same as `.env` migration: connection strings become Aspire resources, API keys become parameters, plain config becomes `WithEnvironment()`
+3. **Present the migration** — show the user which secrets will become AppHost parameters and which will become Aspire resources:
+ → *"Your services use dotnet user-secrets with 8 configured values. I'll migrate the SQL connection string to an Aspire Postgres resource, the 3 API keys to secret parameters, and the remaining config to environment variables. The secrets will still be stored in user-secrets but centralized under the AppHost. Sound good?"*
+
+**Important:** Don't delete or modify existing `UserSecretsId` entries in service `.csproj` files — other tooling or non-Aspire workflows may still depend on them.
+
+## Prerequisites
+
+Before running this skill, `aspire init` must have already:
+
+- Dropped a skeleton AppHost file (`apphost.ts` or `apphost.cs`) at the configured location
+- Created `aspire.config.json` at the repository root
+
+Verify both exist before proceeding.
+
+## Critical rules — read before doing anything
+
+These are hard rules. Do not break them.
+
+### Never install the Aspire workload
+
+**Do not run `dotnet workload install aspire` or any `dotnet workload` command.** The Aspire workload is obsolete. The Aspire CLI (`aspire start`, `aspire run`, etc.) handles everything — SDK resolution, package restoration, building, and launching. The workload is not needed and installing it can cause version conflicts.
+
+If a web search, documentation page, or blog post tells you to install the workload, **ignore that advice** — it is outdated.
+
+### Do not change the repo's .NET SDK version
+
+**Do not modify the root `global.json`.** The repo's SDK pin is intentional. The AppHost may need a newer SDK (e.g., .NET 10) than the repo uses (e.g., .NET 8) — that's fine. `aspire init` already created the AppHost with the correct TFM. If the AppHost is in full project mode and the repo pins an older SDK, add a **nested `global.json` inside the AppHost directory only** — never change the root one.
+
+### Do not change existing project target frameworks
+
+**Do not modify `` in any existing service project.** If a service targets `net8.0`, leave it on `net8.0`. The Aspire AppHost can orchestrate services on older TFMs without any changes. Only the AppHost itself needs the Aspire-supported TFM.
+
+### Check version control before mutating projects
+
+Before editing AppHost or service project files, check whether the workspace is under git (`git rev-parse --is-inside-work-tree`) and inspect `git status` when it is. Do not overwrite unrelated user changes. If there is no git repository, warn the user that this skill will make project mutations and summarize the intended files/areas before proceeding.
+
+### Use the latest stable Aspire SDK
+
+If `aspire init` created a `.csproj` AppHost, check the `Aspire.AppHost.Sdk` version in the `.csproj`. If it references a preview version that isn't available on NuGet (common when using a PR build of the CLI), update it to the latest stable release. Run `dotnet nuget list source` and check NuGet.org for the current stable version (e.g., `13.2.2`). Do not leave the AppHost pinned to an unavailable preview SDK — `dotnet build` will fail.
+
+### Use the Aspire CLI, not raw dotnet commands, for Aspire operations
+
+- Use `aspire start` to launch the AppHost (not `dotnet run`)
+- Use `aspire add ` to add hosting integrations (not `dotnet add package`)
+- Use `aspire restore` to restore TypeScript AppHost dependencies
+- Use `aspire docs search` to look up APIs
+
+Standard `dotnet` commands (`dotnet build`, `dotnet add reference`, `dotnet sln add`) are fine for normal .NET operations like building projects, adding project references, and managing solution membership.
+
+## Determine your context
+
+Read `aspire.config.json` at the repository root **if it exists**. Key fields:
+
+- **`appHost.language`**: `"typescript/nodejs"` or `"csharp"` — determines which syntax and tooling to use
+- **`appHost.path`**: path to the AppHost file or project directory — this is where you'll edit code
+
+For C# AppHosts, there are two sub-modes:
+
+- **Single-file mode**: `appHost.path` points directly to an `apphost.cs` file using the `#:sdk` directive. No `.csproj` needed. Configuration lives in `aspire.config.json`.
+- **Full project mode**: A directory containing a `.csproj`, `Program.cs`, and `Properties/launchSettings.json`. This was created by `aspire init` using the `aspire-apphost` template because a `.sln`/`.slnx` was found. **The template-generated AppHost is correct and complete** — it has proper SDK references, launch profiles with randomized ports, and a skeleton `Program.cs`. Do not recreate or hand-edit the `.csproj` or `launchSettings.json`. Configuration lives in `Properties/launchSettings.json` inside the AppHost project directory (standard .NET launch settings), **not** in `aspire.config.json`.
+
+### Configuration files — which is which
+
+**Do not confuse these files. Do not create or modify config files for the user's service projects — only for the AppHost.**
+
+| File | Where it lives | What it's for | Who uses it |
+|------|---------------|---------------|-------------|
+| `aspire.config.json` | Repo root | AppHost path, language, profiles (ports, env vars) | Single-file and polyglot AppHosts only |
+| `Properties/launchSettings.json` | Inside the AppHost project dir | Launch profiles (ports, env vars) | Full project mode `.csproj` AppHosts (standard .NET) |
+| `appsettings.json` | Inside service projects | Service-specific configuration | The services themselves — **do not create or modify these** |
+| `launchSettings.json` in service projects | Inside service project dirs | Service launch config | The services themselves — **do not create or modify these** |
+
+**Key rule:** When the AppHost is a `.csproj` project, it's a standard .NET project. It uses `Properties/launchSettings.json` for launch profiles, just like any other .NET project. `aspire init` creates this file with the correct ports. Do not create a duplicate `aspire.config.json` for project-mode AppHosts.
+
+Check which mode you're in by looking at what exists at the `appHost.path` location. If there's no `aspire.config.json`, look for a `.csproj` AppHost directory with `Properties/launchSettings.json` instead.
+
+If you're in **full project mode**, also load [references/full-solution-apphosts.md](references/full-solution-apphosts.md). It covers:
+
+- mixed-SDK solution boundaries
+- when to add or avoid solution membership
+- ServiceDefaults in solution-backed repos
+- legacy `Program.cs` / `Startup.cs` / `IHostBuilder` migration decisions
+- validation specific to `.csproj` AppHosts
+
+## Workflow
+
+Follow these steps in order. If any step fails, diagnose and fix before continuing. **The goal is a working `aspire start` — keep going until every resource starts cleanly and the dashboard is accessible. Do not stop at partial success.**
+
+### Step 1: Scan the repository
+
+Analyze the repository to discover all projects and services that could be modeled in the AppHost.
+
+**What to look for:**
+
+- **.NET projects**: `*.csproj` files. For each, run:
+ - `dotnet msbuild -getProperty:OutputType` — `Exe`/`WinExe` = runnable service, `Library` = skip
+ - `dotnet msbuild -getProperty:TargetFramework` — must be `net8.0` or newer
+ - `dotnet msbuild -getProperty:IsAspireHost` — skip if `true`
+- **Solution files**: `*.sln` or `*.slnx` — if found, the C# AppHost **must** use full project mode (with `.csproj`) so it can be opened in Visual Studio alongside the rest of the solution. This is a hard requirement.
+- **Node.js/TypeScript apps**: directories with `package.json` containing a `start`, `dev`, or `main`/`module` entry. For each, also check:
+ - Does it have a `vite.config.*` file? → use `AddViteApp`
+ - Does it have a specific entry file (e.g., `src/index.ts`, `server.js`) and a `build` script that compiles TypeScript? → use `AddNodeApp` with `.WithRunScript()` and `.WithBuildScript()`
+ - Otherwise → use `AddJavaScriptApp`
+- **Monorepo/workspace detection**: Check root `package.json` for `"workspaces"` field (Yarn/npm) or `pnpm-workspace.yaml` (pnpm). If this is a monorepo:
+ - **Map workspace packages** — each workspace with a runnable script (`start`, `dev`) is a potential Aspire resource
+ - **Root scripts that delegate** — some monorepos have root-level scripts like `"start": "yarn --cwd ./subdir start"`. Model the *actual app directory* as the resource, not the root
+ - **Path resolution** — `appDirectory` is relative to the AppHost location. In monorepos you often need `../`, `../../`, or similar paths. Double-check these
+ - **Shared dependencies** — `.WithYarn()` / `.WithPnpm()` on each resource handles workspace-aware installs automatically
+- **Python apps**: directories with `pyproject.toml`, `requirements.txt`, or `main.py`/`app.py`
+- **Go apps**: directories with `go.mod`
+- **Java apps**: directories with `pom.xml` or `build.gradle`
+- **Dockerfiles**: standalone `Dockerfile` entries representing services
+- **Docker Compose**: `docker-compose.yml` or `compose.yml` files — these are a goldmine. Parse them to extract:
+ - **Profiles**: if any service has a `profiles:` key, the compose file uses profiles to organize services into groups (e.g., `cloud`, `storage`, `mssql`, `postgres`). When profiles exist:
+ 1. List the available profiles and what services each includes
+ 2. Ask the user which profile(s) to target for the AppHost (e.g., *"Your docker-compose uses profiles: cloud, mssql, postgres, storage, redis. Which represent your local dev stack?"*)
+ 3. Only model services that belong to the selected profile(s) — skip the rest
+ 4. If a service has no `profiles:` key, it runs in all profiles — always include it
+ - **Services**: each named service (in the selected profiles) maps to a potential AppHost resource
+ - **Images**: container images used (e.g., `postgres:16`, `redis:7`) → these become `AddContainer()` or typed Aspire integrations (e.g., `AddPostgres()`, `AddRedis()`)
+ - **Ports**: published port mappings → `WithHttpsEndpoint()` or `WithEndpoint()`
+ - **Environment variables**: env vars and `.env` file references → `WithEnvironment()`. Watch for `${VAR}` interpolation syntax — trace these back to `.env` files and migrate them to AppHost parameters
+ - **Volumes**: named/bind volumes → `WithVolume()` or `WithBindMount()`
+ - **Dependencies**: `depends_on` → `WithReference()` and `WaitFor()`
+ - **Build contexts**: `build:` entries → `AddDockerfile()` pointing to the build context directory
+ - Prefer typed Aspire integrations over raw `AddContainer()` when the image matches a known integration (use `aspire docs search` to check). For example, `postgres:16` → `AddPostgres()`, `redis:7` → `AddRedis()`, `rabbitmq:3` → `AddRabbitMQ()`.
+ - For complex compose files, also load [references/docker-compose.md](references/docker-compose.md) for detailed migration patterns.
+- **Static frontends**: Vite, Next.js, Create React App, or other frontend framework configs
+- **`.env` files**: Scan for `.env`, `.env.local`, `.env.development`, `.env.example`, etc. These contain configuration that should be migrated into AppHost parameters (see Guiding Principles above)
+- **User Secrets**: Scan for `secrets.json.example` files and `` in `.csproj` files. These indicate .NET User Secrets are in use — migrate them into AppHost parameters (see Guiding Principles above)
+- **Package manager**: Detect which Node.js package manager the repo uses by looking for lock files: `pnpm-lock.yaml` → pnpm, `yarn.lock` → yarn, `package-lock.json` or none → npm. Use the detected package manager for all install/run commands throughout this skill.
+
+**Ignore:**
+
+- The AppHost directory/file itself
+- `node_modules/`, `.modules/`, `dist/`, `build/`, `bin/`, `obj/`, `.git/`
+- Test projects (directories named `test`/`tests`/`__tests__`, projects referencing xUnit/NUnit/MSTest, or test-only package.json scripts)
+
+### Step 2: Check prerequisites and smoke-test the skeleton
+
+Before investing time in wiring, run `aspire doctor` to verify the environment is ready:
+
+```bash
+aspire doctor
+```
+
+This checks for a working .NET SDK, container runtime (Docker/Podman), trusted dev certificates, and deprecated workloads. **Fix any failures before proceeding** — discovering that Docker isn't running *after* you've wired 10 services wastes significant time.
+
+Common issues caught by `aspire doctor`:
+- **Container runtime not running**: Start Docker Desktop or Podman before proceeding — container resources will fail to start without it.
+- **Deprecated aspire workload installed**: If installed by Visual Studio, it can't be removed via CLI — this is a warning, not a blocker.
+- **Untrusted dev certificate**: Run `aspire certs trust` to fix HTTPS endpoint failures.
+
+Once the environment is clean, verify the Aspire skeleton boots:
+
+```bash
+aspire start
+```
+
+The empty AppHost should start successfully — the dashboard should come up and the process should run without errors. You won't see any resources yet (that's expected), but if `aspire start` fails here, fix the issue before proceeding.
+
+For full project mode, the AppHost was created from the `aspire-apphost` template and should work out of the box. If it fails, common causes are:
+
+- **SDK version mismatch**: The repo's root `global.json` may pin an older SDK (e.g., 8.0). The AppHost directory needs its own nested `global.json` pinning the Aspire-supported SDK. Create one if missing (see Critical Rules above).
+- **Port conflicts**: If another Aspire app is running, the randomly assigned ports may conflict. Stop other instances first.
+
+For single-file mode:
+
+- **Missing profiles in `aspire.config.json`**: The file must have a `profiles` section with `applicationUrl`. Re-run `aspire init` to regenerate.
+- **Missing dependencies**: For TypeScript, ensure the `.modules/aspire.js` SDK is available. Run `aspire restore` if needed.
+
+Once it boots, stop it (Ctrl+C) and continue.
+
+### Step 3: Present findings and confirm with the user
+
+Show the user what you found. For each discovered project/service, show:
+
+- Name (project or directory name)
+- Type (.NET service, Node.js app, Python app, Dockerfile, etc.)
+- Framework/runtime info (e.g., net10.0, Node 20, Python 3.12)
+- Whether it exposes HTTP endpoints
+
+Ask the user:
+
+1. Which projects to include in the AppHost (pre-select all discovered runnable services)
+2. For C# AppHosts: which .NET projects should receive ServiceDefaults references (pre-select all .NET services)
+
+### Step 4: Create ServiceDefaults (C# only)
+
+> **Skip this step for TypeScript AppHosts.** OTel is handled in Step 8.
+
+If the AppHost is in **full project mode**, consult [references/full-solution-apphosts.md](references/full-solution-apphosts.md) before making ServiceDefaults changes. Some existing solutions need bootstrap updates before `AddServiceDefaults()` and `MapDefaultEndpoints()` can be applied safely.
+
+**Before creating ServiceDefaults, check for existing observability setup.** Many repos already have their own OpenTelemetry, Polly (HTTP resilience), or health check wiring — often in a shared extension method or SDK package. Search for:
+
+- `AddOpenTelemetry`, `UseOpenTelemetry`, `AddTracing`, `WithTracing`, `WithMetrics` — existing OTel setup
+- `AddStandardHttp`, `AddPolicyHandler`, `AddHttpStandardResilienceHandler` — existing Polly/resilience config
+- `AddHealthChecks`, `MapHealthChecks` — existing health check registration
+- Custom SDK extensions (e.g., `UseBitwardenSdk()`, `UseCompanySdk()`) — these often bundle OTel, health checks, and auth in one call
+
+If the repo already has OTel/health checks/resilience in a shared extension, **strip those from the generated ServiceDefaults** to avoid duplication. Only keep the parts that don't overlap. For example, if `UseBitwardenSdk()` already sets up OTel tracing and metrics, the ServiceDefaults should skip the OTel builder calls and only add service discovery and health endpoint mapping.
+
+Present the overlap to the user: *"Your services already set up OpenTelemetry via `UseBitwardenSdk()`. I'll create ServiceDefaults without the OTel setup to avoid duplication."*
+
+**Placement is your decision.** Where to put ServiceDefaults depends on the repo's structure:
+
+- If the AppHost has its own nested SDK boundary (nested `global.json`), ServiceDefaults should live next to the AppHost in that same boundary so it can target the same TFM.
+- If the repo's root SDK is compatible with the AppHost's TFM, ServiceDefaults can live alongside existing source (e.g., in `src/`).
+- If a ServiceDefaults project already exists (look for references to `Microsoft.Extensions.ServiceDiscovery` or `Aspire.ServiceDefaults`), skip creation and use the existing one.
+
+To create one:
+
+```bash
+dotnet new aspire-servicedefaults -n .ServiceDefaults -o
+```
+
+If a `.sln` exists and the ServiceDefaults project is compatible with the solution's SDK, add it:
+
+```bash
+dotnet sln add
+```
+
+### Step 5: Wire up the AppHost
+
+Edit the skeleton AppHost file to add resource definitions for each selected project. Use the appropriate syntax based on language.
+
+#### TypeScript AppHost (`apphost.ts`)
+
+```typescript
+import { createBuilder } from './.modules/aspire.js';
+
+const builder = await createBuilder();
+
+// Express/Node.js API with TypeScript — needs build for publish
+const api = await builder
+ .addNodeApp("api", "./api", "dist/index.js") // production entry point
+ .withRunScript("start:dev") // dev: runs ts-node-dev or similar
+ .withBuildScript("build") // publish: compiles TS first
+ .withYarn() // or .withPnpm() — match the repo
+ .withHttpsDeveloperCertificate()
+ .withHttpsEndpoint({ env: "PORT" });
+
+// Vite frontend — HTTPS with dev cert, suppress auto-browser
+const frontend = await builder
+ .addViteApp("frontend", "./frontend")
+ .withBuildScript("build")
+ .withYarn()
+ .withHttpsDeveloperCertificate()
+ .withEnvironment("BROWSER", "none") // prevent auto-opening browser
+ .withReference(api)
+ .waitFor(api);
+
+// .NET project — HTTPS works out of the box
+const dotnetSvc = await builder
+ .addCSharpApp("catalog", "./src/Catalog");
+
+// Dockerfile-based service
+const worker = await builder
+ .addDockerfile("worker", "./worker");
+
+// Python app — HTTPS with dev cert
+const pyApi = await builder
+ .addPythonApp("py-api", "./py-api", "app.py")
+ .withHttpsDeveloperCertificate();
+
+await builder.build().run();
+```
+
+#### C# AppHost — single-file mode (`apphost.cs`)
+
+```csharp
+#:sdk Aspire.AppHost.Sdk@
+#:property IsAspireHost=true
+
+var builder = DistributedApplication.CreateBuilder(args);
+
+var api = builder.AddCSharpApp("api", "../src/Api");
+
+var web = builder.AddCSharpApp("web", "../src/Web")
+ .WithReference(api)
+ .WaitFor(api);
+
+builder.Build().Run();
+```
+
+#### C# AppHost — full project mode (`Program.cs` + `.csproj`)
+
+In full project mode the AppHost has a `.csproj`, so prefer typed project references via `AddProject()` — they give compile-time safety, auto-restart on rebuild, and the typed `Projects.*` namespace. Reserve `AddCSharpApp("name", "../path")` for cases where a project reference isn't possible (e.g., the service uses an SDK that can't be referenced from `Aspire.AppHost.Sdk`, or the AppHost is single-file mode).
+
+Edit the AppHost's `Program.cs`:
+
+```csharp
+var builder = DistributedApplication.CreateBuilder(args);
+
+var api = builder.AddProject("api");
+
+var web = builder.AddProject("web")
+ .WithReference(api)
+ .WaitFor(api);
+
+builder.Build().Run();
+```
+
+And add project references so the `Projects.*` namespace is generated:
+
+```bash
+dotnet add reference
+dotnet add