Skip to content

Commit

Permalink
Update to .NET Aspire preview 7
Browse files Browse the repository at this point in the history
Update to preview 7 of .NET Aspire.
  • Loading branch information
martincostello committed May 7, 2024
1 parent 7308ff0 commit 05d165f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
<GlobalPackageReference Include="StyleCop.Analyzers" Version="1.2.0-beta.556" PrivateAssets="All" />
</ItemGroup>
<ItemGroup>
<PackageVersion Include="Aspire.Hosting.AppHost" Version="8.0.0-preview.6.24214.1" />
<PackageVersion Include="Aspire.Hosting.Azure.CosmosDB" Version="8.0.0-preview.6.24214.1" />
<PackageVersion Include="Aspire.Microsoft.Azure.Cosmos" Version="8.0.0-preview.6.24214.1" />
<PackageVersion Include="Aspire.Hosting.AppHost" Version="8.0.0-preview.7.24251.11" />
<PackageVersion Include="Aspire.Hosting.Azure.CosmosDB" Version="8.0.0-preview.7.24251.11" />
<PackageVersion Include="Aspire.Microsoft.Azure.Cosmos" Version="8.0.0-preview.7.24251.11" />
<PackageVersion Include="AspNet.Security.OAuth.Amazon" Version="8.0.0" />
<PackageVersion Include="AspNet.Security.OAuth.Apple" Version="8.0.0" />
<PackageVersion Include="AspNet.Security.OAuth.GitHub" Version="8.0.0" />
Expand Down
2 changes: 1 addition & 1 deletion src/LondonTravel.Site/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@
builder.Services.AddSingleton(TimeProvider.System);
builder.Services.AddSingleton<ITflServiceFactory, TflServiceFactory>();

builder.AddAzureCosmosDBClient("Cosmos");
builder.AddAzureCosmosClient("Cosmos");
builder.Services.AddSingleton(DocumentHelpers.CreateClient);
builder.Services.TryAddSingleton<IDocumentService, DocumentService>();
builder.Services.TryAddSingleton<IDocumentCollectionInitializer, DocumentCollectionInitializer>();
Expand Down

0 comments on commit 05d165f

Please sign in to comment.