From 2e91f110d004d49519eff80ce0d3a5fc4ac18a64 Mon Sep 17 00:00:00 2001
From: fraliv13 <5892139+fraliv13@users.noreply.github.com>
Date: Fri, 13 Dec 2024 15:05:01 +0200
Subject: [PATCH] .Net 9.0 upgrade, packages upgrade (#277)
* .Net upgrade, packages upgrade
---
.github/workflows/ci.yml | 2 +-
.github/workflows/codeql-analysis.yml | 2 +-
.github/workflows/release.yml | 2 +-
Directory.Build.props | 2 +-
dependencies.props | 57 +++----
.../NBB.Contracts.Api.csproj | 4 +-
.../NBB.Contracts.Application.csproj | 2 +-
.../NBB.Contracts.Domain.csproj | 2 +-
.../NBB.Contracts.Migrations.csproj | 2 +-
.../NBB.Contracts.PublishedLanguage.csproj | 2 +-
.../NBB.Contracts.ReadModel.Data.csproj | 2 +-
.../NBB.Contracts.ReadModel.csproj | 2 +-
.../NBB.Contracts.Worker.csproj | 140 +++++++++---------
.../NBB.Contracts.WriteModel.Data.csproj | 2 +-
.../NBB.Invoices.FSharp.Api.fsproj | 4 +-
.../NBB.Invoices.FSharp.Worker.fsproj | 2 +-
.../NBB.Invoices.FSharp.fsproj | 2 +-
.../NBB.Invoices.Api/NBB.Invoices.Api.csproj | 2 +-
.../NBB.Invoices.Application.csproj | 2 +-
.../NBB.Invoices.Data.csproj | 2 +-
.../NBB.Invoices.Domain.csproj | 2 +-
.../NBB.Invoices.Migrations.csproj | 2 +-
.../NBB.Invoices.PublishedLanguage.csproj | 2 +-
.../NBB.Invoices.Worker.csproj | 2 +-
.../NBB.MicroServicesOrchestration.csproj | 86 +++++------
.../NBB.Payments.Api/NBB.Payments.Api.csproj | 2 +-
.../NBB.Payments.Application.csproj | 2 +-
.../NBB.Payments.Data.csproj | 2 +-
.../NBB.Payments.Domain.csproj | 2 +-
.../NBB.Payments.Migrations.csproj | 2 +-
.../NBB.Payments.PublishedLanguage.csproj | 2 +-
.../NBB.Payments.Worker.csproj | 2 +-
.../NBB.Mono.Migrations.csproj | 2 +-
samples/Monolith/NBB.Mono/NBB.Mono.csproj | 2 +-
.../NBB.Todo.Api/NBB.Todo.Api.csproj | 82 +++++-----
.../NBB.Todo.Data/NBB.Todo.Data.csproj | 34 ++---
.../NBB.Todo.Migrations.csproj | 50 +++----
.../NBB.Todo.PublishedLanguage.csproj | 22 +--
.../NBB.Todo.Worker/NBB.Todo.Worker.csproj | 112 +++++++-------
.../ProcessManagerSample.csproj | 7 +-
...BB.Application.DataContracts.Schema.csproj | 2 +-
.../NBB.Application.DataContracts.csproj | 2 +-
.../NBB.Application.DataContracts/Readme.md | 2 +-
.../NBB.Application.MediatR.Effects.csproj | 2 +-
.../NBB.Application.MediatR.csproj | 2 +-
.../NBB.Application.Mediator.FSharp.fsproj | 2 +-
.../NBB.Core.Abstractions.csproj | 2 +-
.../NBB.Core.Configuration.csproj | 32 ++--
.../NBB.Core.DependencyInjection.csproj | 4 +-
.../NBB.Core.Effects.FSharp.fsproj | 2 +-
.../NBB.Core.Effects/NBB.Core.Effects.csproj | 2 +-
.../NBB.Core.Evented.FSharp.fsproj | 2 +-
.../NBB.Core.FSharp/NBB.Core.FSharp.fsproj | 2 +-
.../NBB.Core.Pipeline.csproj | 24 +--
.../NBB.Correlation.AspNet.csproj | 2 +-
.../NBB.Correlation.Serilog.SqlServer.csproj | 2 +-
.../NBB.Correlation.Serilog.csproj | 2 +-
.../NBB.Correlation/NBB.Correlation.csproj | 2 +-
.../NBB.Data.Abstractions.csproj | 2 +-
...B.Data.EntityFramework.MultiTenancy.csproj | 2 +-
.../NBB.Data.EntityFramework.csproj | 2 +-
.../NBB.Data.EventSourcing.csproj | 2 +-
.../NBB.Domain.Abstractions.csproj | 2 +-
src/Domain/NBB.Domain/NBB.Domain.csproj | 4 +-
.../NBB.EventStore.Abstractions.csproj | 2 +-
.../NBB.EventStore.AdoNet.Migrations.csproj | 2 +-
.../NBB.EventStore.AdoNet.MultiTenancy.csproj | 2 +-
.../NBB.EventStore.AdoNet.csproj | 2 +-
.../NBB.EventStore.Effects.csproj | 2 +-
.../NBB.EventStore.InMemory.csproj | 22 +--
.../NBB.EventStore/NBB.EventStore.csproj | 2 +-
.../NBB.SQLStreamStore.Migrations.csproj | 10 +-
.../NBB.SQLStreamStore.csproj | 2 +-
.../NBB.Http.Effects/NBB.Http.Effects.csproj | 2 +-
.../NBB.Messaging.Abstractions.csproj | 66 ++++-----
...NBB.Messaging.BackwardCompatibility.csproj | 32 ++--
.../NBB.Messaging.DataContracts.csproj | 24 +--
.../NBB.Messaging.Effects.csproj | 2 +-
.../NBB.Messaging.Host.csproj | 2 +-
.../NBB.Messaging.InProcessMessaging.csproj | 2 +-
.../NBB.Messaging.JetStream.csproj | 4 +-
.../NBB.Messaging.MultiTenancy.csproj | 42 +++---
.../NBB.Messaging.Nats.csproj | 68 ++++-----
.../NBB.Messaging.Noop.csproj | 2 +-
.../NBB.Messaging.OpenTelemetry.csproj | 40 ++---
.../OpenTelemetryPublisherDecorator.cs | 2 +-
.../OpenTelemetrySubscriberDecorator.cs | 2 +-
.../NBB.Messaging.Rusi.csproj | 8 +-
.../NBB.MultiTenancy.Abstractions.csproj | 42 +++---
.../NBB.MultiTenancy.AspNet.csproj | 32 ++--
...BB.MultiTenancy.Identification.Http.csproj | 38 ++---
...ltiTenancy.Identification.Messaging.csproj | 24 +--
.../NBB.MultiTenancy.Identification.csproj | 30 ++--
.../NBB.ProcessManager.Definition.csproj | 4 +-
.../NBB.ProcessManager.Runtime.csproj | 2 +-
.../NBB.ProjectR/NBB.ProjectR.csproj | 2 +-
...Serilog.Enrichers.ServiceIdentifier.csproj | 2 +-
...BB.Tools.Serilog.Enrichers.TenantId.csproj | 2 +-
.../Internal/OpenTelemetryTracingSink.cs | 4 +-
...ls.Serilog.OpenTelemetryTracingSink.csproj | 2 +-
.../EffectsBenchmarks.fsproj | 2 +-
.../EventStoreBenchmarks.csproj | 2 +-
.../NBB.EventStore.IntegrationTests.csproj | 10 +-
...NBB.Messaging.Rusi.IntegrationTests.csproj | 2 +-
.../NBB.Application.Effects.Tests.csproj | 8 +-
...B.Application.Mediator.FSharp.Tests.fsproj | 8 +-
.../NBB.Core.Configuration.Tests.csproj | 52 +++----
.../NBB.Core.Effects.FSharp.Tests.fsproj | 2 +-
.../NBB.Core.Effects.Tests.csproj | 8 +-
.../NBB.Core.Evented.FSharp.Tests.fsproj | 4 +-
.../NBB.Core.Pipeline.Tests.csproj | 44 +++---
.../NBB.Core.Pipeline.Tests/PipelineTests.cs | 12 +-
....EntityFramework.MultiTenancy.Tests.csproj | 2 +-
.../NBB.Data.EntityFramework.Tests.csproj | 2 +-
.../NBB.Data.EventSourcing.Tests.csproj | 2 +-
.../NBB.Domain.Tests/NBB.Domain.Tests.csproj | 2 +-
.../NBB.EventStore.AdoNet.Tests.csproj | 2 +-
.../NBB.EventStore.InMemory.Tests.csproj | 42 +++---
.../NBB.EventStore.Tests.csproj | 2 +-
.../NBB.Http.Effects.Tests.csproj | 8 +-
.../NBB.Messaging.Abstractions.Tests.csproj | 2 +-
.../NBB.Messaging.DataContracts.Tests.csproj | 44 +++---
.../NBB.Messaging.Effects.Tests.csproj | 8 +-
.../CorrelationMiddlewareTests.cs | 8 +-
.../DefaultResiliencyMiddlewareTests.cs | 2 +-
.../ExceptionHandlingMiddlewareTests.cs | 6 +-
.../MediatRMiddlewareTests.cs | 8 +-
.../SchemaMessageValidatorMiddlewareTests.cs | 4 +-
.../NBB.Messaging.Host.Tests.csproj | 42 +++---
....Messaging.InProcessMessaging.Tests.csproj | 2 +-
.../MessageBusPublisherDecoratorTests.cs | 4 +-
.../NBB.Messaging.MultiTenancy.Tests.csproj | 58 ++++----
.../NBB.Messaging.Rusi.Tests.csproj | 2 +-
...NBB.MultiTenancy.Abstractions.Tests.csproj | 2 +-
...tiTenancy.Identification.Http.Tests.csproj | 50 +++----
...ancy.Identification.Messaging.Tests.csproj | 50 +++----
...nantIdHeaderMessagingTokenResolverTests.cs | 9 +-
.../Identifiers/IdTenantIdentifierTests.cs | 5 +-
...B.MultiTenancy.Identification.Tests.csproj | 52 +++----
.../Services/TenantServiceTests.cs | 12 +-
.../NBB.Core.FSharp.Tests.fsproj | 2 +-
.../NBB.ProcessManager.Tests.csproj | 2 +-
.../NBB.ProjectR.Tests.csproj | 2 +-
...g.Enrichers.ServiceIdentifier.Tests.csproj | 2 +-
...ls.Serilog.Enrichers.TenantId.Tests.csproj | 2 +-
145 files changed, 943 insertions(+), 941 deletions(-)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 1316d75c..32c06959 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -20,7 +20,7 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
- dotnet-version: 8.0.x
+ dotnet-version: 9.0.x
- name: Build and Test
run: ./Build.ps1
shell: pwsh
diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml
index 0d87a663..f5a68567 100644
--- a/.github/workflows/codeql-analysis.yml
+++ b/.github/workflows/codeql-analysis.yml
@@ -62,7 +62,7 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
- dotnet-version: 8.0.x
+ dotnet-version: 9.0.x
- run: |
dotnet build
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 098fbf03..e5aab63d 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -16,7 +16,7 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
- dotnet-version: 8.0.x
+ dotnet-version: 9.0.x
- name: Build and Test
run: ./Build.ps1
shell: pwsh
diff --git a/Directory.Build.props b/Directory.Build.props
index 65309b49..cfdfefa2 100644
--- a/Directory.Build.props
+++ b/Directory.Build.props
@@ -16,7 +16,7 @@
-
+
diff --git a/dependencies.props b/dependencies.props
index 4e5a6821..c998ee30 100644
--- a/dependencies.props
+++ b/dependencies.props
@@ -1,40 +1,41 @@
13.0.3
- 12.2.0
+ 12.4.1
2.0.1
- 4.2.2
- 0.13.11
- 4.20.70
- 2.6.3
- 2.5.5
- 6.0.0
- 17.8.0
- 5.6.1
- 6.12.0
- 5.1.2
- 8.0.0
- 8.0.0
+ 5.0.2
+ 0.14.0
+ 4.20.72
+ 2.9.2
+ 2.8.2
+ 6.0.2
+ 17.12.0
+ 6.0.1
+ 7.0.0
+ 5.2.2
+ 9.0.0
+ 9.0.0
4.7.0
- 1.7.0
- 1.7.0
- 1.7.0
- 1.6.0-rc.1
+ 1.10.0
+ 1.10.0
+ 1.10.0
+ 1.10.1
1.0.0-beta.8
- 1.6.0-rc.1
- 1.5.1
+ 1.10.0
+ 1.10.0
1.5.0-rc.1
1.7.0-rc.1
- 8.2.0
- 3.1.1
- 8.0.0
- 5.0.1
- 6.5.0
- 8.0.0
- 12.0.1
- 10.9.0
+ 8.5.0
+ 4.2.0
+ 9.0.0
+ 9.0.0
+ 6.0.0
+ 8.1.0
+ 9.0.0
+ 13.0.1
+ 11.1.0
4.18.1
1.0.3
- 7.0.3
+ 8.3.0
diff --git a/samples/MicroServices/NBB.Contracts/NBB.Contracts.Api/NBB.Contracts.Api.csproj b/samples/MicroServices/NBB.Contracts/NBB.Contracts.Api/NBB.Contracts.Api.csproj
index 3608ebf5..016b0cf0 100644
--- a/samples/MicroServices/NBB.Contracts/NBB.Contracts.Api/NBB.Contracts.Api.csproj
+++ b/samples/MicroServices/NBB.Contracts/NBB.Contracts.Api/NBB.Contracts.Api.csproj
@@ -8,7 +8,7 @@
- net8.0
+ net9.0
..\..\..\..\docker-compose.dcproj
NBB_Contracts_6a73f87d-2175-4be0-9a42-31cb73bc8e10
Linux
@@ -32,7 +32,7 @@
-
+
diff --git a/samples/MicroServices/NBB.Contracts/NBB.Contracts.Application/NBB.Contracts.Application.csproj b/samples/MicroServices/NBB.Contracts/NBB.Contracts.Application/NBB.Contracts.Application.csproj
index 0ed36ed8..b595bdda 100644
--- a/samples/MicroServices/NBB.Contracts/NBB.Contracts.Application/NBB.Contracts.Application.csproj
+++ b/samples/MicroServices/NBB.Contracts/NBB.Contracts.Application/NBB.Contracts.Application.csproj
@@ -8,7 +8,7 @@
- net8.0
+ net9.0
diff --git a/samples/MicroServices/NBB.Contracts/NBB.Contracts.Domain/NBB.Contracts.Domain.csproj b/samples/MicroServices/NBB.Contracts/NBB.Contracts.Domain/NBB.Contracts.Domain.csproj
index ac404c5c..6d7809a0 100644
--- a/samples/MicroServices/NBB.Contracts/NBB.Contracts.Domain/NBB.Contracts.Domain.csproj
+++ b/samples/MicroServices/NBB.Contracts/NBB.Contracts.Domain/NBB.Contracts.Domain.csproj
@@ -8,7 +8,7 @@
- net8.0
+ net9.0
diff --git a/samples/MicroServices/NBB.Contracts/NBB.Contracts.Migrations/NBB.Contracts.Migrations.csproj b/samples/MicroServices/NBB.Contracts/NBB.Contracts.Migrations/NBB.Contracts.Migrations.csproj
index 4bb35710..864d1674 100644
--- a/samples/MicroServices/NBB.Contracts/NBB.Contracts.Migrations/NBB.Contracts.Migrations.csproj
+++ b/samples/MicroServices/NBB.Contracts/NBB.Contracts.Migrations/NBB.Contracts.Migrations.csproj
@@ -9,7 +9,7 @@
Exe
- net8.0
+ net9.0
NBB_Contracts_6a73f87d-2175-4be0-9a42-31cb73bc8e10
diff --git a/samples/MicroServices/NBB.Contracts/NBB.Contracts.PublishedLanguage/NBB.Contracts.PublishedLanguage.csproj b/samples/MicroServices/NBB.Contracts/NBB.Contracts.PublishedLanguage/NBB.Contracts.PublishedLanguage.csproj
index ef5f4f84..e53bc46b 100644
--- a/samples/MicroServices/NBB.Contracts/NBB.Contracts.PublishedLanguage/NBB.Contracts.PublishedLanguage.csproj
+++ b/samples/MicroServices/NBB.Contracts/NBB.Contracts.PublishedLanguage/NBB.Contracts.PublishedLanguage.csproj
@@ -8,7 +8,7 @@
- net8.0
+ net9.0
diff --git a/samples/MicroServices/NBB.Contracts/NBB.Contracts.ReadModel.Data/NBB.Contracts.ReadModel.Data.csproj b/samples/MicroServices/NBB.Contracts/NBB.Contracts.ReadModel.Data/NBB.Contracts.ReadModel.Data.csproj
index 93dd6a6a..b8f3101b 100644
--- a/samples/MicroServices/NBB.Contracts/NBB.Contracts.ReadModel.Data/NBB.Contracts.ReadModel.Data.csproj
+++ b/samples/MicroServices/NBB.Contracts/NBB.Contracts.ReadModel.Data/NBB.Contracts.ReadModel.Data.csproj
@@ -8,7 +8,7 @@
- net8.0
+ net9.0
diff --git a/samples/MicroServices/NBB.Contracts/NBB.Contracts.ReadModel/NBB.Contracts.ReadModel.csproj b/samples/MicroServices/NBB.Contracts/NBB.Contracts.ReadModel/NBB.Contracts.ReadModel.csproj
index 5856dd07..f9bf3157 100644
--- a/samples/MicroServices/NBB.Contracts/NBB.Contracts.ReadModel/NBB.Contracts.ReadModel.csproj
+++ b/samples/MicroServices/NBB.Contracts/NBB.Contracts.ReadModel/NBB.Contracts.ReadModel.csproj
@@ -8,7 +8,7 @@
- net8.0
+ net9.0
diff --git a/samples/MicroServices/NBB.Contracts/NBB.Contracts.Worker/NBB.Contracts.Worker.csproj b/samples/MicroServices/NBB.Contracts/NBB.Contracts.Worker/NBB.Contracts.Worker.csproj
index 2a657132..2510f0cd 100644
--- a/samples/MicroServices/NBB.Contracts/NBB.Contracts.Worker/NBB.Contracts.Worker.csproj
+++ b/samples/MicroServices/NBB.Contracts/NBB.Contracts.Worker/NBB.Contracts.Worker.csproj
@@ -1,70 +1,70 @@
-
-
-
- SAK
- SAK
- SAK
- SAK
-
-
-
- Exe
- net8.0
- NBB_Contracts_6a73f87d-2175-4be0-9a42-31cb73bc8e10
- Linux
- ..\..\..\..
-
-
-
- 1701;1702;1705;NU1701
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Always
-
-
- Always
-
-
-
-
+
+
+
+ SAK
+ SAK
+ SAK
+ SAK
+
+
+
+ Exe
+ net9.0
+ NBB_Contracts_6a73f87d-2175-4be0-9a42-31cb73bc8e10
+ Linux
+ ..\..\..\..
+
+
+
+ 1701;1702;1705;NU1701
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Always
+
+
+ Always
+
+
+
+
diff --git a/samples/MicroServices/NBB.Contracts/NBB.Contracts.WriteModel.Data/NBB.Contracts.WriteModel.Data.csproj b/samples/MicroServices/NBB.Contracts/NBB.Contracts.WriteModel.Data/NBB.Contracts.WriteModel.Data.csproj
index aca85be8..87f1807a 100644
--- a/samples/MicroServices/NBB.Contracts/NBB.Contracts.WriteModel.Data/NBB.Contracts.WriteModel.Data.csproj
+++ b/samples/MicroServices/NBB.Contracts/NBB.Contracts.WriteModel.Data/NBB.Contracts.WriteModel.Data.csproj
@@ -8,7 +8,7 @@
- net8.0
+ net9.0
diff --git a/samples/MicroServices/NBB.Invoices.FSharp/NBB.Invoices.FSharp.Api/NBB.Invoices.FSharp.Api.fsproj b/samples/MicroServices/NBB.Invoices.FSharp/NBB.Invoices.FSharp.Api/NBB.Invoices.FSharp.Api.fsproj
index 000bbecf..f7661ccf 100644
--- a/samples/MicroServices/NBB.Invoices.FSharp/NBB.Invoices.FSharp.Api/NBB.Invoices.FSharp.Api.fsproj
+++ b/samples/MicroServices/NBB.Invoices.FSharp/NBB.Invoices.FSharp.Api/NBB.Invoices.FSharp.Api.fsproj
@@ -1,7 +1,7 @@
- net8.0
+ net9.0
NBB_Invoices_c9e28d3a-7681-452a-9dbe-a52a9b6a0900
@@ -12,7 +12,7 @@
-
+
diff --git a/samples/MicroServices/NBB.Invoices.FSharp/NBB.Invoices.FSharp.Worker/NBB.Invoices.FSharp.Worker.fsproj b/samples/MicroServices/NBB.Invoices.FSharp/NBB.Invoices.FSharp.Worker/NBB.Invoices.FSharp.Worker.fsproj
index 255fc07e..2713e34a 100644
--- a/samples/MicroServices/NBB.Invoices.FSharp/NBB.Invoices.FSharp.Worker/NBB.Invoices.FSharp.Worker.fsproj
+++ b/samples/MicroServices/NBB.Invoices.FSharp/NBB.Invoices.FSharp.Worker/NBB.Invoices.FSharp.Worker.fsproj
@@ -2,7 +2,7 @@
Exe
- net8.0
+ net9.0
NBB_Invoices_c9e28d3a-7681-452a-9dbe-a52a9b6a0900
diff --git a/samples/MicroServices/NBB.Invoices.FSharp/NBB.Invoices.FSharp/NBB.Invoices.FSharp.fsproj b/samples/MicroServices/NBB.Invoices.FSharp/NBB.Invoices.FSharp/NBB.Invoices.FSharp.fsproj
index bec85e8a..49fd1f6e 100644
--- a/samples/MicroServices/NBB.Invoices.FSharp/NBB.Invoices.FSharp/NBB.Invoices.FSharp.fsproj
+++ b/samples/MicroServices/NBB.Invoices.FSharp/NBB.Invoices.FSharp/NBB.Invoices.FSharp.fsproj
@@ -1,7 +1,7 @@
- net8.0
+ net9.0
diff --git a/samples/MicroServices/NBB.Invoices/NBB.Invoices.Api/NBB.Invoices.Api.csproj b/samples/MicroServices/NBB.Invoices/NBB.Invoices.Api/NBB.Invoices.Api.csproj
index f7868337..1a301788 100644
--- a/samples/MicroServices/NBB.Invoices/NBB.Invoices.Api/NBB.Invoices.Api.csproj
+++ b/samples/MicroServices/NBB.Invoices/NBB.Invoices.Api/NBB.Invoices.Api.csproj
@@ -8,7 +8,7 @@
- net8.0
+ net9.0
..\docker-compose.dcproj
NBB_Invoices_c9e28d3a-7681-452a-9dbe-a52a9b6a0900
diff --git a/samples/MicroServices/NBB.Invoices/NBB.Invoices.Application/NBB.Invoices.Application.csproj b/samples/MicroServices/NBB.Invoices/NBB.Invoices.Application/NBB.Invoices.Application.csproj
index c6f1ae2e..aa6fbffe 100644
--- a/samples/MicroServices/NBB.Invoices/NBB.Invoices.Application/NBB.Invoices.Application.csproj
+++ b/samples/MicroServices/NBB.Invoices/NBB.Invoices.Application/NBB.Invoices.Application.csproj
@@ -8,7 +8,7 @@
- net8.0
+ net9.0
diff --git a/samples/MicroServices/NBB.Invoices/NBB.Invoices.Data/NBB.Invoices.Data.csproj b/samples/MicroServices/NBB.Invoices/NBB.Invoices.Data/NBB.Invoices.Data.csproj
index b7d409a9..a1db7dcb 100644
--- a/samples/MicroServices/NBB.Invoices/NBB.Invoices.Data/NBB.Invoices.Data.csproj
+++ b/samples/MicroServices/NBB.Invoices/NBB.Invoices.Data/NBB.Invoices.Data.csproj
@@ -8,7 +8,7 @@
- net8.0
+ net9.0
diff --git a/samples/MicroServices/NBB.Invoices/NBB.Invoices.Domain/NBB.Invoices.Domain.csproj b/samples/MicroServices/NBB.Invoices/NBB.Invoices.Domain/NBB.Invoices.Domain.csproj
index abaee232..85185859 100644
--- a/samples/MicroServices/NBB.Invoices/NBB.Invoices.Domain/NBB.Invoices.Domain.csproj
+++ b/samples/MicroServices/NBB.Invoices/NBB.Invoices.Domain/NBB.Invoices.Domain.csproj
@@ -8,7 +8,7 @@
- net8.0
+ net9.0
diff --git a/samples/MicroServices/NBB.Invoices/NBB.Invoices.Migrations/NBB.Invoices.Migrations.csproj b/samples/MicroServices/NBB.Invoices/NBB.Invoices.Migrations/NBB.Invoices.Migrations.csproj
index df6625d3..f145230c 100644
--- a/samples/MicroServices/NBB.Invoices/NBB.Invoices.Migrations/NBB.Invoices.Migrations.csproj
+++ b/samples/MicroServices/NBB.Invoices/NBB.Invoices.Migrations/NBB.Invoices.Migrations.csproj
@@ -9,7 +9,7 @@
Exe
- net8.0
+ net9.0
NBB_Invoices_c9e28d3a-7681-452a-9dbe-a52a9b6a0900
diff --git a/samples/MicroServices/NBB.Invoices/NBB.Invoices.PublishedLanguage/NBB.Invoices.PublishedLanguage.csproj b/samples/MicroServices/NBB.Invoices/NBB.Invoices.PublishedLanguage/NBB.Invoices.PublishedLanguage.csproj
index ef5f4f84..e53bc46b 100644
--- a/samples/MicroServices/NBB.Invoices/NBB.Invoices.PublishedLanguage/NBB.Invoices.PublishedLanguage.csproj
+++ b/samples/MicroServices/NBB.Invoices/NBB.Invoices.PublishedLanguage/NBB.Invoices.PublishedLanguage.csproj
@@ -8,7 +8,7 @@
- net8.0
+ net9.0
diff --git a/samples/MicroServices/NBB.Invoices/NBB.Invoices.Worker/NBB.Invoices.Worker.csproj b/samples/MicroServices/NBB.Invoices/NBB.Invoices.Worker/NBB.Invoices.Worker.csproj
index 7306d1cf..c5388070 100644
--- a/samples/MicroServices/NBB.Invoices/NBB.Invoices.Worker/NBB.Invoices.Worker.csproj
+++ b/samples/MicroServices/NBB.Invoices/NBB.Invoices.Worker/NBB.Invoices.Worker.csproj
@@ -9,7 +9,7 @@
Exe
- net8.0
+ net9.0
NBB_Invoices_c9e28d3a-7681-452a-9dbe-a52a9b6a0900
diff --git a/samples/MicroServices/NBB.MicroServicesOrchestration/NBB.MicroServicesOrchestration.csproj b/samples/MicroServices/NBB.MicroServicesOrchestration/NBB.MicroServicesOrchestration.csproj
index 9d2c9d01..70806e79 100644
--- a/samples/MicroServices/NBB.MicroServicesOrchestration/NBB.MicroServicesOrchestration.csproj
+++ b/samples/MicroServices/NBB.MicroServicesOrchestration/NBB.MicroServicesOrchestration.csproj
@@ -1,43 +1,43 @@
-
-
-
- Exe
- net8.0
- NBB_Orchestration_a3e28d3a-7681-452a-9dbe-a52a9b6a0854
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Always
-
-
-
-
+
+
+
+ Exe
+ net9.0
+ NBB_Orchestration_a3e28d3a-7681-452a-9dbe-a52a9b6a0854
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Always
+
+
+
+
diff --git a/samples/MicroServices/NBB.Payments/NBB.Payments.Api/NBB.Payments.Api.csproj b/samples/MicroServices/NBB.Payments/NBB.Payments.Api/NBB.Payments.Api.csproj
index 3b48040f..9e4f840d 100644
--- a/samples/MicroServices/NBB.Payments/NBB.Payments.Api/NBB.Payments.Api.csproj
+++ b/samples/MicroServices/NBB.Payments/NBB.Payments.Api/NBB.Payments.Api.csproj
@@ -8,7 +8,7 @@
- net8.0
+ net9.0
..\..\..\..\docker-compose.dcproj
NBB_Payments_65e4fd90-1fb9-4806-9e38-5d70466ad364
diff --git a/samples/MicroServices/NBB.Payments/NBB.Payments.Application/NBB.Payments.Application.csproj b/samples/MicroServices/NBB.Payments/NBB.Payments.Application/NBB.Payments.Application.csproj
index 7cb0401e..da30418e 100644
--- a/samples/MicroServices/NBB.Payments/NBB.Payments.Application/NBB.Payments.Application.csproj
+++ b/samples/MicroServices/NBB.Payments/NBB.Payments.Application/NBB.Payments.Application.csproj
@@ -8,7 +8,7 @@
- net8.0
+ net9.0
diff --git a/samples/MicroServices/NBB.Payments/NBB.Payments.Data/NBB.Payments.Data.csproj b/samples/MicroServices/NBB.Payments/NBB.Payments.Data/NBB.Payments.Data.csproj
index f41a397f..80889046 100644
--- a/samples/MicroServices/NBB.Payments/NBB.Payments.Data/NBB.Payments.Data.csproj
+++ b/samples/MicroServices/NBB.Payments/NBB.Payments.Data/NBB.Payments.Data.csproj
@@ -8,7 +8,7 @@
- net8.0
+ net9.0
diff --git a/samples/MicroServices/NBB.Payments/NBB.Payments.Domain/NBB.Payments.Domain.csproj b/samples/MicroServices/NBB.Payments/NBB.Payments.Domain/NBB.Payments.Domain.csproj
index 2d171357..9f812e5a 100644
--- a/samples/MicroServices/NBB.Payments/NBB.Payments.Domain/NBB.Payments.Domain.csproj
+++ b/samples/MicroServices/NBB.Payments/NBB.Payments.Domain/NBB.Payments.Domain.csproj
@@ -8,7 +8,7 @@
- net8.0
+ net9.0
diff --git a/samples/MicroServices/NBB.Payments/NBB.Payments.Migrations/NBB.Payments.Migrations.csproj b/samples/MicroServices/NBB.Payments/NBB.Payments.Migrations/NBB.Payments.Migrations.csproj
index afd3a003..8b05053f 100644
--- a/samples/MicroServices/NBB.Payments/NBB.Payments.Migrations/NBB.Payments.Migrations.csproj
+++ b/samples/MicroServices/NBB.Payments/NBB.Payments.Migrations/NBB.Payments.Migrations.csproj
@@ -9,7 +9,7 @@
Exe
- net8.0
+ net9.0
NBB_Payments_65e4fd90-1fb9-4806-9e38-5d70466ad364
diff --git a/samples/MicroServices/NBB.Payments/NBB.Payments.PublishedLanguage/NBB.Payments.PublishedLanguage.csproj b/samples/MicroServices/NBB.Payments/NBB.Payments.PublishedLanguage/NBB.Payments.PublishedLanguage.csproj
index 89f7549e..74909654 100644
--- a/samples/MicroServices/NBB.Payments/NBB.Payments.PublishedLanguage/NBB.Payments.PublishedLanguage.csproj
+++ b/samples/MicroServices/NBB.Payments/NBB.Payments.PublishedLanguage/NBB.Payments.PublishedLanguage.csproj
@@ -8,7 +8,7 @@
- net8.0
+ net9.0
diff --git a/samples/MicroServices/NBB.Payments/NBB.Payments.Worker/NBB.Payments.Worker.csproj b/samples/MicroServices/NBB.Payments/NBB.Payments.Worker/NBB.Payments.Worker.csproj
index dbce973c..a835ff0f 100644
--- a/samples/MicroServices/NBB.Payments/NBB.Payments.Worker/NBB.Payments.Worker.csproj
+++ b/samples/MicroServices/NBB.Payments/NBB.Payments.Worker/NBB.Payments.Worker.csproj
@@ -9,7 +9,7 @@
Exe
- net8.0
+ net9.0
NBB_Payments_65e4fd90-1fb9-4806-9e38-5d70466ad364
diff --git a/samples/Monolith/NBB.Mono.Migrations/NBB.Mono.Migrations.csproj b/samples/Monolith/NBB.Mono.Migrations/NBB.Mono.Migrations.csproj
index a766b6b7..4d931928 100644
--- a/samples/Monolith/NBB.Mono.Migrations/NBB.Mono.Migrations.csproj
+++ b/samples/Monolith/NBB.Mono.Migrations/NBB.Mono.Migrations.csproj
@@ -9,7 +9,7 @@
Exe
- net8.0
+ net9.0
NBB_Mono_04f3de64-51a9-466b-a489-ed331aba59c8
diff --git a/samples/Monolith/NBB.Mono/NBB.Mono.csproj b/samples/Monolith/NBB.Mono/NBB.Mono.csproj
index 2ff22bda..283657c6 100644
--- a/samples/Monolith/NBB.Mono/NBB.Mono.csproj
+++ b/samples/Monolith/NBB.Mono/NBB.Mono.csproj
@@ -8,7 +8,7 @@
- net8.0
+ net9.0
..\..\MicroServices\docker-compose.dcproj
NBB_Mono_04f3de64-51a9-466b-a489-ed331aba59c8
diff --git a/samples/MultiTenancy/NBB.Todo.Api/NBB.Todo.Api.csproj b/samples/MultiTenancy/NBB.Todo.Api/NBB.Todo.Api.csproj
index e5000e01..f7d5da55 100644
--- a/samples/MultiTenancy/NBB.Todo.Api/NBB.Todo.Api.csproj
+++ b/samples/MultiTenancy/NBB.Todo.Api/NBB.Todo.Api.csproj
@@ -1,41 +1,41 @@
-
-
-
- net8.0
- NBB_Todo_a9328d3a-7681-452a-9dbe-a52a9b6a0593
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+ net9.0
+ NBB_Todo_a9328d3a-7681-452a-9dbe-a52a9b6a0593
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/samples/MultiTenancy/NBB.Todo.Data/NBB.Todo.Data.csproj b/samples/MultiTenancy/NBB.Todo.Data/NBB.Todo.Data.csproj
index c83f2b53..cecc8571 100644
--- a/samples/MultiTenancy/NBB.Todo.Data/NBB.Todo.Data.csproj
+++ b/samples/MultiTenancy/NBB.Todo.Data/NBB.Todo.Data.csproj
@@ -1,17 +1,17 @@
-
-
-
- net8.0
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+ net9.0
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/samples/MultiTenancy/NBB.Todo.Migrations/NBB.Todo.Migrations.csproj b/samples/MultiTenancy/NBB.Todo.Migrations/NBB.Todo.Migrations.csproj
index f190a4af..57100e95 100644
--- a/samples/MultiTenancy/NBB.Todo.Migrations/NBB.Todo.Migrations.csproj
+++ b/samples/MultiTenancy/NBB.Todo.Migrations/NBB.Todo.Migrations.csproj
@@ -1,26 +1,26 @@
-
-
-
- Exe
- net8.0
- NBB_Todo_a9328d3a-7681-452a-9dbe-a52a9b6a0593
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Always
-
-
+
+
+
+ Exe
+ net9.0
+ NBB_Todo_a9328d3a-7681-452a-9dbe-a52a9b6a0593
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Always
+
+
\ No newline at end of file
diff --git a/samples/MultiTenancy/NBB.Todo.PublishedLanguage/NBB.Todo.PublishedLanguage.csproj b/samples/MultiTenancy/NBB.Todo.PublishedLanguage/NBB.Todo.PublishedLanguage.csproj
index dc93ab67..d2954974 100644
--- a/samples/MultiTenancy/NBB.Todo.PublishedLanguage/NBB.Todo.PublishedLanguage.csproj
+++ b/samples/MultiTenancy/NBB.Todo.PublishedLanguage/NBB.Todo.PublishedLanguage.csproj
@@ -1,11 +1,11 @@
-
-
-
- net8.0
-
-
-
-
-
-
-
+
+
+
+ net9.0
+
+
+
+
+
+
+
diff --git a/samples/MultiTenancy/NBB.Todo.Worker/NBB.Todo.Worker.csproj b/samples/MultiTenancy/NBB.Todo.Worker/NBB.Todo.Worker.csproj
index 6e3f669c..7e7111bd 100644
--- a/samples/MultiTenancy/NBB.Todo.Worker/NBB.Todo.Worker.csproj
+++ b/samples/MultiTenancy/NBB.Todo.Worker/NBB.Todo.Worker.csproj
@@ -1,56 +1,56 @@
-
-
-
-
- net8.0
- Linux
- NBB_Todo_a9328d3a-7681-452a-9dbe-a52a9b6a0593
- Exe
-
-
-
-
- PreserveNewest
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+ net9.0
+ Linux
+ NBB_Todo_a9328d3a-7681-452a-9dbe-a52a9b6a0593
+ Exe
+
+
+
+
+ PreserveNewest
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/samples/Orchestration/ProcessManagerSample/ProcessManagerSample.csproj b/samples/Orchestration/ProcessManagerSample/ProcessManagerSample.csproj
index bd3fcd77..e52939ad 100644
--- a/samples/Orchestration/ProcessManagerSample/ProcessManagerSample.csproj
+++ b/samples/Orchestration/ProcessManagerSample/ProcessManagerSample.csproj
@@ -2,13 +2,12 @@
Exe
- net8.0
+ net9.0
NBB_ProcessManager_6573f87d-2175-4be0-9a42-31cb73bc8e19
-
-
+
@@ -18,7 +17,7 @@
-
+
diff --git a/src/Application/NBB.Application.DataContracts.Schema/NBB.Application.DataContracts.Schema.csproj b/src/Application/NBB.Application.DataContracts.Schema/NBB.Application.DataContracts.Schema.csproj
index 9df9636c..4bd5e590 100644
--- a/src/Application/NBB.Application.DataContracts.Schema/NBB.Application.DataContracts.Schema.csproj
+++ b/src/Application/NBB.Application.DataContracts.Schema/NBB.Application.DataContracts.Schema.csproj
@@ -8,7 +8,7 @@
- net8.0
+ net9.0
Data contracts for CQ(R)S applications.
diff --git a/src/Application/NBB.Application.DataContracts/NBB.Application.DataContracts.csproj b/src/Application/NBB.Application.DataContracts/NBB.Application.DataContracts.csproj
index 89b31e12..a924b1b5 100644
--- a/src/Application/NBB.Application.DataContracts/NBB.Application.DataContracts.csproj
+++ b/src/Application/NBB.Application.DataContracts/NBB.Application.DataContracts.csproj
@@ -1,7 +1,7 @@
- net8.0
+ net9.0
Legacy code for compatibiltity with NBB 4.x. Reference this package only to support published language assemblies compiled against NBB 4
diff --git a/src/Application/NBB.Application.DataContracts/Readme.md b/src/Application/NBB.Application.DataContracts/Readme.md
index f751c517..ec811797 100644
--- a/src/Application/NBB.Application.DataContracts/Readme.md
+++ b/src/Application/NBB.Application.DataContracts/Readme.md
@@ -35,7 +35,7 @@ namespace ServiceA.PublishedLanguage.Commands
- net8.0
+ net9.0
diff --git a/src/Application/NBB.Application.MediatR.Effects/NBB.Application.MediatR.Effects.csproj b/src/Application/NBB.Application.MediatR.Effects/NBB.Application.MediatR.Effects.csproj
index 374c2f39..0c0689a1 100644
--- a/src/Application/NBB.Application.MediatR.Effects/NBB.Application.MediatR.Effects.csproj
+++ b/src/Application/NBB.Application.MediatR.Effects/NBB.Application.MediatR.Effects.csproj
@@ -1,7 +1,7 @@
- net8.0
+ net9.0
diff --git a/src/Application/NBB.Application.MediatR/NBB.Application.MediatR.csproj b/src/Application/NBB.Application.MediatR/NBB.Application.MediatR.csproj
index 4ca33e3b..3dcde724 100644
--- a/src/Application/NBB.Application.MediatR/NBB.Application.MediatR.csproj
+++ b/src/Application/NBB.Application.MediatR/NBB.Application.MediatR.csproj
@@ -8,7 +8,7 @@
- net8.0
+ net9.0
Data contracts for CQ(R)S applications.
diff --git a/src/Application/NBB.Application.Mediator.FSharp/NBB.Application.Mediator.FSharp.fsproj b/src/Application/NBB.Application.Mediator.FSharp/NBB.Application.Mediator.FSharp.fsproj
index fe623413..d15052ab 100644
--- a/src/Application/NBB.Application.Mediator.FSharp/NBB.Application.Mediator.FSharp.fsproj
+++ b/src/Application/NBB.Application.Mediator.FSharp/NBB.Application.Mediator.FSharp.fsproj
@@ -1,7 +1,7 @@
- net8.0
+ net9.0
diff --git a/src/Core/NBB.Core.Abstractions/NBB.Core.Abstractions.csproj b/src/Core/NBB.Core.Abstractions/NBB.Core.Abstractions.csproj
index 4527560e..9b70f29a 100644
--- a/src/Core/NBB.Core.Abstractions/NBB.Core.Abstractions.csproj
+++ b/src/Core/NBB.Core.Abstractions/NBB.Core.Abstractions.csproj
@@ -8,7 +8,7 @@
- net8.0
+ net9.0
This package provides cross-cutting abstractions and type extensions that other packages rely upon. The interfaces of this package are not intended to be directly referenced by the end-consumer.
diff --git a/src/Core/NBB.Core.Configuration/NBB.Core.Configuration.csproj b/src/Core/NBB.Core.Configuration/NBB.Core.Configuration.csproj
index fb52b521..96d1d007 100644
--- a/src/Core/NBB.Core.Configuration/NBB.Core.Configuration.csproj
+++ b/src/Core/NBB.Core.Configuration/NBB.Core.Configuration.csproj
@@ -1,16 +1,16 @@
-
-
-
- net8.0
- enable
- enable
-
-
-
-
-
-
-
-
-
-
+
+
+
+ net9.0
+ enable
+ enable
+
+
+
+
+
+
+
+
+
+
diff --git a/src/Core/NBB.Core.DependencyInjection/NBB.Core.DependencyInjection.csproj b/src/Core/NBB.Core.DependencyInjection/NBB.Core.DependencyInjection.csproj
index 8510dbcc..f1180983 100644
--- a/src/Core/NBB.Core.DependencyInjection/NBB.Core.DependencyInjection.csproj
+++ b/src/Core/NBB.Core.DependencyInjection/NBB.Core.DependencyInjection.csproj
@@ -1,12 +1,12 @@
- net8.0
+ net9.0
Asp.Net DI and Scrutor missing features
-
+
diff --git a/src/Core/NBB.Core.Effects.FSharp/NBB.Core.Effects.FSharp.fsproj b/src/Core/NBB.Core.Effects.FSharp/NBB.Core.Effects.FSharp.fsproj
index f5cfe525..ae2501f5 100644
--- a/src/Core/NBB.Core.Effects.FSharp/NBB.Core.Effects.FSharp.fsproj
+++ b/src/Core/NBB.Core.Effects.FSharp/NBB.Core.Effects.FSharp.fsproj
@@ -1,7 +1,7 @@
- net8.0
+ net9.0
diff --git a/src/Core/NBB.Core.Effects/NBB.Core.Effects.csproj b/src/Core/NBB.Core.Effects/NBB.Core.Effects.csproj
index 94488dc6..2147bde8 100644
--- a/src/Core/NBB.Core.Effects/NBB.Core.Effects.csproj
+++ b/src/Core/NBB.Core.Effects/NBB.Core.Effects.csproj
@@ -1,7 +1,7 @@
- net8.0
+ net9.0
diff --git a/src/Core/NBB.Core.Evented.FSharp/NBB.Core.Evented.FSharp.fsproj b/src/Core/NBB.Core.Evented.FSharp/NBB.Core.Evented.FSharp.fsproj
index c93ca17a..33e3b8ea 100644
--- a/src/Core/NBB.Core.Evented.FSharp/NBB.Core.Evented.FSharp.fsproj
+++ b/src/Core/NBB.Core.Evented.FSharp/NBB.Core.Evented.FSharp.fsproj
@@ -1,7 +1,7 @@
- net8.0
+ net9.0
diff --git a/src/Core/NBB.Core.FSharp/NBB.Core.FSharp.fsproj b/src/Core/NBB.Core.FSharp/NBB.Core.FSharp.fsproj
index 73a4f06a..6e8cccc0 100644
--- a/src/Core/NBB.Core.FSharp/NBB.Core.FSharp.fsproj
+++ b/src/Core/NBB.Core.FSharp/NBB.Core.FSharp.fsproj
@@ -1,7 +1,7 @@
- net8.0
+ net9.0
diff --git a/src/Core/NBB.Core.Pipeline/NBB.Core.Pipeline.csproj b/src/Core/NBB.Core.Pipeline/NBB.Core.Pipeline.csproj
index 76ae7df4..8abb5de5 100644
--- a/src/Core/NBB.Core.Pipeline/NBB.Core.Pipeline.csproj
+++ b/src/Core/NBB.Core.Pipeline/NBB.Core.Pipeline.csproj
@@ -1,12 +1,12 @@
-
-
-
- net8.0
- Generic pipeline
-
-
-
-
-
-
-
+
+
+
+ net9.0
+ Generic pipeline
+
+
+
+
+
+
+
diff --git a/src/Correlation/NBB.Correlation.AspNet/NBB.Correlation.AspNet.csproj b/src/Correlation/NBB.Correlation.AspNet/NBB.Correlation.AspNet.csproj
index 68a28109..b6e0da83 100644
--- a/src/Correlation/NBB.Correlation.AspNet/NBB.Correlation.AspNet.csproj
+++ b/src/Correlation/NBB.Correlation.AspNet/NBB.Correlation.AspNet.csproj
@@ -7,7 +7,7 @@
- net8.0
+ net9.0
Correlation middleware for Asp.Net Core
diff --git a/src/Correlation/NBB.Correlation.Serilog.SqlServer/NBB.Correlation.Serilog.SqlServer.csproj b/src/Correlation/NBB.Correlation.Serilog.SqlServer/NBB.Correlation.Serilog.SqlServer.csproj
index 34ef0a20..c8dc119b 100644
--- a/src/Correlation/NBB.Correlation.Serilog.SqlServer/NBB.Correlation.Serilog.SqlServer.csproj
+++ b/src/Correlation/NBB.Correlation.Serilog.SqlServer/NBB.Correlation.Serilog.SqlServer.csproj
@@ -8,7 +8,7 @@
- net8.0
+ net9.0
Extensions for creating new columns in sql Server for Serilog Table
diff --git a/src/Correlation/NBB.Correlation.Serilog/NBB.Correlation.Serilog.csproj b/src/Correlation/NBB.Correlation.Serilog/NBB.Correlation.Serilog.csproj
index a6530f2a..a62d072a 100644
--- a/src/Correlation/NBB.Correlation.Serilog/NBB.Correlation.Serilog.csproj
+++ b/src/Correlation/NBB.Correlation.Serilog/NBB.Correlation.Serilog.csproj
@@ -8,7 +8,7 @@
- net8.0
+ net9.0
Serilog enrichers for Correlation package
diff --git a/src/Correlation/NBB.Correlation/NBB.Correlation.csproj b/src/Correlation/NBB.Correlation/NBB.Correlation.csproj
index cf13924c..8321ae21 100644
--- a/src/Correlation/NBB.Correlation/NBB.Correlation.csproj
+++ b/src/Correlation/NBB.Correlation/NBB.Correlation.csproj
@@ -8,7 +8,7 @@
- net8.0
+ net9.0
Correlation infrastructure for distributed systems
diff --git a/src/Data/NBB.Data.Abstractions/NBB.Data.Abstractions.csproj b/src/Data/NBB.Data.Abstractions/NBB.Data.Abstractions.csproj
index 8e7cfa69..e5653b68 100644
--- a/src/Data/NBB.Data.Abstractions/NBB.Data.Abstractions.csproj
+++ b/src/Data/NBB.Data.Abstractions/NBB.Data.Abstractions.csproj
@@ -1,7 +1,7 @@
- net8.0
+ net9.0
This package contains some lightweight data access abstractions
diff --git a/src/Data/NBB.Data.EntityFramework.MultiTenancy/NBB.Data.EntityFramework.MultiTenancy.csproj b/src/Data/NBB.Data.EntityFramework.MultiTenancy/NBB.Data.EntityFramework.MultiTenancy.csproj
index baa78267..82d7a7aa 100644
--- a/src/Data/NBB.Data.EntityFramework.MultiTenancy/NBB.Data.EntityFramework.MultiTenancy.csproj
+++ b/src/Data/NBB.Data.EntityFramework.MultiTenancy/NBB.Data.EntityFramework.MultiTenancy.csproj
@@ -1,7 +1,7 @@
- net8.0
+ net9.0
diff --git a/src/Data/NBB.Data.EntityFramework/NBB.Data.EntityFramework.csproj b/src/Data/NBB.Data.EntityFramework/NBB.Data.EntityFramework.csproj
index 2b2621cc..cab7a444 100644
--- a/src/Data/NBB.Data.EntityFramework/NBB.Data.EntityFramework.csproj
+++ b/src/Data/NBB.Data.EntityFramework/NBB.Data.EntityFramework.csproj
@@ -8,7 +8,7 @@
- net8.0
+ net9.0
An Entity Framework data access for general use.
diff --git a/src/Data/NBB.Data.EventSourcing/NBB.Data.EventSourcing.csproj b/src/Data/NBB.Data.EventSourcing/NBB.Data.EventSourcing.csproj
index 79b7e909..6e605fb6 100644
--- a/src/Data/NBB.Data.EventSourcing/NBB.Data.EventSourcing.csproj
+++ b/src/Data/NBB.Data.EventSourcing/NBB.Data.EventSourcing.csproj
@@ -8,7 +8,7 @@
- net8.0
+ net9.0
Contains data access building blocks for event-sourced aggregates.
diff --git a/src/Domain/NBB.Domain.Abstractions/NBB.Domain.Abstractions.csproj b/src/Domain/NBB.Domain.Abstractions/NBB.Domain.Abstractions.csproj
index 08e6cf16..378ca83b 100644
--- a/src/Domain/NBB.Domain.Abstractions/NBB.Domain.Abstractions.csproj
+++ b/src/Domain/NBB.Domain.Abstractions/NBB.Domain.Abstractions.csproj
@@ -8,7 +8,7 @@
- net8.0
+ net9.0
Some DDD domain buiding blocks abstractions
diff --git a/src/Domain/NBB.Domain/NBB.Domain.csproj b/src/Domain/NBB.Domain/NBB.Domain.csproj
index ede6a44e..bbcbb8cb 100644
--- a/src/Domain/NBB.Domain/NBB.Domain.csproj
+++ b/src/Domain/NBB.Domain/NBB.Domain.csproj
@@ -8,14 +8,14 @@
- net8.0
+ net9.0
A collection of DDD domain building blocks
-
+
diff --git a/src/EventStore/NBB.EventStore.Abstractions/NBB.EventStore.Abstractions.csproj b/src/EventStore/NBB.EventStore.Abstractions/NBB.EventStore.Abstractions.csproj
index c7d23c5c..694126c8 100644
--- a/src/EventStore/NBB.EventStore.Abstractions/NBB.EventStore.Abstractions.csproj
+++ b/src/EventStore/NBB.EventStore.Abstractions/NBB.EventStore.Abstractions.csproj
@@ -8,7 +8,7 @@
- net8.0
+ net9.0
This package should contain common event store abstractions and should be references by event store dependent building blocks.
diff --git a/src/EventStore/NBB.EventStore.AdoNet.Migrations/NBB.EventStore.AdoNet.Migrations.csproj b/src/EventStore/NBB.EventStore.AdoNet.Migrations/NBB.EventStore.AdoNet.Migrations.csproj
index 0db44c56..e3211642 100644
--- a/src/EventStore/NBB.EventStore.AdoNet.Migrations/NBB.EventStore.AdoNet.Migrations.csproj
+++ b/src/EventStore/NBB.EventStore.AdoNet.Migrations/NBB.EventStore.AdoNet.Migrations.csproj
@@ -9,7 +9,7 @@
Exe
- net8.0
+ net9.0
NBB_EventStoreAdoNetMigrations_f43f7048-9bff-4649-881c-97774e23e9f8
diff --git a/src/EventStore/NBB.EventStore.AdoNet.Multitenancy/NBB.EventStore.AdoNet.MultiTenancy.csproj b/src/EventStore/NBB.EventStore.AdoNet.Multitenancy/NBB.EventStore.AdoNet.MultiTenancy.csproj
index ae788cb0..1d0fc2c8 100644
--- a/src/EventStore/NBB.EventStore.AdoNet.Multitenancy/NBB.EventStore.AdoNet.MultiTenancy.csproj
+++ b/src/EventStore/NBB.EventStore.AdoNet.Multitenancy/NBB.EventStore.AdoNet.MultiTenancy.csproj
@@ -8,7 +8,7 @@
- net8.0
+ net9.0
This package contains an event repository built with plain old Ado.Net
diff --git a/src/EventStore/NBB.EventStore.AdoNet/NBB.EventStore.AdoNet.csproj b/src/EventStore/NBB.EventStore.AdoNet/NBB.EventStore.AdoNet.csproj
index 48e9bcdd..a38f6cc8 100644
--- a/src/EventStore/NBB.EventStore.AdoNet/NBB.EventStore.AdoNet.csproj
+++ b/src/EventStore/NBB.EventStore.AdoNet/NBB.EventStore.AdoNet.csproj
@@ -8,7 +8,7 @@
- net8.0
+ net9.0
This package contains an event repository built with plain old Ado.Net
diff --git a/src/EventStore/NBB.EventStore.Effects/NBB.EventStore.Effects.csproj b/src/EventStore/NBB.EventStore.Effects/NBB.EventStore.Effects.csproj
index 843009e9..a422d845 100644
--- a/src/EventStore/NBB.EventStore.Effects/NBB.EventStore.Effects.csproj
+++ b/src/EventStore/NBB.EventStore.Effects/NBB.EventStore.Effects.csproj
@@ -1,7 +1,7 @@
- net8.0
+ net9.0
diff --git a/src/EventStore/NBB.EventStore.InMemory/NBB.EventStore.InMemory.csproj b/src/EventStore/NBB.EventStore.InMemory/NBB.EventStore.InMemory.csproj
index d87a277e..1fc46b31 100644
--- a/src/EventStore/NBB.EventStore.InMemory/NBB.EventStore.InMemory.csproj
+++ b/src/EventStore/NBB.EventStore.InMemory/NBB.EventStore.InMemory.csproj
@@ -1,11 +1,11 @@
-
-
-
- net8.0
-
-
-
-
-
-
-
+
+
+
+ net9.0
+
+
+
+
+
+
+
diff --git a/src/EventStore/NBB.EventStore/NBB.EventStore.csproj b/src/EventStore/NBB.EventStore/NBB.EventStore.csproj
index 3dd3f804..0cf6b6fb 100644
--- a/src/EventStore/NBB.EventStore/NBB.EventStore.csproj
+++ b/src/EventStore/NBB.EventStore/NBB.EventStore.csproj
@@ -8,7 +8,7 @@
- net8.0
+ net9.0
This package contains a modest implementation of an event store.
diff --git a/src/EventStore/NBB.SQLStreamStore.Migrations/NBB.SQLStreamStore.Migrations.csproj b/src/EventStore/NBB.SQLStreamStore.Migrations/NBB.SQLStreamStore.Migrations.csproj
index 7bf73aa9..c0b8dad0 100644
--- a/src/EventStore/NBB.SQLStreamStore.Migrations/NBB.SQLStreamStore.Migrations.csproj
+++ b/src/EventStore/NBB.SQLStreamStore.Migrations/NBB.SQLStreamStore.Migrations.csproj
@@ -9,7 +9,7 @@
Exe
- net8.0
+ net9.0
NBB_SqlStreamStore_Migrations_cc6382af-cd19-4d46-8084-9dca6c4ab82b
@@ -19,10 +19,10 @@
-
-
- PreserveNewest
-
+
+
+ PreserveNewest
+
diff --git a/src/EventStore/NBB.SQLStreamStore/NBB.SQLStreamStore.csproj b/src/EventStore/NBB.SQLStreamStore/NBB.SQLStreamStore.csproj
index 8aa2ee20..f4a4a106 100644
--- a/src/EventStore/NBB.SQLStreamStore/NBB.SQLStreamStore.csproj
+++ b/src/EventStore/NBB.SQLStreamStore/NBB.SQLStreamStore.csproj
@@ -8,7 +8,7 @@
- net8.0
+ net9.0
diff --git a/src/Http/NBB.Http.Effects/NBB.Http.Effects.csproj b/src/Http/NBB.Http.Effects/NBB.Http.Effects.csproj
index 2ef764b7..205c1038 100644
--- a/src/Http/NBB.Http.Effects/NBB.Http.Effects.csproj
+++ b/src/Http/NBB.Http.Effects/NBB.Http.Effects.csproj
@@ -1,7 +1,7 @@
- net8.0
+ net9.0
diff --git a/src/Messaging/NBB.Messaging.Abstractions/NBB.Messaging.Abstractions.csproj b/src/Messaging/NBB.Messaging.Abstractions/NBB.Messaging.Abstractions.csproj
index 94044b7a..a489c247 100644
--- a/src/Messaging/NBB.Messaging.Abstractions/NBB.Messaging.Abstractions.csproj
+++ b/src/Messaging/NBB.Messaging.Abstractions/NBB.Messaging.Abstractions.csproj
@@ -1,33 +1,33 @@
-
-
-
- SAK
- SAK
- SAK
- SAK
-
-
-
- net8.0
- A few lightweight messaging abstractions
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+ SAK
+ SAK
+ SAK
+ SAK
+
+
+
+ net9.0
+ A few lightweight messaging abstractions
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/Messaging/NBB.Messaging.BackwardCompatibility/NBB.Messaging.BackwardCompatibility.csproj b/src/Messaging/NBB.Messaging.BackwardCompatibility/NBB.Messaging.BackwardCompatibility.csproj
index bab06519..1b39a0d8 100644
--- a/src/Messaging/NBB.Messaging.BackwardCompatibility/NBB.Messaging.BackwardCompatibility.csproj
+++ b/src/Messaging/NBB.Messaging.BackwardCompatibility/NBB.Messaging.BackwardCompatibility.csproj
@@ -1,16 +1,16 @@
-
-
-
- net8.0
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+ net9.0
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/Messaging/NBB.Messaging.DataContracts/NBB.Messaging.DataContracts.csproj b/src/Messaging/NBB.Messaging.DataContracts/NBB.Messaging.DataContracts.csproj
index 423fa63e..2d01594e 100644
--- a/src/Messaging/NBB.Messaging.DataContracts/NBB.Messaging.DataContracts.csproj
+++ b/src/Messaging/NBB.Messaging.DataContracts/NBB.Messaging.DataContracts.csproj
@@ -1,12 +1,12 @@
-
-
-
- net8.0
- This package helps us formalize and instrument messaging data contracts.
-
-
-
-
-
-
-
+
+
+
+ net9.0
+ This package helps us formalize and instrument messaging data contracts.
+
+
+
+
+
+
+
diff --git a/src/Messaging/NBB.Messaging.Effects/NBB.Messaging.Effects.csproj b/src/Messaging/NBB.Messaging.Effects/NBB.Messaging.Effects.csproj
index 50ef0049..2fee3dec 100644
--- a/src/Messaging/NBB.Messaging.Effects/NBB.Messaging.Effects.csproj
+++ b/src/Messaging/NBB.Messaging.Effects/NBB.Messaging.Effects.csproj
@@ -1,7 +1,7 @@
- net8.0
+ net9.0
diff --git a/src/Messaging/NBB.Messaging.Host/NBB.Messaging.Host.csproj b/src/Messaging/NBB.Messaging.Host/NBB.Messaging.Host.csproj
index 1901f5c2..28e7d073 100644
--- a/src/Messaging/NBB.Messaging.Host/NBB.Messaging.Host.csproj
+++ b/src/Messaging/NBB.Messaging.Host/NBB.Messaging.Host.csproj
@@ -1,7 +1,7 @@
- net8.0
+ net9.0
Messaging subscriber host
diff --git a/src/Messaging/NBB.Messaging.InProcessMessaging/NBB.Messaging.InProcessMessaging.csproj b/src/Messaging/NBB.Messaging.InProcessMessaging/NBB.Messaging.InProcessMessaging.csproj
index 1f82719e..f4472b45 100644
--- a/src/Messaging/NBB.Messaging.InProcessMessaging/NBB.Messaging.InProcessMessaging.csproj
+++ b/src/Messaging/NBB.Messaging.InProcessMessaging/NBB.Messaging.InProcessMessaging.csproj
@@ -8,7 +8,7 @@
- net8.0
+ net9.0
InProcessMessaging provides in process comunication for Monolithic applications composed from decoupled bounded contexts
diff --git a/src/Messaging/NBB.Messaging.JetStream/NBB.Messaging.JetStream.csproj b/src/Messaging/NBB.Messaging.JetStream/NBB.Messaging.JetStream.csproj
index 9b5a2db4..fbc7018e 100644
--- a/src/Messaging/NBB.Messaging.JetStream/NBB.Messaging.JetStream.csproj
+++ b/src/Messaging/NBB.Messaging.JetStream/NBB.Messaging.JetStream.csproj
@@ -8,7 +8,7 @@
- net8.0
+ net9.0
Nats JetStream messaging
@@ -19,7 +19,7 @@
-
+
diff --git a/src/Messaging/NBB.Messaging.MultiTenancy/NBB.Messaging.MultiTenancy.csproj b/src/Messaging/NBB.Messaging.MultiTenancy/NBB.Messaging.MultiTenancy.csproj
index 5dbd641f..42c51989 100644
--- a/src/Messaging/NBB.Messaging.MultiTenancy/NBB.Messaging.MultiTenancy.csproj
+++ b/src/Messaging/NBB.Messaging.MultiTenancy/NBB.Messaging.MultiTenancy.csproj
@@ -1,21 +1,21 @@
-
-
-
- net8.0
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+ net9.0
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/Messaging/NBB.Messaging.Nats/NBB.Messaging.Nats.csproj b/src/Messaging/NBB.Messaging.Nats/NBB.Messaging.Nats.csproj
index bf6ea618..2aba84c8 100644
--- a/src/Messaging/NBB.Messaging.Nats/NBB.Messaging.Nats.csproj
+++ b/src/Messaging/NBB.Messaging.Nats/NBB.Messaging.Nats.csproj
@@ -1,34 +1,34 @@
-
-
-
- SAK
- SAK
- SAK
- SAK
-
-
-
- net8.0
- Nats messaging
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+ SAK
+ SAK
+ SAK
+ SAK
+
+
+
+ net9.0
+ Nats messaging
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/Messaging/NBB.Messaging.Noop/NBB.Messaging.Noop.csproj b/src/Messaging/NBB.Messaging.Noop/NBB.Messaging.Noop.csproj
index ba6ccb67..678ce149 100644
--- a/src/Messaging/NBB.Messaging.Noop/NBB.Messaging.Noop.csproj
+++ b/src/Messaging/NBB.Messaging.Noop/NBB.Messaging.Noop.csproj
@@ -8,7 +8,7 @@
- net8.0
+ net9.0
Noop messaging
diff --git a/src/Messaging/NBB.Messaging.OpenTelemetry/NBB.Messaging.OpenTelemetry.csproj b/src/Messaging/NBB.Messaging.OpenTelemetry/NBB.Messaging.OpenTelemetry.csproj
index f53ccf13..17f76f93 100644
--- a/src/Messaging/NBB.Messaging.OpenTelemetry/NBB.Messaging.OpenTelemetry.csproj
+++ b/src/Messaging/NBB.Messaging.OpenTelemetry/NBB.Messaging.OpenTelemetry.csproj
@@ -1,20 +1,20 @@
-
-
-
- net8.0
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+ net9.0
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/Messaging/NBB.Messaging.OpenTelemetry/Publisher/OpenTelemetryPublisherDecorator.cs b/src/Messaging/NBB.Messaging.OpenTelemetry/Publisher/OpenTelemetryPublisherDecorator.cs
index d7093c7c..6ac2598e 100644
--- a/src/Messaging/NBB.Messaging.OpenTelemetry/Publisher/OpenTelemetryPublisherDecorator.cs
+++ b/src/Messaging/NBB.Messaging.OpenTelemetry/Publisher/OpenTelemetryPublisherDecorator.cs
@@ -63,7 +63,7 @@ await _inner.PublishAsync(message, options with { EnvelopeCustomizer = NewCustom
catch (Exception exception)
{
activity?.SetStatus(ActivityStatusCode.Error, exception.Message);
- activity?.RecordException(exception);
+ activity?.AddException(exception);
throw;
}
}
diff --git a/src/Messaging/NBB.Messaging.OpenTelemetry/Subscriber/OpenTelemetrySubscriberDecorator.cs b/src/Messaging/NBB.Messaging.OpenTelemetry/Subscriber/OpenTelemetrySubscriberDecorator.cs
index f3fafaa0..4e0110cd 100644
--- a/src/Messaging/NBB.Messaging.OpenTelemetry/Subscriber/OpenTelemetrySubscriberDecorator.cs
+++ b/src/Messaging/NBB.Messaging.OpenTelemetry/Subscriber/OpenTelemetrySubscriberDecorator.cs
@@ -57,7 +57,7 @@ async Task NewHandler(MessagingEnvelope incommingEnvelope)
catch (Exception exception)
{
activity?.SetStatus(ActivityStatusCode.Error, exception.Message);
- activity?.RecordException(exception);
+ activity?.AddException(exception);
throw;
}
}
diff --git a/src/Messaging/NBB.Messaging.Rusi/NBB.Messaging.Rusi.csproj b/src/Messaging/NBB.Messaging.Rusi/NBB.Messaging.Rusi.csproj
index e841b7cf..7589422c 100644
--- a/src/Messaging/NBB.Messaging.Rusi/NBB.Messaging.Rusi.csproj
+++ b/src/Messaging/NBB.Messaging.Rusi/NBB.Messaging.Rusi.csproj
@@ -7,7 +7,7 @@
- net8.0
+ net9.0
Rusi client transport
@@ -20,9 +20,9 @@
-
-
-
+
+
+
all
runtime; build; native; contentfiles; analyzers; buildtransitive
diff --git a/src/MultiTenancy/NBB.MultiTenancy.Abstractions/NBB.MultiTenancy.Abstractions.csproj b/src/MultiTenancy/NBB.MultiTenancy.Abstractions/NBB.MultiTenancy.Abstractions.csproj
index 6b3d800d..9bac5197 100644
--- a/src/MultiTenancy/NBB.MultiTenancy.Abstractions/NBB.MultiTenancy.Abstractions.csproj
+++ b/src/MultiTenancy/NBB.MultiTenancy.Abstractions/NBB.MultiTenancy.Abstractions.csproj
@@ -1,21 +1,21 @@
-
-
-
- net8.0
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+ net9.0
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/MultiTenancy/NBB.MultiTenancy.AspNet/NBB.MultiTenancy.AspNet.csproj b/src/MultiTenancy/NBB.MultiTenancy.AspNet/NBB.MultiTenancy.AspNet.csproj
index 51d06253..fa11ca25 100644
--- a/src/MultiTenancy/NBB.MultiTenancy.AspNet/NBB.MultiTenancy.AspNet.csproj
+++ b/src/MultiTenancy/NBB.MultiTenancy.AspNet/NBB.MultiTenancy.AspNet.csproj
@@ -1,16 +1,16 @@
-
-
-
- net8.0
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+ net9.0
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/MultiTenancy/NBB.MultiTenancy.Identification.Http/NBB.MultiTenancy.Identification.Http.csproj b/src/MultiTenancy/NBB.MultiTenancy.Identification.Http/NBB.MultiTenancy.Identification.Http.csproj
index abfe22dd..951633a2 100644
--- a/src/MultiTenancy/NBB.MultiTenancy.Identification.Http/NBB.MultiTenancy.Identification.Http.csproj
+++ b/src/MultiTenancy/NBB.MultiTenancy.Identification.Http/NBB.MultiTenancy.Identification.Http.csproj
@@ -1,19 +1,19 @@
-
-
-
- net8.0
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+ net9.0
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/MultiTenancy/NBB.MultiTenancy.Identification.Messaging/NBB.MultiTenancy.Identification.Messaging.csproj b/src/MultiTenancy/NBB.MultiTenancy.Identification.Messaging/NBB.MultiTenancy.Identification.Messaging.csproj
index 8298478c..a0112606 100644
--- a/src/MultiTenancy/NBB.MultiTenancy.Identification.Messaging/NBB.MultiTenancy.Identification.Messaging.csproj
+++ b/src/MultiTenancy/NBB.MultiTenancy.Identification.Messaging/NBB.MultiTenancy.Identification.Messaging.csproj
@@ -1,12 +1,12 @@
-
-
-
- net8.0
-
-
-
-
-
-
-
-
+
+
+
+ net9.0
+
+
+
+
+
+
+
+
diff --git a/src/MultiTenancy/NBB.MultiTenancy.Identification/NBB.MultiTenancy.Identification.csproj b/src/MultiTenancy/NBB.MultiTenancy.Identification/NBB.MultiTenancy.Identification.csproj
index 2377ece1..2789e77f 100644
--- a/src/MultiTenancy/NBB.MultiTenancy.Identification/NBB.MultiTenancy.Identification.csproj
+++ b/src/MultiTenancy/NBB.MultiTenancy.Identification/NBB.MultiTenancy.Identification.csproj
@@ -1,15 +1,15 @@
-
-
-
- net8.0
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+ net9.0
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/Orchestration/NBB.ProcessManager.Definition/NBB.ProcessManager.Definition.csproj b/src/Orchestration/NBB.ProcessManager.Definition/NBB.ProcessManager.Definition.csproj
index 76079de6..085d1f9c 100644
--- a/src/Orchestration/NBB.ProcessManager.Definition/NBB.ProcessManager.Definition.csproj
+++ b/src/Orchestration/NBB.ProcessManager.Definition/NBB.ProcessManager.Definition.csproj
@@ -1,14 +1,14 @@
- net8.0
+ net9.0
Process manager definition builder.
-
+
diff --git a/src/Orchestration/NBB.ProcessManager.Runtime/NBB.ProcessManager.Runtime.csproj b/src/Orchestration/NBB.ProcessManager.Runtime/NBB.ProcessManager.Runtime.csproj
index 7c09a717..892bf042 100644
--- a/src/Orchestration/NBB.ProcessManager.Runtime/NBB.ProcessManager.Runtime.csproj
+++ b/src/Orchestration/NBB.ProcessManager.Runtime/NBB.ProcessManager.Runtime.csproj
@@ -1,7 +1,7 @@
- net8.0
+ net9.0
diff --git a/src/Projections/NBB.ProjectR/NBB.ProjectR.csproj b/src/Projections/NBB.ProjectR/NBB.ProjectR.csproj
index 2ed25d98..ff0dbede 100644
--- a/src/Projections/NBB.ProjectR/NBB.ProjectR.csproj
+++ b/src/Projections/NBB.ProjectR/NBB.ProjectR.csproj
@@ -1,7 +1,7 @@
- net8.0
+ net9.0
diff --git a/src/Tools/Serilog/NBB.Tools.Serilog.Enrichers.ServiceIdentifier/NBB.Tools.Serilog.Enrichers.ServiceIdentifier.csproj b/src/Tools/Serilog/NBB.Tools.Serilog.Enrichers.ServiceIdentifier/NBB.Tools.Serilog.Enrichers.ServiceIdentifier.csproj
index e3f80723..021174ef 100644
--- a/src/Tools/Serilog/NBB.Tools.Serilog.Enrichers.ServiceIdentifier/NBB.Tools.Serilog.Enrichers.ServiceIdentifier.csproj
+++ b/src/Tools/Serilog/NBB.Tools.Serilog.Enrichers.ServiceIdentifier/NBB.Tools.Serilog.Enrichers.ServiceIdentifier.csproj
@@ -1,7 +1,7 @@
- net8.0
+ net9.0
diff --git a/src/Tools/Serilog/NBB.Tools.Serilog.Enrichers.TenantId/NBB.Tools.Serilog.Enrichers.TenantId.csproj b/src/Tools/Serilog/NBB.Tools.Serilog.Enrichers.TenantId/NBB.Tools.Serilog.Enrichers.TenantId.csproj
index 6b2a128f..a185366b 100644
--- a/src/Tools/Serilog/NBB.Tools.Serilog.Enrichers.TenantId/NBB.Tools.Serilog.Enrichers.TenantId.csproj
+++ b/src/Tools/Serilog/NBB.Tools.Serilog.Enrichers.TenantId/NBB.Tools.Serilog.Enrichers.TenantId.csproj
@@ -1,7 +1,7 @@
- net8.0
+ net9.0
diff --git a/src/Tools/Serilog/NBB.Tools.Serilog.OpenTelemetryTracingSink/Internal/OpenTelemetryTracingSink.cs b/src/Tools/Serilog/NBB.Tools.Serilog.OpenTelemetryTracingSink/Internal/OpenTelemetryTracingSink.cs
index c66dda5a..9187eccb 100644
--- a/src/Tools/Serilog/NBB.Tools.Serilog.OpenTelemetryTracingSink/Internal/OpenTelemetryTracingSink.cs
+++ b/src/Tools/Serilog/NBB.Tools.Serilog.OpenTelemetryTracingSink/Internal/OpenTelemetryTracingSink.cs
@@ -52,12 +52,12 @@ public void Emit(LogEvent logEvent)
if (logEvent.Exception != null)
{
- activity.RecordException(logEvent.Exception);
+ activity.AddException(logEvent.Exception);
}
}
catch (Exception logException)
{
- activity.RecordException(logException);
+ activity.AddException(logException);
}
}
}
diff --git a/src/Tools/Serilog/NBB.Tools.Serilog.OpenTelemetryTracingSink/NBB.Tools.Serilog.OpenTelemetryTracingSink.csproj b/src/Tools/Serilog/NBB.Tools.Serilog.OpenTelemetryTracingSink/NBB.Tools.Serilog.OpenTelemetryTracingSink.csproj
index 256fe835..a71f3057 100644
--- a/src/Tools/Serilog/NBB.Tools.Serilog.OpenTelemetryTracingSink/NBB.Tools.Serilog.OpenTelemetryTracingSink.csproj
+++ b/src/Tools/Serilog/NBB.Tools.Serilog.OpenTelemetryTracingSink/NBB.Tools.Serilog.OpenTelemetryTracingSink.csproj
@@ -1,7 +1,7 @@
- net8.0
+ net9.0
diff --git a/test/Benchmarks/EffectsBenchmarks/EffectsBenchmarks/EffectsBenchmarks.fsproj b/test/Benchmarks/EffectsBenchmarks/EffectsBenchmarks/EffectsBenchmarks.fsproj
index 29cb6a8d..bec6bb57 100644
--- a/test/Benchmarks/EffectsBenchmarks/EffectsBenchmarks/EffectsBenchmarks.fsproj
+++ b/test/Benchmarks/EffectsBenchmarks/EffectsBenchmarks/EffectsBenchmarks.fsproj
@@ -2,7 +2,7 @@
Exe
- net8.0
+ net9.0
diff --git a/test/Benchmarks/EventStoreBenchmarks/EventStoreBenchmarks.csproj b/test/Benchmarks/EventStoreBenchmarks/EventStoreBenchmarks.csproj
index 9d1fec9c..92bd143e 100644
--- a/test/Benchmarks/EventStoreBenchmarks/EventStoreBenchmarks.csproj
+++ b/test/Benchmarks/EventStoreBenchmarks/EventStoreBenchmarks.csproj
@@ -9,7 +9,7 @@
Exe
- net8.0
+ net9.0
NBB_TheBenchmarks_4e36178d-da86-4206-8332-54c8f5bb818b
diff --git a/test/Integration/NBB.EventStore.IntegrationTests/NBB.EventStore.IntegrationTests.csproj b/test/Integration/NBB.EventStore.IntegrationTests/NBB.EventStore.IntegrationTests.csproj
index b81544d5..f3c46826 100644
--- a/test/Integration/NBB.EventStore.IntegrationTests/NBB.EventStore.IntegrationTests.csproj
+++ b/test/Integration/NBB.EventStore.IntegrationTests/NBB.EventStore.IntegrationTests.csproj
@@ -9,7 +9,7 @@
Library
- net8.0
+ net9.0
NBB_EventStoreIntegrationTests_1b7f48bb-0e9a-4219-b794-1788abaf788e
@@ -45,10 +45,10 @@
-
-
- Never
-
+
+
+ Never
+
diff --git a/test/Integration/NBB.Messaging.Rusi.IntegrationTests/NBB.Messaging.Rusi.IntegrationTests.csproj b/test/Integration/NBB.Messaging.Rusi.IntegrationTests/NBB.Messaging.Rusi.IntegrationTests.csproj
index d8f40e0c..613300fb 100644
--- a/test/Integration/NBB.Messaging.Rusi.IntegrationTests/NBB.Messaging.Rusi.IntegrationTests.csproj
+++ b/test/Integration/NBB.Messaging.Rusi.IntegrationTests/NBB.Messaging.Rusi.IntegrationTests.csproj
@@ -1,7 +1,7 @@
- net8.0
+ net9.0
enable
enable
diff --git a/test/UnitTests/Application/NBB.Application.Effects.Tests/NBB.Application.Effects.Tests.csproj b/test/UnitTests/Application/NBB.Application.Effects.Tests/NBB.Application.Effects.Tests.csproj
index 84da3d44..14e75550 100644
--- a/test/UnitTests/Application/NBB.Application.Effects.Tests/NBB.Application.Effects.Tests.csproj
+++ b/test/UnitTests/Application/NBB.Application.Effects.Tests/NBB.Application.Effects.Tests.csproj
@@ -1,7 +1,7 @@
- net8.0
+ net9.0
false
@@ -13,9 +13,9 @@
-
- all
- runtime; build; native; contentfiles; analyzers; buildtransitive
+
+ all
+ runtime; build; native; contentfiles; analyzers; buildtransitive
diff --git a/test/UnitTests/Application/NBB.Application.Mediator.FSharp.Tests/NBB.Application.Mediator.FSharp.Tests.fsproj b/test/UnitTests/Application/NBB.Application.Mediator.FSharp.Tests/NBB.Application.Mediator.FSharp.Tests.fsproj
index 56898ce8..3c525648 100644
--- a/test/UnitTests/Application/NBB.Application.Mediator.FSharp.Tests/NBB.Application.Mediator.FSharp.Tests.fsproj
+++ b/test/UnitTests/Application/NBB.Application.Mediator.FSharp.Tests/NBB.Application.Mediator.FSharp.Tests.fsproj
@@ -1,7 +1,7 @@
- net8.0
+ net9.0
false
false
@@ -24,9 +24,9 @@
-
- all
- runtime; build; native; contentfiles; analyzers; buildtransitive
+
+ all
+ runtime; build; native; contentfiles; analyzers; buildtransitive
diff --git a/test/UnitTests/Core/NBB.Core.Configuration.Tests/NBB.Core.Configuration.Tests.csproj b/test/UnitTests/Core/NBB.Core.Configuration.Tests/NBB.Core.Configuration.Tests.csproj
index f8f1c5d0..22ed7174 100644
--- a/test/UnitTests/Core/NBB.Core.Configuration.Tests/NBB.Core.Configuration.Tests.csproj
+++ b/test/UnitTests/Core/NBB.Core.Configuration.Tests/NBB.Core.Configuration.Tests.csproj
@@ -1,26 +1,26 @@
-
-
-
- net8.0
- enable
-
- false
-
-
-
-
-
-
-
-
-
- runtime; build; native; contentfiles; analyzers; buildtransitive
- all
-
-
-
-
-
-
-
-
+
+
+
+ net9.0
+ enable
+
+ false
+
+
+
+
+
+
+
+
+
+ runtime; build; native; contentfiles; analyzers; buildtransitive
+ all
+
+
+
+
+
+
+
+
diff --git a/test/UnitTests/Core/NBB.Core.Effects.FSharp.Tests/NBB.Core.Effects.FSharp.Tests.fsproj b/test/UnitTests/Core/NBB.Core.Effects.FSharp.Tests/NBB.Core.Effects.FSharp.Tests.fsproj
index f5b6ba07..affd2851 100644
--- a/test/UnitTests/Core/NBB.Core.Effects.FSharp.Tests/NBB.Core.Effects.FSharp.Tests.fsproj
+++ b/test/UnitTests/Core/NBB.Core.Effects.FSharp.Tests/NBB.Core.Effects.FSharp.Tests.fsproj
@@ -1,7 +1,7 @@
- net8.0
+ net9.0
false
false
diff --git a/test/UnitTests/Core/NBB.Core.Effects.Tests/NBB.Core.Effects.Tests.csproj b/test/UnitTests/Core/NBB.Core.Effects.Tests/NBB.Core.Effects.Tests.csproj
index 27151007..2dadcad7 100644
--- a/test/UnitTests/Core/NBB.Core.Effects.Tests/NBB.Core.Effects.Tests.csproj
+++ b/test/UnitTests/Core/NBB.Core.Effects.Tests/NBB.Core.Effects.Tests.csproj
@@ -1,7 +1,7 @@
- net8.0
+ net9.0
false
@@ -13,9 +13,9 @@
-
- all
- runtime; build; native; contentfiles; analyzers; buildtransitive
+
+ all
+ runtime; build; native; contentfiles; analyzers; buildtransitive
diff --git a/test/UnitTests/Core/NBB.Core.Evented.FSharp.Tests/NBB.Core.Evented.FSharp.Tests.fsproj b/test/UnitTests/Core/NBB.Core.Evented.FSharp.Tests/NBB.Core.Evented.FSharp.Tests.fsproj
index 311b31bb..b2840c56 100644
--- a/test/UnitTests/Core/NBB.Core.Evented.FSharp.Tests/NBB.Core.Evented.FSharp.Tests.fsproj
+++ b/test/UnitTests/Core/NBB.Core.Evented.FSharp.Tests/NBB.Core.Evented.FSharp.Tests.fsproj
@@ -1,7 +1,7 @@
- net8.0
+ net9.0
false
false
@@ -16,7 +16,7 @@
-
+
diff --git a/test/UnitTests/Core/NBB.Core.Pipeline.Tests/NBB.Core.Pipeline.Tests.csproj b/test/UnitTests/Core/NBB.Core.Pipeline.Tests/NBB.Core.Pipeline.Tests.csproj
index 105d72c8..10a10e8c 100644
--- a/test/UnitTests/Core/NBB.Core.Pipeline.Tests/NBB.Core.Pipeline.Tests.csproj
+++ b/test/UnitTests/Core/NBB.Core.Pipeline.Tests/NBB.Core.Pipeline.Tests.csproj
@@ -1,22 +1,22 @@
-
-
-
- net8.0
-
- false
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+ net9.0
+
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/test/UnitTests/Core/NBB.Core.Pipeline.Tests/PipelineTests.cs b/test/UnitTests/Core/NBB.Core.Pipeline.Tests/PipelineTests.cs
index b8c1ebcd..a8a79867 100644
--- a/test/UnitTests/Core/NBB.Core.Pipeline.Tests/PipelineTests.cs
+++ b/test/UnitTests/Core/NBB.Core.Pipeline.Tests/PipelineTests.cs
@@ -16,7 +16,7 @@ namespace NBB.Core.Pipeline.Tests
public class PipelineTests
{
[Fact]
- public async void Should_execute_nesting_in_order_class_middleware()
+ public async Task Should_execute_nesting_in_order_class_middleware()
{
//Arrange
var mockedServiceProvider = Mock.Of();
@@ -35,7 +35,7 @@ public async void Should_execute_nesting_in_order_class_middleware()
}
[Fact]
- public async void Should_execute_nesting_in_order_inline()
+ public async Task Should_execute_nesting_in_order_inline()
{
//Arrange
var mockedServiceProvider = Mock.Of();
@@ -67,7 +67,7 @@ public async void Should_execute_nesting_in_order_inline()
[Fact]
- public async void Should_support_constructor_injection_in_middleware()
+ public async Task Should_support_constructor_injection_in_middleware()
{
//Arrange
var mockedServiceProvider = Mock.Of(sp =>
@@ -87,7 +87,7 @@ public async void Should_support_constructor_injection_in_middleware()
}
[Fact]
- public async void Should_pass_execution_parameters_to_middleware()
+ public async Task Should_pass_execution_parameters_to_middleware()
{
//Arrange
var mockedServiceProvider = Mock.Of();
@@ -125,7 +125,7 @@ public async void Should_pass_execution_parameters_to_middleware()
}
[Fact]
- public async void Should_not_swallow_exception_async()
+ public async Task Should_not_swallow_exception_async()
{
//Arrange
var mockedServiceProvider = Mock.Of();
@@ -185,7 +185,7 @@ public void Should_not_burry_exception_sync()
}
[Fact]
- public async void Should_build_pipeline_in_container_scope()
+ public async Task Should_build_pipeline_in_container_scope()
{
//Arrange
var services = new ServiceCollection();
diff --git a/test/UnitTests/Data/NBB.Data.EntityFramework.MultiTenancy.Tests/NBB.Data.EntityFramework.MultiTenancy.Tests.csproj b/test/UnitTests/Data/NBB.Data.EntityFramework.MultiTenancy.Tests/NBB.Data.EntityFramework.MultiTenancy.Tests.csproj
index fc458f79..41013703 100644
--- a/test/UnitTests/Data/NBB.Data.EntityFramework.MultiTenancy.Tests/NBB.Data.EntityFramework.MultiTenancy.Tests.csproj
+++ b/test/UnitTests/Data/NBB.Data.EntityFramework.MultiTenancy.Tests/NBB.Data.EntityFramework.MultiTenancy.Tests.csproj
@@ -8,7 +8,7 @@
- net8.0
+ net9.0
diff --git a/test/UnitTests/Data/NBB.Data.EntityFramework.Tests/NBB.Data.EntityFramework.Tests.csproj b/test/UnitTests/Data/NBB.Data.EntityFramework.Tests/NBB.Data.EntityFramework.Tests.csproj
index aa21e4a6..df25ec7b 100644
--- a/test/UnitTests/Data/NBB.Data.EntityFramework.Tests/NBB.Data.EntityFramework.Tests.csproj
+++ b/test/UnitTests/Data/NBB.Data.EntityFramework.Tests/NBB.Data.EntityFramework.Tests.csproj
@@ -8,7 +8,7 @@
- net8.0
+ net9.0
diff --git a/test/UnitTests/Data/NBB.Data.EventSourcing.Tests/NBB.Data.EventSourcing.Tests.csproj b/test/UnitTests/Data/NBB.Data.EventSourcing.Tests/NBB.Data.EventSourcing.Tests.csproj
index 8314d7f6..4f7a105c 100644
--- a/test/UnitTests/Data/NBB.Data.EventSourcing.Tests/NBB.Data.EventSourcing.Tests.csproj
+++ b/test/UnitTests/Data/NBB.Data.EventSourcing.Tests/NBB.Data.EventSourcing.Tests.csproj
@@ -8,7 +8,7 @@
- net8.0
+ net9.0
diff --git a/test/UnitTests/Domain/NBB.Domain.Tests/NBB.Domain.Tests.csproj b/test/UnitTests/Domain/NBB.Domain.Tests/NBB.Domain.Tests.csproj
index c1246d8e..f21ef03e 100644
--- a/test/UnitTests/Domain/NBB.Domain.Tests/NBB.Domain.Tests.csproj
+++ b/test/UnitTests/Domain/NBB.Domain.Tests/NBB.Domain.Tests.csproj
@@ -8,7 +8,7 @@
- net8.0
+ net9.0
diff --git a/test/UnitTests/EventStore/NBB.EventStore.AdoNet.Tests/NBB.EventStore.AdoNet.Tests.csproj b/test/UnitTests/EventStore/NBB.EventStore.AdoNet.Tests/NBB.EventStore.AdoNet.Tests.csproj
index 8dc5aecb..e88b58f8 100644
--- a/test/UnitTests/EventStore/NBB.EventStore.AdoNet.Tests/NBB.EventStore.AdoNet.Tests.csproj
+++ b/test/UnitTests/EventStore/NBB.EventStore.AdoNet.Tests/NBB.EventStore.AdoNet.Tests.csproj
@@ -1,7 +1,7 @@
- net8.0
+ net9.0
false
diff --git a/test/UnitTests/EventStore/NBB.EventStore.InMemory.Tests/NBB.EventStore.InMemory.Tests.csproj b/test/UnitTests/EventStore/NBB.EventStore.InMemory.Tests/NBB.EventStore.InMemory.Tests.csproj
index 95a26095..21fb057d 100644
--- a/test/UnitTests/EventStore/NBB.EventStore.InMemory.Tests/NBB.EventStore.InMemory.Tests.csproj
+++ b/test/UnitTests/EventStore/NBB.EventStore.InMemory.Tests/NBB.EventStore.InMemory.Tests.csproj
@@ -1,21 +1,21 @@
-
-
-
- net8.0
-
- false
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+ net9.0
+
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/test/UnitTests/EventStore/NBB.EventStore.Tests/NBB.EventStore.Tests.csproj b/test/UnitTests/EventStore/NBB.EventStore.Tests/NBB.EventStore.Tests.csproj
index 5fa38336..6290b997 100644
--- a/test/UnitTests/EventStore/NBB.EventStore.Tests/NBB.EventStore.Tests.csproj
+++ b/test/UnitTests/EventStore/NBB.EventStore.Tests/NBB.EventStore.Tests.csproj
@@ -8,7 +8,7 @@
- net8.0
+ net9.0
diff --git a/test/UnitTests/Http/NBB.Http.Effects.Tests/NBB.Http.Effects.Tests.csproj b/test/UnitTests/Http/NBB.Http.Effects.Tests/NBB.Http.Effects.Tests.csproj
index 2bfb2bfc..aa4b10bc 100644
--- a/test/UnitTests/Http/NBB.Http.Effects.Tests/NBB.Http.Effects.Tests.csproj
+++ b/test/UnitTests/Http/NBB.Http.Effects.Tests/NBB.Http.Effects.Tests.csproj
@@ -1,7 +1,7 @@
- net8.0
+ net9.0
false
@@ -13,9 +13,9 @@
-
- all
- runtime; build; native; contentfiles; analyzers; buildtransitive
+
+ all
+ runtime; build; native; contentfiles; analyzers; buildtransitive
diff --git a/test/UnitTests/Messaging/NBB.Messaging.Abstractions.Tests/NBB.Messaging.Abstractions.Tests.csproj b/test/UnitTests/Messaging/NBB.Messaging.Abstractions.Tests/NBB.Messaging.Abstractions.Tests.csproj
index fcad1d6f..d14d7eb8 100644
--- a/test/UnitTests/Messaging/NBB.Messaging.Abstractions.Tests/NBB.Messaging.Abstractions.Tests.csproj
+++ b/test/UnitTests/Messaging/NBB.Messaging.Abstractions.Tests/NBB.Messaging.Abstractions.Tests.csproj
@@ -9,7 +9,7 @@
Exe
- net8.0
+ net9.0
diff --git a/test/UnitTests/Messaging/NBB.Messaging.DataContracts.Tests/NBB.Messaging.DataContracts.Tests.csproj b/test/UnitTests/Messaging/NBB.Messaging.DataContracts.Tests/NBB.Messaging.DataContracts.Tests.csproj
index f95a4d17..7ae693d0 100644
--- a/test/UnitTests/Messaging/NBB.Messaging.DataContracts.Tests/NBB.Messaging.DataContracts.Tests.csproj
+++ b/test/UnitTests/Messaging/NBB.Messaging.DataContracts.Tests/NBB.Messaging.DataContracts.Tests.csproj
@@ -1,22 +1,22 @@
-
-
-
- net8.0
-
- false
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+ net9.0
+
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/test/UnitTests/Messaging/NBB.Messaging.Effects.Tests/NBB.Messaging.Effects.Tests.csproj b/test/UnitTests/Messaging/NBB.Messaging.Effects.Tests/NBB.Messaging.Effects.Tests.csproj
index b7e446bb..39d24338 100644
--- a/test/UnitTests/Messaging/NBB.Messaging.Effects.Tests/NBB.Messaging.Effects.Tests.csproj
+++ b/test/UnitTests/Messaging/NBB.Messaging.Effects.Tests/NBB.Messaging.Effects.Tests.csproj
@@ -1,7 +1,7 @@
- net8.0
+ net9.0
false
@@ -13,9 +13,9 @@
-
- all
- runtime; build; native; contentfiles; analyzers; buildtransitive
+
+ all
+ runtime; build; native; contentfiles; analyzers; buildtransitive
diff --git a/test/UnitTests/Messaging/NBB.Messaging.Host.Tests/MessagingPipeline/CorrelationMiddlewareTests.cs b/test/UnitTests/Messaging/NBB.Messaging.Host.Tests/MessagingPipeline/CorrelationMiddlewareTests.cs
index 9a37d3a4..240130d9 100644
--- a/test/UnitTests/Messaging/NBB.Messaging.Host.Tests/MessagingPipeline/CorrelationMiddlewareTests.cs
+++ b/test/UnitTests/Messaging/NBB.Messaging.Host.Tests/MessagingPipeline/CorrelationMiddlewareTests.cs
@@ -14,7 +14,7 @@ public class CorrelationMiddlewareTests
{
// IntegrationTest (integrates with CorrelationManager)
[Fact]
- public async void Should_setNewCorrelationId()
+ public async Task Should_setNewCorrelationId()
{
//Arrange
var correlationMiddleWare = new CorrelationMiddleware();
@@ -34,7 +34,7 @@ public async void Should_setNewCorrelationId()
// IntegrationTest (integrates with CorrelationManager)
[Fact]
- public async void Should_takeCorrelationIdFromMessage()
+ public async Task Should_takeCorrelationIdFromMessage()
{
//Arrange
var correlationMiddleWare = new CorrelationMiddleware();
@@ -53,7 +53,7 @@ public async void Should_takeCorrelationIdFromMessage()
}
[Fact]
- public async void Should_callNextPipelineMiddleware()
+ public async Task Should_callNextPipelineMiddleware()
{
//Arrange
var correlationMiddleWare = new CorrelationMiddleware();
@@ -71,4 +71,4 @@ public async void Should_callNextPipelineMiddleware()
isNextMiddlewareCalled.Should().BeTrue();
}
}
-}
\ No newline at end of file
+}
diff --git a/test/UnitTests/Messaging/NBB.Messaging.Host.Tests/MessagingPipeline/DefaultResiliencyMiddlewareTests.cs b/test/UnitTests/Messaging/NBB.Messaging.Host.Tests/MessagingPipeline/DefaultResiliencyMiddlewareTests.cs
index 0509fc21..a29ac20a 100644
--- a/test/UnitTests/Messaging/NBB.Messaging.Host.Tests/MessagingPipeline/DefaultResiliencyMiddlewareTests.cs
+++ b/test/UnitTests/Messaging/NBB.Messaging.Host.Tests/MessagingPipeline/DefaultResiliencyMiddlewareTests.cs
@@ -14,7 +14,7 @@ namespace NBB.Messaging.Host.Tests.MessagingPipeline
public class DefaultResiliencyMiddlewareTests
{
[Fact]
- public async void Should_callNextPipelineMiddleware()
+ public async Task Should_callNextPipelineMiddleware()
{
//Arrange
var resiliencyMiddleware = new DefaultResiliencyMiddleware(
diff --git a/test/UnitTests/Messaging/NBB.Messaging.Host.Tests/MessagingPipeline/ExceptionHandlingMiddlewareTests.cs b/test/UnitTests/Messaging/NBB.Messaging.Host.Tests/MessagingPipeline/ExceptionHandlingMiddlewareTests.cs
index 3ba344c2..3d434a56 100644
--- a/test/UnitTests/Messaging/NBB.Messaging.Host.Tests/MessagingPipeline/ExceptionHandlingMiddlewareTests.cs
+++ b/test/UnitTests/Messaging/NBB.Messaging.Host.Tests/MessagingPipeline/ExceptionHandlingMiddlewareTests.cs
@@ -14,7 +14,7 @@ namespace NBB.Messaging.Host.Tests.MessagingPipeline
public class ExceptionHandlingMiddlewareTests
{
[Fact]
- public async void Should_logSuccessMessage()
+ public async Task Should_logSuccessMessage()
{
//Arrange
var mockedLogger = Mock.Of>();
@@ -34,7 +34,7 @@ public async void Should_logSuccessMessage()
}
[Fact]
- public async void Should_logErrorMessageWhenExceptionIsThrown()
+ public async Task Should_logErrorMessageWhenExceptionIsThrown()
{
//Arrange
var mockedLogger = Mock.Of>();
@@ -61,7 +61,7 @@ public async void Should_logErrorMessageWhenExceptionIsThrown()
}
[Fact]
- public async void Should_callNextPipelineMiddleware()
+ public async Task Should_callNextPipelineMiddleware()
{
//Arrange
diff --git a/test/UnitTests/Messaging/NBB.Messaging.Host.Tests/MessagingPipeline/MediatRMiddlewareTests.cs b/test/UnitTests/Messaging/NBB.Messaging.Host.Tests/MessagingPipeline/MediatRMiddlewareTests.cs
index 06dde174..2a272328 100644
--- a/test/UnitTests/Messaging/NBB.Messaging.Host.Tests/MessagingPipeline/MediatRMiddlewareTests.cs
+++ b/test/UnitTests/Messaging/NBB.Messaging.Host.Tests/MessagingPipeline/MediatRMiddlewareTests.cs
@@ -14,7 +14,7 @@ namespace NBB.Messaging.Host.Tests.MessagingPipeline
public class MediatRMiddlewareTests
{
[Fact]
- public async void Should_publishEventsToMediatR()
+ public async Task Should_publishEventsToMediatR()
{
//Arrange
var mockedMediator = Mock.Of();
@@ -34,7 +34,7 @@ public async void Should_publishEventsToMediatR()
}
[Fact]
- public async void Should_sendCommandsToMediatR()
+ public async Task Should_sendCommandsToMediatR()
{
//Arrange
var mockedMediator = Mock.Of();
@@ -54,7 +54,7 @@ public async void Should_sendCommandsToMediatR()
}
[Fact]
- public async void Should_throwExceptionForUnhandledMessageType()
+ public async Task Should_throwExceptionForUnhandledMessageType()
{
//Arrange
var mediatRMiddleware = new MediatRMiddleware(Mock.Of());
@@ -75,7 +75,7 @@ public async void Should_throwExceptionForUnhandledMessageType()
}
[Fact]
- public async void Should_callNextPipelineMiddleware()
+ public async Task Should_callNextPipelineMiddleware()
{
//Arrange
var mediatRMiddleware = new MediatRMiddleware(Mock.Of());
diff --git a/test/UnitTests/Messaging/NBB.Messaging.Host.Tests/MessagingPipeline/SchemaMessageValidatorMiddlewareTests.cs b/test/UnitTests/Messaging/NBB.Messaging.Host.Tests/MessagingPipeline/SchemaMessageValidatorMiddlewareTests.cs
index fb0a854e..29800e09 100644
--- a/test/UnitTests/Messaging/NBB.Messaging.Host.Tests/MessagingPipeline/SchemaMessageValidatorMiddlewareTests.cs
+++ b/test/UnitTests/Messaging/NBB.Messaging.Host.Tests/MessagingPipeline/SchemaMessageValidatorMiddlewareTests.cs
@@ -12,7 +12,7 @@ namespace NBB.Messaging.Host.Tests.MessagingPipeline
public class SchemaMessageValidatorMiddlewareTests
{
[Fact]
- public async void Should_throwExceptionWhenAHeaderFieldIsNotProvided()
+ public async Task Should_throwExceptionWhenAHeaderFieldIsNotProvided()
{
//Arrange
var schemaMessageValidationMiddleware = new SchemaMessageValidatorMiddleware();
@@ -34,7 +34,7 @@ public async void Should_throwExceptionWhenAHeaderFieldIsNotProvided()
}
[Fact]
- public async void Should_callNextPipelineMiddlewareWhenAllHeaderFieldsAreProvided()
+ public async Task Should_callNextPipelineMiddlewareWhenAllHeaderFieldsAreProvided()
{
//Arrange
bool isNextMiddlewareCalled = false;
diff --git a/test/UnitTests/Messaging/NBB.Messaging.Host.Tests/NBB.Messaging.Host.Tests.csproj b/test/UnitTests/Messaging/NBB.Messaging.Host.Tests/NBB.Messaging.Host.Tests.csproj
index 6e6f802c..60be3475 100644
--- a/test/UnitTests/Messaging/NBB.Messaging.Host.Tests/NBB.Messaging.Host.Tests.csproj
+++ b/test/UnitTests/Messaging/NBB.Messaging.Host.Tests/NBB.Messaging.Host.Tests.csproj
@@ -1,21 +1,21 @@
-
-
-
- net8.0
-
- false
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+ net9.0
+
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/test/UnitTests/Messaging/NBB.Messaging.InProcessMessaging.Tests/NBB.Messaging.InProcessMessaging.Tests.csproj b/test/UnitTests/Messaging/NBB.Messaging.InProcessMessaging.Tests/NBB.Messaging.InProcessMessaging.Tests.csproj
index 1bedbc33..8a52f267 100644
--- a/test/UnitTests/Messaging/NBB.Messaging.InProcessMessaging.Tests/NBB.Messaging.InProcessMessaging.Tests.csproj
+++ b/test/UnitTests/Messaging/NBB.Messaging.InProcessMessaging.Tests/NBB.Messaging.InProcessMessaging.Tests.csproj
@@ -9,7 +9,7 @@
Exe
- net8.0
+ net9.0
diff --git a/test/UnitTests/Messaging/NBB.Messaging.MultiTenancy.Tests/MessageBusPublisherDecoratorTests.cs b/test/UnitTests/Messaging/NBB.Messaging.MultiTenancy.Tests/MessageBusPublisherDecoratorTests.cs
index 6d6a29d8..314ebddb 100644
--- a/test/UnitTests/Messaging/NBB.Messaging.MultiTenancy.Tests/MessageBusPublisherDecoratorTests.cs
+++ b/test/UnitTests/Messaging/NBB.Messaging.MultiTenancy.Tests/MessageBusPublisherDecoratorTests.cs
@@ -19,7 +19,7 @@ namespace NBB.Messaging.MultiTenancy.Tests
public class MessageBusPublisherDecoratorTests
{
[Fact]
- public async void ShouldCallInnerPublisher()
+ public async Task ShouldCallInnerPublisher()
{
// Arrange
var publisherMock = new Mock();
@@ -39,7 +39,7 @@ public async void ShouldCallInnerPublisher()
}
[Fact]
- public async void ShouldSetTenantIdInEnvelopeHeader()
+ public async Task ShouldSetTenantIdInEnvelopeHeader()
{
// Arrange
var tenantId = Guid.NewGuid();
diff --git a/test/UnitTests/Messaging/NBB.Messaging.MultiTenancy.Tests/NBB.Messaging.MultiTenancy.Tests.csproj b/test/UnitTests/Messaging/NBB.Messaging.MultiTenancy.Tests/NBB.Messaging.MultiTenancy.Tests.csproj
index 50184f72..02888ba5 100644
--- a/test/UnitTests/Messaging/NBB.Messaging.MultiTenancy.Tests/NBB.Messaging.MultiTenancy.Tests.csproj
+++ b/test/UnitTests/Messaging/NBB.Messaging.MultiTenancy.Tests/NBB.Messaging.MultiTenancy.Tests.csproj
@@ -1,29 +1,29 @@
-
-
-
- net8.0
-
- false
-
-
-
-
-
-
-
-
- all
- runtime; build; native; contentfiles; analyzers; buildtransitive
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+ net9.0
+
+ false
+
+
+
+
+
+
+
+
+ all
+ runtime; build; native; contentfiles; analyzers; buildtransitive
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/test/UnitTests/Messaging/NBB.Messaging.Rusi.Tests/NBB.Messaging.Rusi.Tests.csproj b/test/UnitTests/Messaging/NBB.Messaging.Rusi.Tests/NBB.Messaging.Rusi.Tests.csproj
index 2c949f30..d25cb144 100644
--- a/test/UnitTests/Messaging/NBB.Messaging.Rusi.Tests/NBB.Messaging.Rusi.Tests.csproj
+++ b/test/UnitTests/Messaging/NBB.Messaging.Rusi.Tests/NBB.Messaging.Rusi.Tests.csproj
@@ -1,7 +1,7 @@
- net8.0
+ net9.0
false
diff --git a/test/UnitTests/MultiTenancy/NBB.MultiTenancy.Configuration.Tests/NBB.MultiTenancy.Abstractions.Tests.csproj b/test/UnitTests/MultiTenancy/NBB.MultiTenancy.Configuration.Tests/NBB.MultiTenancy.Abstractions.Tests.csproj
index bdb7d5ca..d68a4d7f 100644
--- a/test/UnitTests/MultiTenancy/NBB.MultiTenancy.Configuration.Tests/NBB.MultiTenancy.Abstractions.Tests.csproj
+++ b/test/UnitTests/MultiTenancy/NBB.MultiTenancy.Configuration.Tests/NBB.MultiTenancy.Abstractions.Tests.csproj
@@ -1,7 +1,7 @@
- net8.0
+ net9.0
false
diff --git a/test/UnitTests/MultiTenancy/NBB.MultiTenancy.Identification.Http.Tests/NBB.MultiTenancy.Identification.Http.Tests.csproj b/test/UnitTests/MultiTenancy/NBB.MultiTenancy.Identification.Http.Tests/NBB.MultiTenancy.Identification.Http.Tests.csproj
index 4fbd9cc2..9c919379 100644
--- a/test/UnitTests/MultiTenancy/NBB.MultiTenancy.Identification.Http.Tests/NBB.MultiTenancy.Identification.Http.Tests.csproj
+++ b/test/UnitTests/MultiTenancy/NBB.MultiTenancy.Identification.Http.Tests/NBB.MultiTenancy.Identification.Http.Tests.csproj
@@ -1,25 +1,25 @@
-
-
-
- net8.0
-
- false
-
-
-
-
-
-
-
-
-
- all
- runtime; build; native; contentfiles; analyzers; buildtransitive
-
-
-
-
-
-
-
-
+
+
+
+ net9.0
+
+ false
+
+
+
+
+
+
+
+
+
+ all
+ runtime; build; native; contentfiles; analyzers; buildtransitive
+
+
+
+
+
+
+
+
diff --git a/test/UnitTests/MultiTenancy/NBB.MultiTenancy.Identification.Messaging.Tests/NBB.MultiTenancy.Identification.Messaging.Tests.csproj b/test/UnitTests/MultiTenancy/NBB.MultiTenancy.Identification.Messaging.Tests/NBB.MultiTenancy.Identification.Messaging.Tests.csproj
index d8a0408d..5c363c49 100644
--- a/test/UnitTests/MultiTenancy/NBB.MultiTenancy.Identification.Messaging.Tests/NBB.MultiTenancy.Identification.Messaging.Tests.csproj
+++ b/test/UnitTests/MultiTenancy/NBB.MultiTenancy.Identification.Messaging.Tests/NBB.MultiTenancy.Identification.Messaging.Tests.csproj
@@ -1,25 +1,25 @@
-
-
-
- net8.0
-
- false
-
-
-
-
-
-
-
-
-
- all
- runtime; build; native; contentfiles; analyzers; buildtransitive
-
-
-
-
-
-
-
-
+
+
+
+ net9.0
+
+ false
+
+
+
+
+
+
+
+
+
+ all
+ runtime; build; native; contentfiles; analyzers; buildtransitive
+
+
+
+
+
+
+
+
diff --git a/test/UnitTests/MultiTenancy/NBB.MultiTenancy.Identification.Messaging.Tests/TenantIdHeaderMessagingTokenResolverTests.cs b/test/UnitTests/MultiTenancy/NBB.MultiTenancy.Identification.Messaging.Tests/TenantIdHeaderMessagingTokenResolverTests.cs
index 9a49fdfb..df812d98 100644
--- a/test/UnitTests/MultiTenancy/NBB.MultiTenancy.Identification.Messaging.Tests/TenantIdHeaderMessagingTokenResolverTests.cs
+++ b/test/UnitTests/MultiTenancy/NBB.MultiTenancy.Identification.Messaging.Tests/TenantIdHeaderMessagingTokenResolverTests.cs
@@ -2,6 +2,7 @@
// This source code is licensed under the MIT license.
using System.Collections.Generic;
+using System.Threading.Tasks;
using FluentAssertions;
using NBB.Messaging.Abstractions;
using Xunit;
@@ -24,7 +25,7 @@ public TenantIdHeaderMessagingTokenResolverTests()
}
[Fact]
- public void Should_Resolve_Token_FromHeader()
+ public async Task Should_Resolve_Token_FromHeader()
{
// Arrange
const string key = "test token key";
@@ -33,21 +34,21 @@ public void Should_Resolve_Token_FromHeader()
var sut = new TenantIdHeaderMessagingTokenResolver(_mockMessagingContextAccessor, key);
// Act
- var result = sut.GetTenantToken().Result;
+ var result = await sut.GetTenantToken();
// Assert
result.Should().Be(value);
}
[Fact]
- public void Should_Return_Null_For_Bad_Keys()
+ public async Task Should_Return_Null_For_Bad_Keys()
{
// Arrange
const string key = "bad token key";
var sut = new TenantIdHeaderMessagingTokenResolver(_mockMessagingContextAccessor, key);
// Act
- var result= sut.GetTenantToken().Result;
+ var result = await sut.GetTenantToken();
// Assert
result.Should().BeNull();
diff --git a/test/UnitTests/MultiTenancy/NBB.MultiTenancy.Identification.Tests/Identifiers/IdTenantIdentifierTests.cs b/test/UnitTests/MultiTenancy/NBB.MultiTenancy.Identification.Tests/Identifiers/IdTenantIdentifierTests.cs
index 9ac92a5d..03438fba 100644
--- a/test/UnitTests/MultiTenancy/NBB.MultiTenancy.Identification.Tests/Identifiers/IdTenantIdentifierTests.cs
+++ b/test/UnitTests/MultiTenancy/NBB.MultiTenancy.Identification.Tests/Identifiers/IdTenantIdentifierTests.cs
@@ -4,6 +4,7 @@
using FluentAssertions;
using NBB.MultiTenancy.Identification.Identifiers;
using System;
+using System.Threading.Tasks;
using Xunit;
namespace NBB.MultiTenancy.Identification.Tests.Identifiers
@@ -11,14 +12,14 @@ namespace NBB.MultiTenancy.Identification.Tests.Identifiers
public class IdTenantIdentifierTests
{
[Fact]
- public void Should_Return_Given_Guid()
+ public async Task Should_Return_Given_Guid()
{
// Arrange
var sut = new IdTenantIdentifier();
var testGuid = Guid.NewGuid();
// Act
- var tenantId = sut.GetTenantIdAsync(testGuid.ToString()).Result;
+ var tenantId = await sut.GetTenantIdAsync(testGuid.ToString());
// Assert
tenantId.Should().Be(testGuid);
diff --git a/test/UnitTests/MultiTenancy/NBB.MultiTenancy.Identification.Tests/NBB.MultiTenancy.Identification.Tests.csproj b/test/UnitTests/MultiTenancy/NBB.MultiTenancy.Identification.Tests/NBB.MultiTenancy.Identification.Tests.csproj
index f6a8752d..2f849580 100644
--- a/test/UnitTests/MultiTenancy/NBB.MultiTenancy.Identification.Tests/NBB.MultiTenancy.Identification.Tests.csproj
+++ b/test/UnitTests/MultiTenancy/NBB.MultiTenancy.Identification.Tests/NBB.MultiTenancy.Identification.Tests.csproj
@@ -1,26 +1,26 @@
-
-
-
- net8.0
-
- false
-
-
-
-
-
-
-
-
-
-
- all
- runtime; build; native; contentfiles; analyzers; buildtransitive
-
-
-
-
-
-
-
-
+
+
+
+ net9.0
+
+ false
+
+
+
+
+
+
+
+
+
+
+ all
+ runtime; build; native; contentfiles; analyzers; buildtransitive
+
+
+
+
+
+
+
+
diff --git a/test/UnitTests/MultiTenancy/NBB.MultiTenancy.Identification.Tests/Services/TenantServiceTests.cs b/test/UnitTests/MultiTenancy/NBB.MultiTenancy.Identification.Tests/Services/TenantServiceTests.cs
index 5707c1e8..a4630d09 100644
--- a/test/UnitTests/MultiTenancy/NBB.MultiTenancy.Identification.Tests/Services/TenantServiceTests.cs
+++ b/test/UnitTests/MultiTenancy/NBB.MultiTenancy.Identification.Tests/Services/TenantServiceTests.cs
@@ -47,7 +47,7 @@ public void Should_Throw_TenantNotFoundException_If_All_Resolvers_Return_Null()
}
[Fact]
- public void Should_Pass_Token_And_Stop()
+ public async Task Should_Pass_Token_And_Stop()
{
// Arrange
const string tenantToken = "mock token";
@@ -60,14 +60,14 @@ public void Should_Pass_Token_And_Stop()
var sut = new DefaultTenantIdentificationService(new List() { firstPair, secondPair, thirdPair });
// Act
- _ = sut.GetTenantIdAsync().Result;
+ _ = await sut.GetTenantIdAsync();
// Assert
_identifier.Verify(i => i.GetTenantIdAsync(It.Is(s => string.Equals(s, tenantToken))), Times.Once());
}
[Fact]
- public void Try_Method_Should_Return_Null_If_All_Resolvers_Return_Null()
+ public async Task Try_Method_Should_Return_Null_If_All_Resolvers_Return_Null()
{
// Arrange
_firstResolver.Setup(r => r.GetTenantToken()).Returns(Task.FromResult(null));
@@ -77,14 +77,14 @@ public void Try_Method_Should_Return_Null_If_All_Resolvers_Return_Null()
var sut = new DefaultTenantIdentificationService(new List() { identifierPair });
// Act
- var result = sut.TryGetTenantIdAsync().Result;
+ var result = await sut.TryGetTenantIdAsync();
// Assert
result.Should().BeNull();
}
[Fact]
- public void Try_Method_Should_Pass_Token_And_Stop()
+ public async Task Try_Method_Should_Pass_Token_And_Stop()
{
// Arrange
const string tenantToken = "mock token";
@@ -97,7 +97,7 @@ public void Try_Method_Should_Pass_Token_And_Stop()
var sut = new DefaultTenantIdentificationService(new List() { firstPair, secondPair, thirdPair });
// Act
- _ = sut.TryGetTenantIdAsync().Result;
+ _ = await sut.TryGetTenantIdAsync();
// Assert
_identifier.Verify(i => i.GetTenantIdAsync(It.Is(s => string.Equals(s, tenantToken))), Times.Once());
diff --git a/test/UnitTests/NBB.Core.FSharp.Tests/NBB.Core.FSharp.Tests.fsproj b/test/UnitTests/NBB.Core.FSharp.Tests/NBB.Core.FSharp.Tests.fsproj
index b85493ec..e32d2ee0 100644
--- a/test/UnitTests/NBB.Core.FSharp.Tests/NBB.Core.FSharp.Tests.fsproj
+++ b/test/UnitTests/NBB.Core.FSharp.Tests/NBB.Core.FSharp.Tests.fsproj
@@ -1,7 +1,7 @@
- net8.0
+ net9.0
false
false
diff --git a/test/UnitTests/Orchestration/NBB.ProcessManager.Tests/NBB.ProcessManager.Tests.csproj b/test/UnitTests/Orchestration/NBB.ProcessManager.Tests/NBB.ProcessManager.Tests.csproj
index 7204837f..7335ec6e 100644
--- a/test/UnitTests/Orchestration/NBB.ProcessManager.Tests/NBB.ProcessManager.Tests.csproj
+++ b/test/UnitTests/Orchestration/NBB.ProcessManager.Tests/NBB.ProcessManager.Tests.csproj
@@ -1,7 +1,7 @@
- net8.0
+ net9.0
false
diff --git a/test/UnitTests/Projections/NBB.ProjectR.Tests/NBB.ProjectR.Tests.csproj b/test/UnitTests/Projections/NBB.ProjectR.Tests/NBB.ProjectR.Tests.csproj
index ac7346c0..90cc8bb1 100644
--- a/test/UnitTests/Projections/NBB.ProjectR.Tests/NBB.ProjectR.Tests.csproj
+++ b/test/UnitTests/Projections/NBB.ProjectR.Tests/NBB.ProjectR.Tests.csproj
@@ -1,7 +1,7 @@
- net8.0
+ net9.0
false
diff --git a/test/UnitTests/Tools/NBB.Tools.Serilog.Enrichers.ServiceIdentifier.Tests/NBB.Tools.Serilog.Enrichers.ServiceIdentifier.Tests.csproj b/test/UnitTests/Tools/NBB.Tools.Serilog.Enrichers.ServiceIdentifier.Tests/NBB.Tools.Serilog.Enrichers.ServiceIdentifier.Tests.csproj
index ee85917a..60b864f2 100644
--- a/test/UnitTests/Tools/NBB.Tools.Serilog.Enrichers.ServiceIdentifier.Tests/NBB.Tools.Serilog.Enrichers.ServiceIdentifier.Tests.csproj
+++ b/test/UnitTests/Tools/NBB.Tools.Serilog.Enrichers.ServiceIdentifier.Tests/NBB.Tools.Serilog.Enrichers.ServiceIdentifier.Tests.csproj
@@ -1,7 +1,7 @@
- net8.0
+ net9.0
false
diff --git a/test/UnitTests/Tools/NBB.Tools.Serilog.Enrichers.TenantId.Tests/NBB.Tools.Serilog.Enrichers.TenantId.Tests.csproj b/test/UnitTests/Tools/NBB.Tools.Serilog.Enrichers.TenantId.Tests/NBB.Tools.Serilog.Enrichers.TenantId.Tests.csproj
index f94303c3..9a394a13 100644
--- a/test/UnitTests/Tools/NBB.Tools.Serilog.Enrichers.TenantId.Tests/NBB.Tools.Serilog.Enrichers.TenantId.Tests.csproj
+++ b/test/UnitTests/Tools/NBB.Tools.Serilog.Enrichers.TenantId.Tests/NBB.Tools.Serilog.Enrichers.TenantId.Tests.csproj
@@ -1,7 +1,7 @@
- net8.0
+ net9.0
false