From 8e105920179fbf9ce9372ae1975192d4db688936 Mon Sep 17 00:00:00 2001 From: ysmoradi Date: Fri, 26 Sep 2025 19:52:23 +0200 Subject: [PATCH 1/2] update bit boilerplate to aspire 9.5, add dev tunnels (#11442) --- .../src/Directory.Packages.props | 261 +++++++++--------- .../Boilerplate.Server.AppHost.csproj | 5 +- .../Boilerplate.Server.AppHost/Program.cs | 12 +- 3 files changed, 145 insertions(+), 133 deletions(-) diff --git a/src/Templates/Boilerplate/Bit.Boilerplate/src/Directory.Packages.props b/src/Templates/Boilerplate/Bit.Boilerplate/src/Directory.Packages.props index 861147460e..2611fa734e 100644 --- a/src/Templates/Boilerplate/Bit.Boilerplate/src/Directory.Packages.props +++ b/src/Templates/Boilerplate/Bit.Boilerplate/src/Directory.Packages.props @@ -1,132 +1,133 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/Templates/Boilerplate/Bit.Boilerplate/src/Server/Boilerplate.Server.AppHost/Boilerplate.Server.AppHost.csproj b/src/Templates/Boilerplate/Bit.Boilerplate/src/Server/Boilerplate.Server.AppHost/Boilerplate.Server.AppHost.csproj index 64c95dd07d..a46dadfe70 100644 --- a/src/Templates/Boilerplate/Bit.Boilerplate/src/Server/Boilerplate.Server.AppHost/Boilerplate.Server.AppHost.csproj +++ b/src/Templates/Boilerplate/Bit.Boilerplate/src/Server/Boilerplate.Server.AppHost/Boilerplate.Server.AppHost.csproj @@ -1,6 +1,6 @@ - + - + Exe @@ -12,6 +12,7 @@ + diff --git a/src/Templates/Boilerplate/Bit.Boilerplate/src/Server/Boilerplate.Server.AppHost/Program.cs b/src/Templates/Boilerplate/Bit.Boilerplate/src/Server/Boilerplate.Server.AppHost/Program.cs index ad6940a6f1..6de8eaa77d 100644 --- a/src/Templates/Boilerplate/Bit.Boilerplate/src/Server/Boilerplate.Server.AppHost/Program.cs +++ b/src/Templates/Boilerplate/Bit.Boilerplate/src/Server/Boilerplate.Server.AppHost/Program.cs @@ -23,7 +23,7 @@ .WithPgAdmin(config => config.WithLifetime(ContainerLifetime.Persistent).WithVolume("/var/lib/pgadmin/Boilerplate/data")) .WithLifetime(ContainerLifetime.Persistent) .WithDataVolume() - .WithImage("pgvector/pgvector", "pg17") // pgvector supports embedded vector search. + .WithImage("pgvector/pgvector", "pg18") // pgvector supports embedded vector search. .AddDatabase("postgresdb"); //#elif (database == "MySql") @@ -114,6 +114,16 @@ // Blazor Hybrid Windows project. builder.AddProject("clientwindows") // Replace . with _ if needed to ensure the project builds successfully. .WithExplicitStart(); + + //#if (api == "Standalone") + builder.AddDevTunnel("api-dev-tunnel") + .WithAnonymousAccess() + .WithReference(serverApiProject.WithHttpEndpoint(name: "devTunnel").GetEndpoint("devTunnel")); + //#endif + + var tunnel = builder.AddDevTunnel("web-dev-tunnel") + .WithAnonymousAccess() + .WithReference(serverWebProject.WithHttpEndpoint(name: "devTunnel").GetEndpoint("devTunnel")); } await builder From 28fa5435ebe730d4f05a7f1170e558e3e7e6ec90 Mon Sep 17 00:00:00 2001 From: ysmoradi Date: Fri, 26 Sep 2025 19:53:26 +0200 Subject: [PATCH 2/2] fix --- .../src/Directory.Packages.props | 262 +++++++++--------- 1 file changed, 131 insertions(+), 131 deletions(-) diff --git a/src/Templates/Boilerplate/Bit.Boilerplate/src/Directory.Packages.props b/src/Templates/Boilerplate/Bit.Boilerplate/src/Directory.Packages.props index 2611fa734e..30a3289288 100644 --- a/src/Templates/Boilerplate/Bit.Boilerplate/src/Directory.Packages.props +++ b/src/Templates/Boilerplate/Bit.Boilerplate/src/Directory.Packages.props @@ -1,133 +1,133 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file