Skip to content

Commit c08ffb9

Browse files
Merge pull request #256 from TransactionProcessing/task/#252_net_10_upgrade
net 10 upgraded
2 parents a51dec5 + 59749de commit c08ffb9

87 files changed

Lines changed: 85 additions & 84467 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/createrelease.yml

Lines changed: 39 additions & 322 deletions
Large diffs are not rendered by default.

StreamManagementTool/Program.cs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
using System.Text.Json;
22
using EventStore.Client;
3+
using KurrentDB.Client;
34
using Microsoft.Extensions.Configuration;
45
using Shared.General;
56

@@ -13,8 +14,8 @@ static async Task Main(string[] args) {
1314
ConfigurationReader.Initialise(configurationRoot);
1415

1516
List<StreamConfiguration> config = await LoadStreamConfig(CancellationToken.None);
16-
EventStoreClientSettings settings = EventStoreClientSettings.Create(ConfigurationReader.GetValue("AppSettings", "EventStoreAddress"));
17-
EventStoreClient client = new EventStoreClient(settings);
17+
KurrentDBClientSettings settings = KurrentDBClientSettings.Create(ConfigurationReader.GetValue("AppSettings", "EventStoreAddress"));
18+
KurrentDBClient client = new KurrentDBClient(settings);
1819

1920
foreach (StreamConfiguration streamConfiguration in config) {
2021
// Fetch existing metadata
@@ -36,7 +37,7 @@ static async Task Main(string[] args) {
3637
// Set the updated metadata
3738
await client.SetStreamMetadataAsync(
3839
streamName: streamConfiguration.StreamName,
39-
expectedRevision: new StreamRevision(existingMetadataResult.MetastreamRevision.GetValueOrDefault()),
40+
StreamState.StreamRevision(existingMetadataResult.MetastreamRevision.GetValueOrDefault()),
4041
metadata: updatedMetadata
4142
);
4243

StreamManagementTool/StreamManagementTool.csproj

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>net9.0</TargetFramework>
5+
<TargetFramework>net10.0</TargetFramework>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>enable</Nullable>
88
</PropertyGroup>
99

1010
<ItemGroup>
11-
<PackageReference Include="EventStore.Client.Grpc.Streams" Version="23.3.9" />
12-
<PackageReference Include="Microsoft.Extensions.Configuration" Version="9.0.10" />
13-
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="9.0.10" />
14-
<PackageReference Include="Shared" Version="2025.10.2" />
11+
<PackageReference Include="KurrentDB.Client" Version="1.3.0" />
12+
<PackageReference Include="Microsoft.Extensions.Configuration" Version="10.0.1" />
13+
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="10.0.1" />
14+
<PackageReference Include="Shared" Version="2025.12.1" />
1515
</ItemGroup>
1616

1717
<ItemGroup>

TransactionProcessing.SchedulerService/DataGenerator/TransactionDataGenerator.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>net9.0</TargetFramework>
5+
<TargetFramework>net10.0</TargetFramework>
66
</PropertyGroup>
77

88
<ItemGroup>

TransactionProcessing.SchedulerService/JobTestDriver/JobTestDriver.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>net9.0</TargetFramework>
5+
<TargetFramework>net10.0</TargetFramework>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>enable</Nullable>
88
</PropertyGroup>
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
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
</PropertyGroup>
88

99
<ItemGroup>
10-
<PackageReference Include="SecurityService.Client" Version="2025.8.1" />
11-
<PackageReference Include="Shared" Version="2025.10.2" />
12-
<PackageReference Include="Shared.Results" Version="2025.10.2" />
13-
<PackageReference Include="TransactionProcessor.Client" Version="2025.9.1" />
10+
<PackageReference Include="SecurityService.Client" Version="2025.12.1" />
11+
<PackageReference Include="Shared" Version="2025.12.1" />
12+
<PackageReference Include="Shared.Results" Version="2025.12.1" />
13+
<PackageReference Include="TransactionProcessor.Client" Version="2025.12.1" />
1414
</ItemGroup>
1515

1616
</Project>

TransactionProcessing.SchedulerService/TransactionProcessing.SchedulerService.TickerQ/Configuration/BaseConfiguration.cs

Lines changed: 0 additions & 50 deletions
This file was deleted.

TransactionProcessing.SchedulerService/TransactionProcessing.SchedulerService.TickerQ/Database/SchedulerContext.cs

Lines changed: 0 additions & 25 deletions
This file was deleted.

0 commit comments

Comments
 (0)