File tree Expand file tree Collapse file tree 7 files changed +30
-61
lines changed
orleans/JournaledTodoList
JournaledTodoList.AppHost
JournaledTodoList.ServiceDefaults Expand file tree Collapse file tree 7 files changed +30
-61
lines changed Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk" >
22
3- <Sdk Name =" Aspire.AppHost.Sdk" Version =" 9.0 .0" />
3+ <Sdk Name =" Aspire.AppHost.Sdk" Version =" 13.1 .0" />
44
55 <PropertyGroup >
66 <OutputType >Exe</OutputType >
7- <TargetFramework >net9 .0</TargetFramework >
7+ <TargetFramework >net10 .0</TargetFramework >
88 <ImplicitUsings >enable</ImplicitUsings >
99 <Nullable >enable</Nullable >
1010 <IsAspireHost >true</IsAspireHost >
1111 <UserSecretsId >1df8a68d-9c06-4d9a-98ed-f735876b11f7</UserSecretsId >
1212 </PropertyGroup >
1313
1414 <ItemGroup >
15- <PackageReference Include =" Aspire.Hosting.AppHost" Version =" 9 .1.0" />
16- <PackageReference Include =" Aspire.Hosting.Azure.Storage" Version =" 9 .1.0" />
17- <PackageReference Include =" Aspire.Hosting.Orleans" Version =" 9 .1.0" />
15+ <PackageReference Include =" Aspire.Hosting.AppHost" Version =" 13 .1.0" />
16+ <PackageReference Include =" Aspire.Hosting.Azure.Storage" Version =" 13 .1.0" />
17+ <PackageReference Include =" Aspire.Hosting.Orleans" Version =" 13 .1.0" />
1818 </ItemGroup >
1919
2020 <ItemGroup >
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk" >
22
33 <PropertyGroup >
4- <TargetFramework >net9 .0</TargetFramework >
4+ <TargetFramework >net10 .0</TargetFramework >
55 <ImplicitUsings >enable</ImplicitUsings >
66 <Nullable >enable</Nullable >
77 <IsAspireSharedProject >true</IsAspireSharedProject >
1010 <ItemGroup >
1111 <FrameworkReference Include =" Microsoft.AspNetCore.App" />
1212
13- <PackageReference Include =" Microsoft.Extensions.Http.Resilience" Version =" 9.0 .0" />
14- <PackageReference Include =" Microsoft.Extensions.ServiceDiscovery" Version =" 9.0 .0" />
15- <PackageReference Include =" OpenTelemetry.Exporter.OpenTelemetryProtocol" Version =" 1.9 .0" />
16- <PackageReference Include =" OpenTelemetry.Extensions.Hosting" Version =" 1.9 .0" />
17- <PackageReference Include =" OpenTelemetry.Instrumentation.AspNetCore" Version =" 1.9 .0" />
18- <PackageReference Include =" OpenTelemetry.Instrumentation.Http" Version =" 1.9 .0" />
19- <PackageReference Include =" OpenTelemetry.Instrumentation.Runtime" Version =" 1.9 .0" />
13+ <PackageReference Include =" Microsoft.Extensions.Http.Resilience" Version =" 10.2 .0" />
14+ <PackageReference Include =" Microsoft.Extensions.ServiceDiscovery" Version =" 10.2 .0" />
15+ <PackageReference Include =" OpenTelemetry.Exporter.OpenTelemetryProtocol" Version =" 1.15 .0" />
16+ <PackageReference Include =" OpenTelemetry.Extensions.Hosting" Version =" 1.15 .0" />
17+ <PackageReference Include =" OpenTelemetry.Instrumentation.AspNetCore" Version =" 1.15 .0" />
18+ <PackageReference Include =" OpenTelemetry.Instrumentation.Http" Version =" 1.15 .0" />
19+ <PackageReference Include =" OpenTelemetry.Instrumentation.Runtime" Version =" 1.15 .0" />
2020 </ItemGroup >
2121
2222</Project >
Original file line number Diff line number Diff line change 1- using System . Collections . Immutable ;
1+ using System . Collections . Immutable ;
22using Orleans . EventSourcing ;
33using Orleans . Providers ;
44using Orleans . Utilities ;
@@ -77,6 +77,7 @@ private Task NotifyObservers()
7777 [ GenerateSerializer , Immutable ]
7878 public sealed class TodoListRegistry
7979 {
80+ [ Id ( 0 ) ]
8081 public ImmutableArray < TodoListReference > TodoLists { get ; set ; } = [ ] ;
8182 }
8283}
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk.Web" >
22
33 <PropertyGroup >
4- <TargetFramework >net9 .0</TargetFramework >
4+ <TargetFramework >net10 .0</TargetFramework >
55 <Nullable >enable</Nullable >
66 <ImplicitUsings >enable</ImplicitUsings >
77 </PropertyGroup >
1111 </ItemGroup >
1212
1313 <ItemGroup >
14- <PackageReference Include =" Aspire.Azure.Data.Tables" Version =" 9 .1.0" />
15- <PackageReference Include =" Aspire.Azure.Storage.Blobs" Version =" 9 .1.0" />
16- <PackageReference Include =" Microsoft.Orleans.Clustering.AzureStorage" Version =" 9.1.2 " />
17- <PackageReference Include =" Microsoft.Orleans.Persistence.AzureStorage" Version =" 9.1.2 " />
18- <PackageReference Include =" Microsoft.Orleans.Server" Version =" 9.1.2 " />
19- <PackageReference Include =" Microsoft.Orleans.EventSourcing" Version =" 9.1.2 " />
14+ <PackageReference Include =" Aspire.Azure.Data.Tables" Version =" 13 .1.0" />
15+ <PackageReference Include =" Aspire.Azure.Storage.Blobs" Version =" 13 .1.0" />
16+ <PackageReference Include =" Microsoft.Orleans.Clustering.AzureStorage" Version =" 10.0.0 " />
17+ <PackageReference Include =" Microsoft.Orleans.Persistence.AzureStorage" Version =" 10.0.0 " />
18+ <PackageReference Include =" Microsoft.Orleans.Server" Version =" 10.0.0 " />
19+ <PackageReference Include =" Microsoft.Orleans.EventSourcing" Version =" 10.0.0 " />
2020 </ItemGroup >
2121
2222</Project >
Original file line number Diff line number Diff line change 1- using JournaledTodoList . WebApp . Components ;
1+ using JournaledTodoList . WebApp . Components ;
22using JournaledTodoList . WebApp . Services ;
33
44var builder = WebApplication . CreateBuilder ( args ) ;
55
66builder . AddServiceDefaults ( ) ;
7- builder . AddKeyedAzureTableClient ( "clustering" ) ;
8- builder . AddKeyedAzureBlobClient ( "grain-state" ) ;
7+ builder . AddKeyedAzureTableServiceClient ( "clustering" ) ;
8+ builder . AddKeyedAzureBlobServiceClient ( "grain-state" ) ;
99builder . UseOrleans ( siloBuilder =>
1010{
1111 siloBuilder . AddLogStorageBasedLogConsistencyProviderAsDefault ( ) ;
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ <Solution >
2+ <Project Path =" JournaledTodoList.AppHost/JournaledTodoList.AppHost.csproj" />
3+ <Project Path =" JournaledTodoList.ServiceDefaults/JournaledTodoList.ServiceDefaults.csproj" />
4+ <Project Path =" JournaledTodoList.WebApp/JournaledTodoList.WebApp.csproj" />
5+ </Solution >
You can’t perform that action at this time.
0 commit comments