From ed4a3cee0e73fed9644a3ac86618b011a551331f Mon Sep 17 00:00:00 2001 From: Brian Lehnen Date: Mon, 6 Jul 2026 22:45:34 -0500 Subject: [PATCH] Update to DotNetWorkQueue 0.9.43; use AesMessageInterceptor - Bump DotNetWorkQueue packages 0.9.38 -> 0.9.43. - Injectors: replace the deprecated TripleDesMessageInterceptor with AesMessageInterceptor (AES-256-GCM; 32-byte key, no IV). - Align transitive deps required by 0.9.43: Microsoft.Extensions.* 10.0.8 -> 10.0.9, OpenTelemetry* 1.15.3 -> 1.16.0, StackExchange.Redis 2.13.17 -> 3.0.7. All sample solutions build clean against 0.9.43. Closes #2 Co-Authored-By: Claude Opus 4.8 (1M context) --- .../DashBoard.Api/DashBoard.Api.csproj | 14 +++--- .../IntegrationTests/IntegrationTests.csproj | 26 +++++----- .../LiteDbConsumer/LiteDbConsumer.csproj | 46 +++++++++--------- .../LiteDbConsumerAsync.csproj | 46 +++++++++--------- .../LiteDbConsumerLinq.csproj | 46 +++++++++--------- .../LiteDbProducer/LiteDbProducer.csproj | 44 ++++++++--------- .../LiteDbProducerConsumer.csproj | 46 +++++++++--------- .../LiteDbProducerLinq.csproj | 46 +++++++++--------- .../LiteDbScheduler/LiteDbScheduler.csproj | 46 +++++++++--------- .../LiteDbSchedulerConsumer.csproj | 46 +++++++++--------- .../PostGreSQLConsumer.csproj | 46 +++++++++--------- .../PostGreSQLConsumerAsync.csproj | 46 +++++++++--------- .../PostGreSQLConsumerLinq.csproj | 46 +++++++++--------- .../PostGreSQLScheduler.csproj | 46 +++++++++--------- .../PostGreSQLSchedulerConsumer.csproj | 46 +++++++++--------- .../PostgreSQLConsumerInbox.csproj | 46 +++++++++--------- .../PostgreSQLProducer.csproj | 46 +++++++++--------- .../PostgreSQLProducerLinq.csproj | 46 +++++++++--------- .../PostgreSQLProducerOutbox.csproj | 46 +++++++++--------- .../Redis/RedisConsumer/RedisConsumer.csproj | 48 +++++++++---------- .../RedisConsumerAsync.csproj | 48 +++++++++---------- .../RedisConsumerLinq.csproj | 48 +++++++++---------- .../Redis/RedisProducer/RedisProducer.csproj | 48 +++++++++---------- .../RedisProducerLinq.csproj | 48 +++++++++---------- .../RedisScheduler/RedisScheduler.csproj | 48 +++++++++---------- .../RedisSchedulerConsumer.csproj | 48 +++++++++---------- .../SQLServerConsumer.csproj | 46 +++++++++--------- .../SQLServerConsumerAsync.csproj | 46 +++++++++--------- .../SQLServerConsumerInbox.csproj | 46 +++++++++--------- .../SQLServerConsumerLinq.csproj | 46 +++++++++--------- .../SQLServerProducer.csproj | 46 +++++++++--------- .../SQLServerProducerLinq.csproj | 46 +++++++++--------- .../SQLServerProducerOutbox.csproj | 46 +++++++++--------- .../SQLServerScheduler.csproj | 46 +++++++++--------- .../SQLServerSchedulerConsumer.csproj | 46 +++++++++--------- .../SQLiteConsumer/SQLiteConsumer.csproj | 48 +++++++++---------- .../SQLiteConsumerAsync.csproj | 48 +++++++++---------- .../SQLiteConsumerLinq.csproj | 48 +++++++++---------- .../SQLiteProducer/SQLiteProducer.csproj | 48 +++++++++---------- .../SQLiteProducerLinq.csproj | 48 +++++++++---------- .../SQLiteSchedulerConsumer.csproj | 48 +++++++++---------- .../SQliteScheduler/SQliteScheduler.csproj | 48 +++++++++---------- Source/Samples/SampleShared/Injectors.cs | 24 +++++----- .../Samples/SampleShared/SampleShared.csproj | 20 ++++---- 44 files changed, 975 insertions(+), 975 deletions(-) diff --git a/Source/Samples/DashBoard.Api/DashBoard.Api/DashBoard.Api.csproj b/Source/Samples/DashBoard.Api/DashBoard.Api/DashBoard.Api.csproj index 1987b77..2336b91 100644 --- a/Source/Samples/DashBoard.Api/DashBoard.Api/DashBoard.Api.csproj +++ b/Source/Samples/DashBoard.Api/DashBoard.Api/DashBoard.Api.csproj @@ -11,14 +11,14 @@ - - + + - - - - - + + + + + diff --git a/Source/Samples/IntegrationTests/IntegrationTests.csproj b/Source/Samples/IntegrationTests/IntegrationTests.csproj index 9d6f7c3..138e108 100644 --- a/Source/Samples/IntegrationTests/IntegrationTests.csproj +++ b/Source/Samples/IntegrationTests/IntegrationTests.csproj @@ -10,26 +10,26 @@ - - - - - - - + + + + + + + - - + + - - - - + + + + diff --git a/Source/Samples/LiteDb/LiteDbConsumer/LiteDbConsumer.csproj b/Source/Samples/LiteDb/LiteDbConsumer/LiteDbConsumer.csproj index 14a5e0f..ed3d7a6 100644 --- a/Source/Samples/LiteDb/LiteDbConsumer/LiteDbConsumer.csproj +++ b/Source/Samples/LiteDb/LiteDbConsumer/LiteDbConsumer.csproj @@ -10,32 +10,32 @@ pdbonly - - + + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - - - - + + + + @@ -44,7 +44,7 @@ - + diff --git a/Source/Samples/LiteDb/LiteDbConsumerAsync/LiteDbConsumerAsync.csproj b/Source/Samples/LiteDb/LiteDbConsumerAsync/LiteDbConsumerAsync.csproj index b5c2b7c..29ee447 100644 --- a/Source/Samples/LiteDb/LiteDbConsumerAsync/LiteDbConsumerAsync.csproj +++ b/Source/Samples/LiteDb/LiteDbConsumerAsync/LiteDbConsumerAsync.csproj @@ -10,32 +10,32 @@ pdbonly - - + + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - - - - + + + + @@ -44,7 +44,7 @@ - + diff --git a/Source/Samples/LiteDb/LiteDbConsumerLinq/LiteDbConsumerLinq.csproj b/Source/Samples/LiteDb/LiteDbConsumerLinq/LiteDbConsumerLinq.csproj index ab53bf0..5da24e5 100644 --- a/Source/Samples/LiteDb/LiteDbConsumerLinq/LiteDbConsumerLinq.csproj +++ b/Source/Samples/LiteDb/LiteDbConsumerLinq/LiteDbConsumerLinq.csproj @@ -10,32 +10,32 @@ pdbonly - - + + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - - - - + + + + @@ -44,7 +44,7 @@ - + diff --git a/Source/Samples/LiteDb/LiteDbProducer/LiteDbProducer.csproj b/Source/Samples/LiteDb/LiteDbProducer/LiteDbProducer.csproj index 1dffea9..434ad31 100644 --- a/Source/Samples/LiteDb/LiteDbProducer/LiteDbProducer.csproj +++ b/Source/Samples/LiteDb/LiteDbProducer/LiteDbProducer.csproj @@ -13,31 +13,31 @@ LiteDbProducer.Program - - + + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - - - - + + + + @@ -56,7 +56,7 @@ - + diff --git a/Source/Samples/LiteDb/LiteDbProducerConsumer/LiteDbProducerConsumer.csproj b/Source/Samples/LiteDb/LiteDbProducerConsumer/LiteDbProducerConsumer.csproj index 34fc67a..c8e78c8 100644 --- a/Source/Samples/LiteDb/LiteDbProducerConsumer/LiteDbProducerConsumer.csproj +++ b/Source/Samples/LiteDb/LiteDbProducerConsumer/LiteDbProducerConsumer.csproj @@ -13,32 +13,32 @@ LiteDbProducerConsumer.Program - - + + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - - - - + + + + @@ -52,7 +52,7 @@ - + diff --git a/Source/Samples/LiteDb/LiteDbProducerLinq/LiteDbProducerLinq.csproj b/Source/Samples/LiteDb/LiteDbProducerLinq/LiteDbProducerLinq.csproj index 28e08db..0bdee6c 100644 --- a/Source/Samples/LiteDb/LiteDbProducerLinq/LiteDbProducerLinq.csproj +++ b/Source/Samples/LiteDb/LiteDbProducerLinq/LiteDbProducerLinq.csproj @@ -10,32 +10,32 @@ pdbonly - - + + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - - - - + + + + @@ -49,7 +49,7 @@ - + diff --git a/Source/Samples/LiteDb/LiteDbScheduler/LiteDbScheduler.csproj b/Source/Samples/LiteDb/LiteDbScheduler/LiteDbScheduler.csproj index 28e08db..0bdee6c 100644 --- a/Source/Samples/LiteDb/LiteDbScheduler/LiteDbScheduler.csproj +++ b/Source/Samples/LiteDb/LiteDbScheduler/LiteDbScheduler.csproj @@ -10,32 +10,32 @@ pdbonly - - + + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - - - - + + + + @@ -49,7 +49,7 @@ - + diff --git a/Source/Samples/LiteDb/LiteDbSchedulerConsumer/LiteDbSchedulerConsumer.csproj b/Source/Samples/LiteDb/LiteDbSchedulerConsumer/LiteDbSchedulerConsumer.csproj index ab53bf0..5da24e5 100644 --- a/Source/Samples/LiteDb/LiteDbSchedulerConsumer/LiteDbSchedulerConsumer.csproj +++ b/Source/Samples/LiteDb/LiteDbSchedulerConsumer/LiteDbSchedulerConsumer.csproj @@ -10,32 +10,32 @@ pdbonly - - + + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - - - - + + + + @@ -44,7 +44,7 @@ - + diff --git a/Source/Samples/PostgreSQL/PostGreSQLConsumer/PostGreSQLConsumer.csproj b/Source/Samples/PostgreSQL/PostGreSQLConsumer/PostGreSQLConsumer.csproj index eac5b60..2d23934 100644 --- a/Source/Samples/PostgreSQL/PostGreSQLConsumer/PostGreSQLConsumer.csproj +++ b/Source/Samples/PostgreSQL/PostGreSQLConsumer/PostGreSQLConsumer.csproj @@ -10,31 +10,31 @@ pdbonly - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + - - - - + + + + @@ -44,7 +44,7 @@ - + diff --git a/Source/Samples/PostgreSQL/PostGreSQLConsumerAsync/PostGreSQLConsumerAsync.csproj b/Source/Samples/PostgreSQL/PostGreSQLConsumerAsync/PostGreSQLConsumerAsync.csproj index 0ac3ffd..91e6e38 100644 --- a/Source/Samples/PostgreSQL/PostGreSQLConsumerAsync/PostGreSQLConsumerAsync.csproj +++ b/Source/Samples/PostgreSQL/PostGreSQLConsumerAsync/PostGreSQLConsumerAsync.csproj @@ -10,31 +10,31 @@ pdbonly - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + - - - - + + + + @@ -44,7 +44,7 @@ - + diff --git a/Source/Samples/PostgreSQL/PostGreSQLConsumerLinq/PostGreSQLConsumerLinq.csproj b/Source/Samples/PostgreSQL/PostGreSQLConsumerLinq/PostGreSQLConsumerLinq.csproj index 0ac3ffd..91e6e38 100644 --- a/Source/Samples/PostgreSQL/PostGreSQLConsumerLinq/PostGreSQLConsumerLinq.csproj +++ b/Source/Samples/PostgreSQL/PostGreSQLConsumerLinq/PostGreSQLConsumerLinq.csproj @@ -10,31 +10,31 @@ pdbonly - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + - - - - + + + + @@ -44,7 +44,7 @@ - + diff --git a/Source/Samples/PostgreSQL/PostGreSQLScheduler/PostGreSQLScheduler.csproj b/Source/Samples/PostgreSQL/PostGreSQLScheduler/PostGreSQLScheduler.csproj index 2acdcf9..4c44c0d 100644 --- a/Source/Samples/PostgreSQL/PostGreSQLScheduler/PostGreSQLScheduler.csproj +++ b/Source/Samples/PostgreSQL/PostGreSQLScheduler/PostGreSQLScheduler.csproj @@ -10,31 +10,31 @@ pdbonly - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + - - - - + + + + @@ -49,7 +49,7 @@ - + diff --git a/Source/Samples/PostgreSQL/PostGreSQLSchedulerConsumer/PostGreSQLSchedulerConsumer.csproj b/Source/Samples/PostgreSQL/PostGreSQLSchedulerConsumer/PostGreSQLSchedulerConsumer.csproj index 0ac3ffd..91e6e38 100644 --- a/Source/Samples/PostgreSQL/PostGreSQLSchedulerConsumer/PostGreSQLSchedulerConsumer.csproj +++ b/Source/Samples/PostgreSQL/PostGreSQLSchedulerConsumer/PostGreSQLSchedulerConsumer.csproj @@ -10,31 +10,31 @@ pdbonly - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + - - - - + + + + @@ -44,7 +44,7 @@ - + diff --git a/Source/Samples/PostgreSQL/PostgreSQLConsumerInbox/PostgreSQLConsumerInbox.csproj b/Source/Samples/PostgreSQL/PostgreSQLConsumerInbox/PostgreSQLConsumerInbox.csproj index fc60040..2d6a97d 100644 --- a/Source/Samples/PostgreSQL/PostgreSQLConsumerInbox/PostgreSQLConsumerInbox.csproj +++ b/Source/Samples/PostgreSQL/PostgreSQLConsumerInbox/PostgreSQLConsumerInbox.csproj @@ -10,31 +10,31 @@ pdbonly - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + - - - - + + + + @@ -49,7 +49,7 @@ - + diff --git a/Source/Samples/PostgreSQL/PostgreSQLProducer/PostgreSQLProducer.csproj b/Source/Samples/PostgreSQL/PostgreSQLProducer/PostgreSQLProducer.csproj index 2acdcf9..4c44c0d 100644 --- a/Source/Samples/PostgreSQL/PostgreSQLProducer/PostgreSQLProducer.csproj +++ b/Source/Samples/PostgreSQL/PostgreSQLProducer/PostgreSQLProducer.csproj @@ -10,31 +10,31 @@ pdbonly - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + - - - - + + + + @@ -49,7 +49,7 @@ - + diff --git a/Source/Samples/PostgreSQL/PostgreSQLProducerLinq/PostgreSQLProducerLinq.csproj b/Source/Samples/PostgreSQL/PostgreSQLProducerLinq/PostgreSQLProducerLinq.csproj index 2acdcf9..4c44c0d 100644 --- a/Source/Samples/PostgreSQL/PostgreSQLProducerLinq/PostgreSQLProducerLinq.csproj +++ b/Source/Samples/PostgreSQL/PostgreSQLProducerLinq/PostgreSQLProducerLinq.csproj @@ -10,31 +10,31 @@ pdbonly - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + - - - - + + + + @@ -49,7 +49,7 @@ - + diff --git a/Source/Samples/PostgreSQL/PostgreSQLProducerOutbox/PostgreSQLProducerOutbox.csproj b/Source/Samples/PostgreSQL/PostgreSQLProducerOutbox/PostgreSQLProducerOutbox.csproj index fc60040..2d6a97d 100644 --- a/Source/Samples/PostgreSQL/PostgreSQLProducerOutbox/PostgreSQLProducerOutbox.csproj +++ b/Source/Samples/PostgreSQL/PostgreSQLProducerOutbox/PostgreSQLProducerOutbox.csproj @@ -10,31 +10,31 @@ pdbonly - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + - - - - + + + + @@ -49,7 +49,7 @@ - + diff --git a/Source/Samples/Redis/RedisConsumer/RedisConsumer.csproj b/Source/Samples/Redis/RedisConsumer/RedisConsumer.csproj index 0b5cae7..5e61eef 100644 --- a/Source/Samples/Redis/RedisConsumer/RedisConsumer.csproj +++ b/Source/Samples/Redis/RedisConsumer/RedisConsumer.csproj @@ -10,41 +10,41 @@ pdbonly - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + - - - - + + + + - + - + diff --git a/Source/Samples/Redis/RedisConsumerAsync/RedisConsumerAsync.csproj b/Source/Samples/Redis/RedisConsumerAsync/RedisConsumerAsync.csproj index 680aa02..19e8e7a 100644 --- a/Source/Samples/Redis/RedisConsumerAsync/RedisConsumerAsync.csproj +++ b/Source/Samples/Redis/RedisConsumerAsync/RedisConsumerAsync.csproj @@ -14,41 +14,41 @@ pdbonly - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + - - - - + + + + - + - + diff --git a/Source/Samples/Redis/RedisConsumerLinq/RedisConsumerLinq.csproj b/Source/Samples/Redis/RedisConsumerLinq/RedisConsumerLinq.csproj index e3b419b..0763ecb 100644 --- a/Source/Samples/Redis/RedisConsumerLinq/RedisConsumerLinq.csproj +++ b/Source/Samples/Redis/RedisConsumerLinq/RedisConsumerLinq.csproj @@ -14,41 +14,41 @@ pdbonly - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + - - - - + + + + - + - + diff --git a/Source/Samples/Redis/RedisProducer/RedisProducer.csproj b/Source/Samples/Redis/RedisProducer/RedisProducer.csproj index 699fd83..23f9222 100644 --- a/Source/Samples/Redis/RedisProducer/RedisProducer.csproj +++ b/Source/Samples/Redis/RedisProducer/RedisProducer.csproj @@ -14,37 +14,37 @@ pdbonly - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + - - - - + + + + - + @@ -53,7 +53,7 @@ - + diff --git a/Source/Samples/Redis/RedisProducerLinq/RedisProducerLinq.csproj b/Source/Samples/Redis/RedisProducerLinq/RedisProducerLinq.csproj index b0420ae..64291a4 100644 --- a/Source/Samples/Redis/RedisProducerLinq/RedisProducerLinq.csproj +++ b/Source/Samples/Redis/RedisProducerLinq/RedisProducerLinq.csproj @@ -14,37 +14,37 @@ pdbonly - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + - - - - + + + + - + @@ -53,7 +53,7 @@ - + diff --git a/Source/Samples/Redis/RedisScheduler/RedisScheduler.csproj b/Source/Samples/Redis/RedisScheduler/RedisScheduler.csproj index b7507a6..60c67ca 100644 --- a/Source/Samples/Redis/RedisScheduler/RedisScheduler.csproj +++ b/Source/Samples/Redis/RedisScheduler/RedisScheduler.csproj @@ -14,37 +14,37 @@ pdbonly - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + - - - - + + + + - + @@ -53,7 +53,7 @@ - + diff --git a/Source/Samples/Redis/RedisSchedulerConsumer/RedisSchedulerConsumer.csproj b/Source/Samples/Redis/RedisSchedulerConsumer/RedisSchedulerConsumer.csproj index a4e9b8c..db3abc2 100644 --- a/Source/Samples/Redis/RedisSchedulerConsumer/RedisSchedulerConsumer.csproj +++ b/Source/Samples/Redis/RedisSchedulerConsumer/RedisSchedulerConsumer.csproj @@ -14,41 +14,41 @@ pdbonly - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + - - - - + + + + - + - + diff --git a/Source/Samples/SQLServer/SQLServerConsumer/SQLServerConsumer.csproj b/Source/Samples/SQLServer/SQLServerConsumer/SQLServerConsumer.csproj index a78c916..b605ee0 100644 --- a/Source/Samples/SQLServer/SQLServerConsumer/SQLServerConsumer.csproj +++ b/Source/Samples/SQLServer/SQLServerConsumer/SQLServerConsumer.csproj @@ -10,30 +10,30 @@ pdbonly - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + - - - - + + + + @@ -44,7 +44,7 @@ - + diff --git a/Source/Samples/SQLServer/SQLServerConsumerAsync/SQLServerConsumerAsync.csproj b/Source/Samples/SQLServer/SQLServerConsumerAsync/SQLServerConsumerAsync.csproj index 55fea4f..44056c7 100644 --- a/Source/Samples/SQLServer/SQLServerConsumerAsync/SQLServerConsumerAsync.csproj +++ b/Source/Samples/SQLServer/SQLServerConsumerAsync/SQLServerConsumerAsync.csproj @@ -11,30 +11,30 @@ pdbonly - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + - - - - + + + + @@ -45,7 +45,7 @@ - + diff --git a/Source/Samples/SQLServer/SQLServerConsumerInbox/SQLServerConsumerInbox.csproj b/Source/Samples/SQLServer/SQLServerConsumerInbox/SQLServerConsumerInbox.csproj index 725285d..e2a4312 100644 --- a/Source/Samples/SQLServer/SQLServerConsumerInbox/SQLServerConsumerInbox.csproj +++ b/Source/Samples/SQLServer/SQLServerConsumerInbox/SQLServerConsumerInbox.csproj @@ -10,31 +10,31 @@ pdbonly - - + + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - - - - + + + + @@ -49,7 +49,7 @@ - + diff --git a/Source/Samples/SQLServer/SQLServerConsumerLinq/SQLServerConsumerLinq.csproj b/Source/Samples/SQLServer/SQLServerConsumerLinq/SQLServerConsumerLinq.csproj index 3d132f2..bccb9c9 100644 --- a/Source/Samples/SQLServer/SQLServerConsumerLinq/SQLServerConsumerLinq.csproj +++ b/Source/Samples/SQLServer/SQLServerConsumerLinq/SQLServerConsumerLinq.csproj @@ -10,30 +10,30 @@ pdbonly - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + - - - - + + + + @@ -44,7 +44,7 @@ - + diff --git a/Source/Samples/SQLServer/SQLServerProducer/SQLServerProducer.csproj b/Source/Samples/SQLServer/SQLServerProducer/SQLServerProducer.csproj index bad0ab1..c6c7526 100644 --- a/Source/Samples/SQLServer/SQLServerProducer/SQLServerProducer.csproj +++ b/Source/Samples/SQLServer/SQLServerProducer/SQLServerProducer.csproj @@ -10,30 +10,30 @@ pdbonly - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + - - - - + + + + @@ -49,7 +49,7 @@ - + diff --git a/Source/Samples/SQLServer/SQLServerProducerLinq/SQLServerProducerLinq.csproj b/Source/Samples/SQLServer/SQLServerProducerLinq/SQLServerProducerLinq.csproj index bad0ab1..c6c7526 100644 --- a/Source/Samples/SQLServer/SQLServerProducerLinq/SQLServerProducerLinq.csproj +++ b/Source/Samples/SQLServer/SQLServerProducerLinq/SQLServerProducerLinq.csproj @@ -10,30 +10,30 @@ pdbonly - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + - - - - + + + + @@ -49,7 +49,7 @@ - + diff --git a/Source/Samples/SQLServer/SQLServerProducerOutbox/SQLServerProducerOutbox.csproj b/Source/Samples/SQLServer/SQLServerProducerOutbox/SQLServerProducerOutbox.csproj index 725285d..e2a4312 100644 --- a/Source/Samples/SQLServer/SQLServerProducerOutbox/SQLServerProducerOutbox.csproj +++ b/Source/Samples/SQLServer/SQLServerProducerOutbox/SQLServerProducerOutbox.csproj @@ -10,31 +10,31 @@ pdbonly - - + + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - - - - + + + + @@ -49,7 +49,7 @@ - + diff --git a/Source/Samples/SQLServer/SQLServerScheduler/SQLServerScheduler.csproj b/Source/Samples/SQLServer/SQLServerScheduler/SQLServerScheduler.csproj index bad0ab1..c6c7526 100644 --- a/Source/Samples/SQLServer/SQLServerScheduler/SQLServerScheduler.csproj +++ b/Source/Samples/SQLServer/SQLServerScheduler/SQLServerScheduler.csproj @@ -10,30 +10,30 @@ pdbonly - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + - - - - + + + + @@ -49,7 +49,7 @@ - + diff --git a/Source/Samples/SQLServer/SQLServerSchedulerConsumer/SQLServerSchedulerConsumer.csproj b/Source/Samples/SQLServer/SQLServerSchedulerConsumer/SQLServerSchedulerConsumer.csproj index 3d132f2..bccb9c9 100644 --- a/Source/Samples/SQLServer/SQLServerSchedulerConsumer/SQLServerSchedulerConsumer.csproj +++ b/Source/Samples/SQLServer/SQLServerSchedulerConsumer/SQLServerSchedulerConsumer.csproj @@ -10,30 +10,30 @@ pdbonly - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + - - - - + + + + @@ -44,7 +44,7 @@ - + diff --git a/Source/Samples/SQLite/SQLiteConsumer/SQLiteConsumer.csproj b/Source/Samples/SQLite/SQLiteConsumer/SQLiteConsumer.csproj index b9e50a1..7f9fe03 100644 --- a/Source/Samples/SQLite/SQLiteConsumer/SQLiteConsumer.csproj +++ b/Source/Samples/SQLite/SQLiteConsumer/SQLiteConsumer.csproj @@ -11,32 +11,32 @@ pdbonly - - + + - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + - - - - + + + + @@ -48,7 +48,7 @@ - + diff --git a/Source/Samples/SQLite/SQLiteConsumerAsync/SQLiteConsumerAsync.csproj b/Source/Samples/SQLite/SQLiteConsumerAsync/SQLiteConsumerAsync.csproj index e3afedc..ba18376 100644 --- a/Source/Samples/SQLite/SQLiteConsumerAsync/SQLiteConsumerAsync.csproj +++ b/Source/Samples/SQLite/SQLiteConsumerAsync/SQLiteConsumerAsync.csproj @@ -10,32 +10,32 @@ pdbonly - - + + - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + - - - - + + + + @@ -46,7 +46,7 @@ - + diff --git a/Source/Samples/SQLite/SQLiteConsumerLinq/SQLiteConsumerLinq.csproj b/Source/Samples/SQLite/SQLiteConsumerLinq/SQLiteConsumerLinq.csproj index e3afedc..ba18376 100644 --- a/Source/Samples/SQLite/SQLiteConsumerLinq/SQLiteConsumerLinq.csproj +++ b/Source/Samples/SQLite/SQLiteConsumerLinq/SQLiteConsumerLinq.csproj @@ -10,32 +10,32 @@ pdbonly - - + + - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + - - - - + + + + @@ -46,7 +46,7 @@ - + diff --git a/Source/Samples/SQLite/SQLiteProducer/SQLiteProducer.csproj b/Source/Samples/SQLite/SQLiteProducer/SQLiteProducer.csproj index c5fe846..0d85034 100644 --- a/Source/Samples/SQLite/SQLiteProducer/SQLiteProducer.csproj +++ b/Source/Samples/SQLite/SQLiteProducer/SQLiteProducer.csproj @@ -13,33 +13,33 @@ SQLiteProducer.Program - - + + - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + - - - - + + + + @@ -62,7 +62,7 @@ - + diff --git a/Source/Samples/SQLite/SQLiteProducerLinq/SQLiteProducerLinq.csproj b/Source/Samples/SQLite/SQLiteProducerLinq/SQLiteProducerLinq.csproj index 72f6000..258a36b 100644 --- a/Source/Samples/SQLite/SQLiteProducerLinq/SQLiteProducerLinq.csproj +++ b/Source/Samples/SQLite/SQLiteProducerLinq/SQLiteProducerLinq.csproj @@ -10,32 +10,32 @@ pdbonly - - + + - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + - - - - + + + + @@ -51,7 +51,7 @@ - + diff --git a/Source/Samples/SQLite/SQLiteSchedulerConsumer/SQLiteSchedulerConsumer.csproj b/Source/Samples/SQLite/SQLiteSchedulerConsumer/SQLiteSchedulerConsumer.csproj index e3afedc..ba18376 100644 --- a/Source/Samples/SQLite/SQLiteSchedulerConsumer/SQLiteSchedulerConsumer.csproj +++ b/Source/Samples/SQLite/SQLiteSchedulerConsumer/SQLiteSchedulerConsumer.csproj @@ -10,32 +10,32 @@ pdbonly - - + + - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + - - - - + + + + @@ -46,7 +46,7 @@ - + diff --git a/Source/Samples/SQLite/SQliteScheduler/SQliteScheduler.csproj b/Source/Samples/SQLite/SQliteScheduler/SQliteScheduler.csproj index 72f6000..258a36b 100644 --- a/Source/Samples/SQLite/SQliteScheduler/SQliteScheduler.csproj +++ b/Source/Samples/SQLite/SQliteScheduler/SQliteScheduler.csproj @@ -10,32 +10,32 @@ pdbonly - - + + - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + - - - - + + + + @@ -51,7 +51,7 @@ - + diff --git a/Source/Samples/SampleShared/Injectors.cs b/Source/Samples/SampleShared/Injectors.cs index 9084ec8..3893398 100644 --- a/Source/Samples/SampleShared/Injectors.cs +++ b/Source/Samples/SampleShared/Injectors.cs @@ -63,21 +63,21 @@ public static void SetOptions(IContainer container, bool enableChaos) } private static void AddMessageInterceptors(IContainer container, - bool des, bool gzip) + bool encryption, bool gzip) { - //encryption keys for sample only - string key = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"; - string iv = "aaaaaaaaaaa="; + //AES-256 key for sample only — in production load a stable 32-byte key from a secret + //store, never hard-code it (the producer and every consumer must use the same key). + byte[] key = System.Text.Encoding.ASCII.GetBytes("0123456789abcdef0123456789abcdef"); - if (des && gzip) + if (encryption && gzip) { - var desConfiguration = new TripleDesMessageInterceptorConfiguration(Convert.FromBase64String(key), Convert.FromBase64String(iv)); + var aesConfiguration = new AesMessageInterceptorConfiguration(key); container.RegisterCollection(new[] { typeof (GZipMessageInterceptor), //gzip compression - typeof (TripleDesMessageInterceptor) //encryption + typeof (AesMessageInterceptor) //encryption (AES-256-GCM) }); - container.Register(() => desConfiguration, LifeStyles.Singleton); + container.Register(() => aesConfiguration, LifeStyles.Singleton); } else if (gzip) { @@ -86,14 +86,14 @@ private static void AddMessageInterceptors(IContainer container, typeof (GZipMessageInterceptor) //gzip compression }); } - else if (des) + else if (encryption) { - var desConfiguration = new TripleDesMessageInterceptorConfiguration(Convert.FromBase64String(key), Convert.FromBase64String(iv)); + var aesConfiguration = new AesMessageInterceptorConfiguration(key); container.RegisterCollection(new[] { - typeof (TripleDesMessageInterceptor) //encryption + typeof (AesMessageInterceptor) //encryption (AES-256-GCM) }); - container.Register(() => desConfiguration, + container.Register(() => aesConfiguration, LifeStyles.Singleton); } } diff --git a/Source/Samples/SampleShared/SampleShared.csproj b/Source/Samples/SampleShared/SampleShared.csproj index 156dd59..9521e6b 100644 --- a/Source/Samples/SampleShared/SampleShared.csproj +++ b/Source/Samples/SampleShared/SampleShared.csproj @@ -5,16 +5,16 @@ - - - - - - - - - - + + + + + + + + + +