Skip to content

Commit 67268ce

Browse files
author
Petr Rudzenkou
committed
Revert "Update to Aspire 9.5 (dotnet#900)"
This reverts commit 1b2698c.
1 parent 1b2698c commit 67268ce

File tree

6 files changed

+8
-14
lines changed

6 files changed

+8
-14
lines changed

Directory.Packages.props

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
<CentralPackageTransitivePinningEnabled>true</CentralPackageTransitivePinningEnabled>
55
<AspnetVersion>10.0.0-preview.7.25380.108</AspnetVersion>
66
<MicrosoftExtensionsVersion>10.0.0-preview.7.25380.108</MicrosoftExtensionsVersion>
7-
<AspireVersion>9.5.0</AspireVersion>
8-
<AspireUnstablePackagesVersion>9.5.0-preview.1.25474.7</AspireUnstablePackagesVersion>
7+
<AspireVersion>9.4.2</AspireVersion>
8+
<AspireUnstablePackagesVersion>9.4.2-preview.1.25428.12</AspireUnstablePackagesVersion>
99
<GrpcVersion>2.71.0</GrpcVersion>
1010
<DuendeVersion>7.3.1</DuendeVersion>
1111
<ApiVersioningVersion>8.1.0</ApiVersioningVersion>
@@ -57,8 +57,6 @@
5757
<PackageVersion Include="Pgvector.EntityFrameworkCore" Version="0.2.2" />
5858
<!-- Version together with runtime -->
5959
<PackageVersion Include="Microsoft.Extensions.Options" Version="10.0.0-rc.1.25451.107" />
60-
<PackageVersion Include="Microsoft.Extensions.Configuration.Abstractions" Version="10.0.0-rc.1.25451.107" />
61-
<PackageVersion Include="Microsoft.Extensions.Logging.Abstractions" Version="10.0.0-rc.1.25451.107" />
6260
<!-- Xabaril packages -->
6361
<PackageVersion Include="AspNetCore.HealthChecks.Uris" Version="9.0.0" />
6462
<!-- AI -->

src/WebApp/Extensions/Extensions.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@ public static void AddApplicationServices(this IHostApplicationBuilder builder)
3131
builder.Services.AddGrpcClient<Basket.BasketClient>(o => o.Address = new("http://basket-api"))
3232
.AddAuthToken();
3333

34-
builder.Services.AddHttpClient<CatalogService>(o => o.BaseAddress = new("https+http://catalog-api"))
34+
builder.Services.AddHttpClient<CatalogService>(o => o.BaseAddress = new("http://catalog-api"))
3535
.AddApiVersion(2.0)
3636
.AddAuthToken();
3737

38-
builder.Services.AddHttpClient<OrderingService>(o => o.BaseAddress = new("https+http://ordering-api"))
38+
builder.Services.AddHttpClient<OrderingService>(o => o.BaseAddress = new("http://ordering-api"))
3939
.AddApiVersion(1.0)
4040
.AddAuthToken();
4141
}

src/eShop.AppHost/Extensions.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ public static IDistributedApplicationBuilder AddOpenAI(this IDistributedApplicat
6666
.WithDescription("The Azure OpenAI endpoint to use, e.g. https://<name>.openai.azure.com/")
6767
.WithCustomInput(p => new()
6868
{
69-
Name = "OpenAIEndpointParameter",
7069
Label = "Azure OpenAI Endpoint",
7170
InputType = InputType.Text,
7271
Value = "https://<name>.openai.azure.com/",
@@ -80,7 +79,6 @@ public static IDistributedApplicationBuilder AddOpenAI(this IDistributedApplicat
8079
.WithDescription("The OpenAI API key to use.")
8180
.WithCustomInput(p => new()
8281
{
83-
Name = "OpenAIKeyParameter",
8482
Label = "API Key",
8583
InputType = InputType.SecretText
8684
});
@@ -90,7 +88,6 @@ public static IDistributedApplicationBuilder AddOpenAI(this IDistributedApplicat
9088
.WithDescription("The chat model to use.")
9189
.WithCustomInput(p => new()
9290
{
93-
Name = "ChatModelParameter",
9491
Label = "Chat Model",
9592
InputType = InputType.Text,
9693
Value = chatModelName,
@@ -100,7 +97,6 @@ public static IDistributedApplicationBuilder AddOpenAI(this IDistributedApplicat
10097
.WithDescription("The embedding model to use.")
10198
.WithCustomInput(p => new()
10299
{
103-
Name = "EmbeddingModelParameter",
104100
Label = "Text Embedding Model",
105101
InputType = InputType.Text,
106102
Value = textEmbeddingModelName,

src/eShop.AppHost/eShop.AppHost.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
2-
<Sdk Name="Aspire.AppHost.Sdk" Version="9.5.0" />
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
<Sdk Name="Aspire.AppHost.Sdk" Version="9.4.0" />
33

44
<PropertyGroup>
55
<OutputType>Exe</OutputType>

tests/Catalog.FunctionalTests/Catalog.FunctionalTests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<Project Sdk="Microsoft.NET.Sdk">
2-
<Sdk Name="Aspire.AppHost.Sdk" Version="9.5.0" />
2+
<Sdk Name="Aspire.AppHost.Sdk" Version="9.4.0" />
33

44
<PropertyGroup>
55
<TargetFramework>net10.0</TargetFramework>

tests/Ordering.FunctionalTests/Ordering.FunctionalTests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<Project Sdk="Microsoft.NET.Sdk">
2-
<Sdk Name="Aspire.AppHost.Sdk" Version="9.5.0" />
2+
<Sdk Name="Aspire.AppHost.Sdk" Version="9.4.0" />
33

44
<PropertyGroup>
55
<TargetFramework>net10.0</TargetFramework>

0 commit comments

Comments
 (0)