From 716058378ae4e5e4ee44dcdfc49eebb32b58402d Mon Sep 17 00:00:00 2001 From: Michael Mortensen Date: Sun, 22 Sep 2024 23:29:57 +0200 Subject: [PATCH 1/7] :memo: updated DocFX --- .docfx/api/extensions/index.md | 3 +++ .../Cuemon.AspNetCore.Mvc.Formatters.md | 3 ++- ...pNetCore.Mvc.Formatters.Newtonsoft.Json.md | 18 ------------------ ...s.AspNetCore.Newtonsoft.Json.Converters.md | 15 --------------- ...s.AspNetCore.Newtonsoft.Json.Formatters.md | 15 --------------- ...n.Extensions.Newtonsoft.Json.Converters.md | 15 --------------- ...n.Extensions.Newtonsoft.Json.Formatters.md | 9 --------- ...xtensions.Newtonsoft.Json.Serialization.md | 15 --------------- .../Cuemon.Extensions.Newtonsoft.Json.md | 19 ------------------- .docfx/docfx.json | 17 ----------------- 10 files changed, 5 insertions(+), 124 deletions(-) delete mode 100644 .docfx/api/namespaces/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json.md delete mode 100644 .docfx/api/namespaces/Cuemon.Extensions.AspNetCore.Newtonsoft.Json.Converters.md delete mode 100644 .docfx/api/namespaces/Cuemon.Extensions.AspNetCore.Newtonsoft.Json.Formatters.md delete mode 100644 .docfx/api/namespaces/Cuemon.Extensions.Newtonsoft.Json.Converters.md delete mode 100644 .docfx/api/namespaces/Cuemon.Extensions.Newtonsoft.Json.Formatters.md delete mode 100644 .docfx/api/namespaces/Cuemon.Extensions.Newtonsoft.Json.Serialization.md delete mode 100644 .docfx/api/namespaces/Cuemon.Extensions.Newtonsoft.Json.md diff --git a/.docfx/api/extensions/index.md b/.docfx/api/extensions/index.md index 68d76db41..c4a18c822 100644 --- a/.docfx/api/extensions/index.md +++ b/.docfx/api/extensions/index.md @@ -28,6 +28,9 @@ So even though Microsoft decided to write their own [JSON framework](https://doc Complements: [Json.NET](https://github.com/JamesNK/Newtonsoft.Json) πŸ”— +> **Note** +> Since `Cuemon for .NET` has always been about extending official .NET APIs, this project is no longer maintained as part of the Cuemon assembly family. It has been moved to its own repository and is now called [Extensions for Newtonsoft.Json API by Codebelt](https://github.com/codebeltnet/newtonsoft-json). + ## Asp.Versioning API Our preferred way of versioning Open API/Swagger for RESTful APIs is done through [Asp.Versioning](https://github.com/dotnet/aspnet-api-versioning). diff --git a/.docfx/api/namespaces/Cuemon.AspNetCore.Mvc.Formatters.md b/.docfx/api/namespaces/Cuemon.AspNetCore.Mvc.Formatters.md index 840756e5c..0890ef998 100644 --- a/.docfx/api/namespaces/Cuemon.AspNetCore.Mvc.Formatters.md +++ b/.docfx/api/namespaces/Cuemon.AspNetCore.Mvc.Formatters.md @@ -10,6 +10,7 @@ Complements: [Microsoft.AspNetCore.Mvc.Formatters namespace](https://docs.micros Related: -- [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json namespace](/api/extensions/jsonnet/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json.html) πŸ“˜ - [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json namespace](/api/extensions/aspnet/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json.html) πŸ“˜ - [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml namespace](/api/extensions/aspnet/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml.html) πŸ“˜ +- [Codebelt.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json namespace](https://newtonsoft.codebelt.net/api/Codebelt.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json.html) πŸ“˜ +- [Codebelt.Extensions.AspNetCore.Mvc.Formatters.Text.Yaml namespace](https://yamldotnet.codebelt.net/api/Codebelt.Extensions.AspNetCore.Mvc.Formatters.Text.Yaml.html) πŸ“˜ diff --git a/.docfx/api/namespaces/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json.md b/.docfx/api/namespaces/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json.md deleted file mode 100644 index efdc15ae6..000000000 --- a/.docfx/api/namespaces/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json.md +++ /dev/null @@ -1,18 +0,0 @@ -ο»Ώ--- -uid: Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json -summary: *content ---- -The `Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json` namespace contains both types and extension methods that complements the `Cuemon.Extensions.Newtonsoft.Json` namespace while being an addition to the `Microsoft.AspNetCore.Mvc` namespace. Provides JSON formatters for ASP.NET Core that is powered by Newtonsoft.Json. - -[!INCLUDE [availability-modern](../../includes/availability-modern.md)] - -Complements: [Cuemon.Extensions.Newtonsoft.Json namespace](/api/extensions/jsonnet/Cuemon.Extensions.Newtonsoft.Json.html) πŸ“˜ - -### Extension Methods - -|Type|Ext|Methods| -|--:|:-:|---| -|HttpExceptionDescriptorResponseHandler|⬇️|`AddNewtonsoftJsonResponseHandler`| -|JsonSerializerSettings|⬇️|`Use{T}`| -|IMvcBuilder|⬇️|`AddNewtonsoftJsonFormatters`, `AddNewtonsoftJsonFormattersOptions`| -|IMvcCoreBuilder|⬇️|`AddNewtonsoftJsonFormatters`, `AddNewtonsoftJsonFormattersOptions`| diff --git a/.docfx/api/namespaces/Cuemon.Extensions.AspNetCore.Newtonsoft.Json.Converters.md b/.docfx/api/namespaces/Cuemon.Extensions.AspNetCore.Newtonsoft.Json.Converters.md deleted file mode 100644 index a883185be..000000000 --- a/.docfx/api/namespaces/Cuemon.Extensions.AspNetCore.Newtonsoft.Json.Converters.md +++ /dev/null @@ -1,15 +0,0 @@ -ο»Ώ--- -uid: Cuemon.Extensions.AspNetCore.Newtonsoft.Json.Converters -summary: *content ---- -The `Cuemon.Extensions.AspNetCore.Newtonsoft.Json.Converters` namespace contains extension methods that complements the `Cuemon.Extensions.Newtonsoft.Json.Converters` namespace. - -[!INCLUDE [availability-modern](../../includes/availability-modern.md)] - -Complements: [Cuemon.Extensions.Newtonsoft.Json namespace](/api/extensions/jsonnet/Cuemon.Extensions.Newtonsoft.Json.Converters.html) πŸ“˜ - -### Extension Methods - -|Type|Ext|Methods| -|--:|:-:|---| -|JsonConverter|⬇️|`AddHttpExceptionDescriptorConverter`, `AddStringValuesConverter`| diff --git a/.docfx/api/namespaces/Cuemon.Extensions.AspNetCore.Newtonsoft.Json.Formatters.md b/.docfx/api/namespaces/Cuemon.Extensions.AspNetCore.Newtonsoft.Json.Formatters.md deleted file mode 100644 index de3544cb3..000000000 --- a/.docfx/api/namespaces/Cuemon.Extensions.AspNetCore.Newtonsoft.Json.Formatters.md +++ /dev/null @@ -1,15 +0,0 @@ -ο»Ώ--- -uid: Cuemon.Extensions.AspNetCore.Newtonsoft.Json.Formatters -summary: *content ---- -The `Cuemon.Extensions.AspNetCore.Newtonsoft.Json.Formatters` namespace contains both types and extension methods that complements the `Cuemon.Extensions.Newtonsoft.Json` namespace while being an addition to the `Microsoft.AspNetCore.Mvc` namespace. Provides JSON formatters for ASP.NET Core that is powered by Newtonsoft.Json. - -[!INCLUDE [availability-modern](../../includes/availability-modern.md)] - -Complements: [Cuemon.Extensions.Newtonsoft.Json namespace](/api/extensions/jsonnet/Cuemon.Extensions.Newtonsoft.Json.html) πŸ“˜ - -### Extension Methods - -|Type|Ext|Methods| -|--:|:-:|---| -|IServiceCollection|⬇️|`AddNewtonsoftJsonFormatterOptions`, `AddNewtonsoftJsonExceptionResponseFormatter`| diff --git a/.docfx/api/namespaces/Cuemon.Extensions.Newtonsoft.Json.Converters.md b/.docfx/api/namespaces/Cuemon.Extensions.Newtonsoft.Json.Converters.md deleted file mode 100644 index f5604983a..000000000 --- a/.docfx/api/namespaces/Cuemon.Extensions.Newtonsoft.Json.Converters.md +++ /dev/null @@ -1,15 +0,0 @@ -ο»Ώ--- -uid: Cuemon.Extensions.Newtonsoft.Json.Converters -summary: *content ---- -The `Cuemon.Extensions.Newtonsoft.Json.Converters` namespace contains both types and extension methods that complements the `Newtonsoft.Json.Converters` namespace. - -[!INCLUDE [availability-default](../../includes/availability-default.md)] - -Complements: [Newtonsoft.Json.Converters namespace](https://www.newtonsoft.com/json/help/html/N_Newtonsoft_Json_Converters.htm) πŸ”— - -### Extension Methods - -|Type|Ext|Methods| -|--:|:-:|---| -|JsonConverter|⬇️|`AddStringEnumConverter`, `AddStringFlagsEnumConverter`, `AddExceptionDescriptorConverterOf{T}`, `AddExceptionConverter`, `AddDataPairConverter`, `AddTransientFaultExceptionConverter`| \ No newline at end of file diff --git a/.docfx/api/namespaces/Cuemon.Extensions.Newtonsoft.Json.Formatters.md b/.docfx/api/namespaces/Cuemon.Extensions.Newtonsoft.Json.Formatters.md deleted file mode 100644 index fd26c0d9b..000000000 --- a/.docfx/api/namespaces/Cuemon.Extensions.Newtonsoft.Json.Formatters.md +++ /dev/null @@ -1,9 +0,0 @@ -ο»Ώ--- -uid: Cuemon.Extensions.Newtonsoft.Json.Formatters -summary: *content ---- -The `Cuemon.Extensions.Newtonsoft.Json.Formatters` namespace contains types that are used to serialize and deserialize objects into and from JSON format using a generic signature. - -[!INCLUDE [availability-default](../../includes/availability-default.md)] - -Complements: [Newtonsoft.Json.Serialization namespace](https://www.newtonsoft.com/json/help/html/N_Newtonsoft_Json_Serialization.htm) πŸ”— diff --git a/.docfx/api/namespaces/Cuemon.Extensions.Newtonsoft.Json.Serialization.md b/.docfx/api/namespaces/Cuemon.Extensions.Newtonsoft.Json.Serialization.md deleted file mode 100644 index 2ba80923b..000000000 --- a/.docfx/api/namespaces/Cuemon.Extensions.Newtonsoft.Json.Serialization.md +++ /dev/null @@ -1,15 +0,0 @@ -ο»Ώ--- -uid: Cuemon.Extensions.Newtonsoft.Json.Serialization -summary: *content ---- -The `Cuemon.Extensions.Newtonsoft.Json.Serialization` namespace contains extension methods that help in the serialization process. - -[!INCLUDE [availability-default](../../includes/availability-default.md)] - -Complements: [Newtonsoft.Json.Serialization namespace](https://www.newtonsoft.com/json/help/html/N_Newtonsoft_Json_Serialization.htm) πŸ”— - -### Extension Methods - -|Type|Ext|Methods| -|--:|:-:|---| -|IContractResolver|⬇️|`ResolveNamingStrategyOrDefault`| diff --git a/.docfx/api/namespaces/Cuemon.Extensions.Newtonsoft.Json.md b/.docfx/api/namespaces/Cuemon.Extensions.Newtonsoft.Json.md deleted file mode 100644 index ef6aa2a90..000000000 --- a/.docfx/api/namespaces/Cuemon.Extensions.Newtonsoft.Json.md +++ /dev/null @@ -1,19 +0,0 @@ -ο»Ώ--- -uid: Cuemon.Extensions.Newtonsoft.Json -summary: *content ---- -The `Cuemon.Extensions.Newtonsoft.Json` namespace contains both types and extension methods that complements the `Newtonsoft.Json` namespace by adding new ways of working with JSON; both in terms of serialization and parsing. - -[!INCLUDE [availability-default](../../includes/availability-default.md)] - -Complements: [Newtonsoft.Json namespace](https://www.newtonsoft.com/json/help/html/N_Newtonsoft_Json.htm) πŸ”— - -### Extension Methods - -|Type|Ext|Methods| -|--:|:-:|---| -|JDataResult|⬇️|`Flatten`, `ExtractArrayValues`, `ExtractObjectValues`| -|JsonReader|⬇️|`ToHierarchy`| -|JsonSerializerSettings|⬇️|`ApplyToDefaultSettings`| -|JsonWriter|⬇️|`WriteObject`, `WritePropertyName`| -|Validator|⬇️|`InvalidJsonDocument`| diff --git a/.docfx/docfx.json b/.docfx/docfx.json index 124d28a41..80014d981 100644 --- a/.docfx/docfx.json +++ b/.docfx/docfx.json @@ -72,23 +72,6 @@ "TargetFramework": "net8.0" } }, - { - "src": [ - { - "files": [ - "Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json/**.csproj", - "Cuemon.Extensions.AspNetCore.Newtonsoft.Json/**.csproj", - "Cuemon.Extensions.Newtonsoft.Json/**.csproj" - ], - "src": "../src" - } - ], - "dest": "api/extensions/jsonnet", - "filter": "filterConfig.yml", - "properties": { - "TargetFramework": "net8.0" - } - }, { "src": [ { From 4d251e726705c916314accef17ac7d2d388a38ca Mon Sep 17 00:00:00 2001 From: Michael Mortensen Date: Sun, 22 Sep 2024 23:30:16 +0200 Subject: [PATCH 2/7] :construction_worker: updated CI/CD pipeline --- .github/workflows/pipelines.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/pipelines.yml b/.github/workflows/pipelines.yml index 8e871af23..4cca9fc6b 100644 --- a/.github/workflows/pipelines.yml +++ b/.github/workflows/pipelines.yml @@ -119,7 +119,6 @@ jobs: "src/**/Cuemon.Extensions.Hosting.csproj" "src/**/Cuemon.Extensions.IO.csproj" "src/**/Cuemon.Extensions.Net.csproj" - "src/**/Cuemon.Extensions.Newtonsoft.Json.csproj" "src/**/Cuemon.Extensions.Reflection.csproj" "src/**/Cuemon.Extensions.Runtime.Caching.csproj" "src/**/Cuemon.Extensions.Text.csproj" From baaa1dc8f0e59f0bc760d1b5a8adaab52d9bce9f Mon Sep 17 00:00:00 2001 From: Michael Mortensen Date: Sun, 22 Sep 2024 23:30:35 +0200 Subject: [PATCH 3/7] :package: updated NuGet package definition --- .nuget/Cuemon.AspNetCore.App/README.md | 4 -- .../README.md | 4 -- .nuget/Cuemon.AspNetCore.Mvc/README.md | 4 -- .../README.md | 4 -- .nuget/Cuemon.AspNetCore/README.md | 4 -- .nuget/Cuemon.Core.App/README.md | 4 -- .nuget/Cuemon.Core/README.md | 4 -- .nuget/Cuemon.Data.Integrity/README.md | 4 -- .nuget/Cuemon.Data.SqlClient/README.md | 4 -- .nuget/Cuemon.Data/README.md | 4 -- .nuget/Cuemon.Diagnostics/README.md | 4 -- .../README.md | 4 -- .../README.md | 4 -- .../PackageReleaseNotes.txt | 56 --------------- .../README.md | 66 ----------------- .../README.md | 4 -- .../README.md | 4 -- .../README.md | 4 -- .../README.md | 4 -- .../PackageReleaseNotes.txt | 32 --------- .../README.md | 66 ----------------- .../README.md | 4 -- .../README.md | 4 -- .nuget/Cuemon.Extensions.AspNetCore/README.md | 4 -- .../README.md | 4 -- .../README.md | 4 -- .nuget/Cuemon.Extensions.Core/README.md | 4 -- .../README.md | 4 -- .nuget/Cuemon.Extensions.Data/README.md | 4 -- .../README.md | 4 -- .../Cuemon.Extensions.Diagnostics/README.md | 4 -- .../Cuemon.Extensions.Globalization/README.md | 4 -- .nuget/Cuemon.Extensions.Hosting/README.md | 4 -- .nuget/Cuemon.Extensions.IO/README.md | 4 -- .nuget/Cuemon.Extensions.Net/README.md | 4 -- .../PackageReleaseNotes.txt | 42 ----------- .../README.md | 66 ----------------- .../PackageReleaseNotes.txt | 72 ------------------- .../README.md | 68 ------------------ .nuget/Cuemon.Extensions.Reflection/README.md | 4 -- .../README.md | 4 -- .nuget/Cuemon.Extensions.Text.Json/README.md | 4 -- .nuget/Cuemon.Extensions.Text/README.md | 4 -- .nuget/Cuemon.Extensions.Threading/README.md | 4 -- .nuget/Cuemon.Extensions.Xml/README.md | 4 -- .nuget/Cuemon.IO/README.md | 4 -- .nuget/Cuemon.Net/README.md | 4 -- .nuget/Cuemon.Resilience/README.md | 4 -- .nuget/Cuemon.Runtime.Caching/README.md | 4 -- .nuget/Cuemon.Security.Cryptography/README.md | 4 -- .nuget/Cuemon.Threading/README.md | 4 -- .nuget/Cuemon.Xml/README.md | 4 -- 52 files changed, 644 deletions(-) delete mode 100644 .nuget/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json/PackageReleaseNotes.txt delete mode 100644 .nuget/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json/README.md delete mode 100644 .nuget/Cuemon.Extensions.AspNetCore.Newtonsoft.Json/PackageReleaseNotes.txt delete mode 100644 .nuget/Cuemon.Extensions.AspNetCore.Newtonsoft.Json/README.md delete mode 100644 .nuget/Cuemon.Extensions.Newtonsoft.Json.App/PackageReleaseNotes.txt delete mode 100644 .nuget/Cuemon.Extensions.Newtonsoft.Json.App/README.md delete mode 100644 .nuget/Cuemon.Extensions.Newtonsoft.Json/PackageReleaseNotes.txt delete mode 100644 .nuget/Cuemon.Extensions.Newtonsoft.Json/README.md diff --git a/.nuget/Cuemon.AspNetCore.App/README.md b/.nuget/Cuemon.AspNetCore.App/README.md index c77edf3ff..7c315e80d 100644 --- a/.nuget/Cuemon.AspNetCore.App/README.md +++ b/.nuget/Cuemon.AspNetCore.App/README.md @@ -68,11 +68,9 @@ More documentation available at our documentation site: * [Cuemon.Extensions.AspNetCore.Authentication](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Authentication/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Authentication.AwsSignature4](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Authentication.AwsSignature4/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.RazorPages](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.RazorPages/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Newtonsoft.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Text.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Text.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Xml](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Xml/) πŸ“¦ * [Cuemon.Extensions.Collections.Generic](https://www.nuget.org/packages/Cuemon.Extensions.Collections.Generic/) πŸ“¦ @@ -85,8 +83,6 @@ More documentation available at our documentation site: * [Cuemon.Extensions.Hosting](https://www.nuget.org/packages/Cuemon.Extensions.Hosting/) πŸ“¦ * [Cuemon.Extensions.IO](https://www.nuget.org/packages/Cuemon.Extensions.IO/) πŸ“¦ * [Cuemon.Extensions.Net](https://www.nuget.org/packages/Cuemon.Extensions.Net/) πŸ“¦ -* [Cuemon.Extensions.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.Newtonsoft.Json/) πŸ“¦ -* [Cuemon.Extensions.Newtonsoft.Json.App](https://www.nuget.org/packages/Cuemon.Extensions.Newtonsoft.Json.App/) 🏭 * [Cuemon.Extensions.Reflection](https://www.nuget.org/packages/Cuemon.Extensions.Reflection/) πŸ“¦ * [Cuemon.Extensions.Runtime.Caching](https://www.nuget.org/packages/Cuemon.Extensions.Runtime.Caching/) πŸ“¦ * [Cuemon.Extensions.Text](https://www.nuget.org/packages/Cuemon.Extensions.Text/) πŸ“¦ diff --git a/.nuget/Cuemon.AspNetCore.Authentication/README.md b/.nuget/Cuemon.AspNetCore.Authentication/README.md index 89c315790..271adbb1b 100644 --- a/.nuget/Cuemon.AspNetCore.Authentication/README.md +++ b/.nuget/Cuemon.AspNetCore.Authentication/README.md @@ -34,11 +34,9 @@ More documentation available at our documentation site: * [Cuemon.Extensions.AspNetCore.Authentication](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Authentication/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Authentication.AwsSignature4](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Authentication.AwsSignature4/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.RazorPages](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.RazorPages/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Newtonsoft.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Text.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Text.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Xml](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Xml/) πŸ“¦ * [Cuemon.Extensions.Collections.Generic](https://www.nuget.org/packages/Cuemon.Extensions.Collections.Generic/) πŸ“¦ @@ -51,8 +49,6 @@ More documentation available at our documentation site: * [Cuemon.Extensions.Hosting](https://www.nuget.org/packages/Cuemon.Extensions.Hosting/) πŸ“¦ * [Cuemon.Extensions.IO](https://www.nuget.org/packages/Cuemon.Extensions.IO/) πŸ“¦ * [Cuemon.Extensions.Net](https://www.nuget.org/packages/Cuemon.Extensions.Net/) πŸ“¦ -* [Cuemon.Extensions.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.Newtonsoft.Json/) πŸ“¦ -* [Cuemon.Extensions.Newtonsoft.Json.App](https://www.nuget.org/packages/Cuemon.Extensions.Newtonsoft.Json.App/) 🏭 * [Cuemon.Extensions.Reflection](https://www.nuget.org/packages/Cuemon.Extensions.Reflection/) πŸ“¦ * [Cuemon.Extensions.Runtime.Caching](https://www.nuget.org/packages/Cuemon.Extensions.Runtime.Caching/) πŸ“¦ * [Cuemon.Extensions.Text](https://www.nuget.org/packages/Cuemon.Extensions.Text/) πŸ“¦ diff --git a/.nuget/Cuemon.AspNetCore.Mvc/README.md b/.nuget/Cuemon.AspNetCore.Mvc/README.md index e3fc37ad2..6928a7bc1 100644 --- a/.nuget/Cuemon.AspNetCore.Mvc/README.md +++ b/.nuget/Cuemon.AspNetCore.Mvc/README.md @@ -38,11 +38,9 @@ More documentation available at our documentation site: * [Cuemon.Extensions.AspNetCore.Authentication](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Authentication/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Authentication.AwsSignature4](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Authentication.AwsSignature4/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.RazorPages](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.RazorPages/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Newtonsoft.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Text.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Text.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Xml](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Xml/) πŸ“¦ * [Cuemon.Extensions.Collections.Generic](https://www.nuget.org/packages/Cuemon.Extensions.Collections.Generic/) πŸ“¦ @@ -55,8 +53,6 @@ More documentation available at our documentation site: * [Cuemon.Extensions.Hosting](https://www.nuget.org/packages/Cuemon.Extensions.Hosting/) πŸ“¦ * [Cuemon.Extensions.IO](https://www.nuget.org/packages/Cuemon.Extensions.IO/) πŸ“¦ * [Cuemon.Extensions.Net](https://www.nuget.org/packages/Cuemon.Extensions.Net/) πŸ“¦ -* [Cuemon.Extensions.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.Newtonsoft.Json/) πŸ“¦ -* [Cuemon.Extensions.Newtonsoft.Json.App](https://www.nuget.org/packages/Cuemon.Extensions.Newtonsoft.Json.App/) 🏭 * [Cuemon.Extensions.Reflection](https://www.nuget.org/packages/Cuemon.Extensions.Reflection/) πŸ“¦ * [Cuemon.Extensions.Runtime.Caching](https://www.nuget.org/packages/Cuemon.Extensions.Runtime.Caching/) πŸ“¦ * [Cuemon.Extensions.Text](https://www.nuget.org/packages/Cuemon.Extensions.Text/) πŸ“¦ diff --git a/.nuget/Cuemon.AspNetCore.Razor.TagHelpers/README.md b/.nuget/Cuemon.AspNetCore.Razor.TagHelpers/README.md index f71fac3d8..4f7d67c39 100644 --- a/.nuget/Cuemon.AspNetCore.Razor.TagHelpers/README.md +++ b/.nuget/Cuemon.AspNetCore.Razor.TagHelpers/README.md @@ -31,11 +31,9 @@ More documentation available at our documentation site: * [Cuemon.Extensions.AspNetCore.Authentication](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Authentication/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Authentication.AwsSignature4](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Authentication.AwsSignature4/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.RazorPages](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.RazorPages/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Newtonsoft.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Text.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Text.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Xml](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Xml/) πŸ“¦ * [Cuemon.Extensions.Collections.Generic](https://www.nuget.org/packages/Cuemon.Extensions.Collections.Generic/) πŸ“¦ @@ -48,8 +46,6 @@ More documentation available at our documentation site: * [Cuemon.Extensions.Hosting](https://www.nuget.org/packages/Cuemon.Extensions.Hosting/) πŸ“¦ * [Cuemon.Extensions.IO](https://www.nuget.org/packages/Cuemon.Extensions.IO/) πŸ“¦ * [Cuemon.Extensions.Net](https://www.nuget.org/packages/Cuemon.Extensions.Net/) πŸ“¦ -* [Cuemon.Extensions.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.Newtonsoft.Json/) πŸ“¦ -* [Cuemon.Extensions.Newtonsoft.Json.App](https://www.nuget.org/packages/Cuemon.Extensions.Newtonsoft.Json.App/) 🏭 * [Cuemon.Extensions.Reflection](https://www.nuget.org/packages/Cuemon.Extensions.Reflection/) πŸ“¦ * [Cuemon.Extensions.Runtime.Caching](https://www.nuget.org/packages/Cuemon.Extensions.Runtime.Caching/) πŸ“¦ * [Cuemon.Extensions.Text](https://www.nuget.org/packages/Cuemon.Extensions.Text/) πŸ“¦ diff --git a/.nuget/Cuemon.AspNetCore/README.md b/.nuget/Cuemon.AspNetCore/README.md index 267dc5d54..66b1c7ab1 100644 --- a/.nuget/Cuemon.AspNetCore/README.md +++ b/.nuget/Cuemon.AspNetCore/README.md @@ -38,11 +38,9 @@ More documentation available at our documentation site: * [Cuemon.Extensions.AspNetCore.Authentication](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Authentication/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Authentication.AwsSignature4](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Authentication.AwsSignature4/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.RazorPages](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.RazorPages/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Newtonsoft.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Text.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Text.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Xml](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Xml/) πŸ“¦ * [Cuemon.Extensions.Collections.Generic](https://www.nuget.org/packages/Cuemon.Extensions.Collections.Generic/) πŸ“¦ @@ -55,8 +53,6 @@ More documentation available at our documentation site: * [Cuemon.Extensions.Hosting](https://www.nuget.org/packages/Cuemon.Extensions.Hosting/) πŸ“¦ * [Cuemon.Extensions.IO](https://www.nuget.org/packages/Cuemon.Extensions.IO/) πŸ“¦ * [Cuemon.Extensions.Net](https://www.nuget.org/packages/Cuemon.Extensions.Net/) πŸ“¦ -* [Cuemon.Extensions.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.Newtonsoft.Json/) πŸ“¦ -* [Cuemon.Extensions.Newtonsoft.Json.App](https://www.nuget.org/packages/Cuemon.Extensions.Newtonsoft.Json.App/) 🏭 * [Cuemon.Extensions.Reflection](https://www.nuget.org/packages/Cuemon.Extensions.Reflection/) πŸ“¦ * [Cuemon.Extensions.Runtime.Caching](https://www.nuget.org/packages/Cuemon.Extensions.Runtime.Caching/) πŸ“¦ * [Cuemon.Extensions.Text](https://www.nuget.org/packages/Cuemon.Extensions.Text/) πŸ“¦ diff --git a/.nuget/Cuemon.Core.App/README.md b/.nuget/Cuemon.Core.App/README.md index f6baff2e0..3c0b61abd 100644 --- a/.nuget/Cuemon.Core.App/README.md +++ b/.nuget/Cuemon.Core.App/README.md @@ -89,11 +89,9 @@ More documentation available at our documentation site: * [Cuemon.Extensions.AspNetCore.Authentication](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Authentication/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Authentication.AwsSignature4](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Authentication.AwsSignature4/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.RazorPages](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.RazorPages/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Newtonsoft.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Text.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Text.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Xml](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Xml/) πŸ“¦ * [Cuemon.Extensions.Collections.Generic](https://www.nuget.org/packages/Cuemon.Extensions.Collections.Generic/) πŸ“¦ @@ -106,8 +104,6 @@ More documentation available at our documentation site: * [Cuemon.Extensions.Hosting](https://www.nuget.org/packages/Cuemon.Extensions.Hosting/) πŸ“¦ * [Cuemon.Extensions.IO](https://www.nuget.org/packages/Cuemon.Extensions.IO/) πŸ“¦ * [Cuemon.Extensions.Net](https://www.nuget.org/packages/Cuemon.Extensions.Net/) πŸ“¦ -* [Cuemon.Extensions.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.Newtonsoft.Json/) πŸ“¦ -* [Cuemon.Extensions.Newtonsoft.Json.App](https://www.nuget.org/packages/Cuemon.Extensions.Newtonsoft.Json.App/) 🏭 * [Cuemon.Extensions.Reflection](https://www.nuget.org/packages/Cuemon.Extensions.Reflection/) πŸ“¦ * [Cuemon.Extensions.Runtime.Caching](https://www.nuget.org/packages/Cuemon.Extensions.Runtime.Caching/) πŸ“¦ * [Cuemon.Extensions.Text](https://www.nuget.org/packages/Cuemon.Extensions.Text/) πŸ“¦ diff --git a/.nuget/Cuemon.Core/README.md b/.nuget/Cuemon.Core/README.md index a927be693..76b8a7340 100644 --- a/.nuget/Cuemon.Core/README.md +++ b/.nuget/Cuemon.Core/README.md @@ -43,11 +43,9 @@ More documentation available at our documentation site: * [Cuemon.Extensions.AspNetCore.Authentication](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Authentication/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Authentication.AwsSignature4](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Authentication.AwsSignature4/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.RazorPages](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.RazorPages/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Newtonsoft.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Text.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Text.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Xml](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Xml/) πŸ“¦ * [Cuemon.Extensions.Collections.Generic](https://www.nuget.org/packages/Cuemon.Extensions.Collections.Generic/) πŸ“¦ @@ -60,8 +58,6 @@ More documentation available at our documentation site: * [Cuemon.Extensions.Hosting](https://www.nuget.org/packages/Cuemon.Extensions.Hosting/) πŸ“¦ * [Cuemon.Extensions.IO](https://www.nuget.org/packages/Cuemon.Extensions.IO/) πŸ“¦ * [Cuemon.Extensions.Net](https://www.nuget.org/packages/Cuemon.Extensions.Net/) πŸ“¦ -* [Cuemon.Extensions.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.Newtonsoft.Json/) πŸ“¦ -* [Cuemon.Extensions.Newtonsoft.Json.App](https://www.nuget.org/packages/Cuemon.Extensions.Newtonsoft.Json.App/) 🏭 * [Cuemon.Extensions.Reflection](https://www.nuget.org/packages/Cuemon.Extensions.Reflection/) πŸ“¦ * [Cuemon.Extensions.Runtime.Caching](https://www.nuget.org/packages/Cuemon.Extensions.Runtime.Caching/) πŸ“¦ * [Cuemon.Extensions.Text](https://www.nuget.org/packages/Cuemon.Extensions.Text/) πŸ“¦ diff --git a/.nuget/Cuemon.Data.Integrity/README.md b/.nuget/Cuemon.Data.Integrity/README.md index d02d63ae7..a47c378b3 100644 --- a/.nuget/Cuemon.Data.Integrity/README.md +++ b/.nuget/Cuemon.Data.Integrity/README.md @@ -31,11 +31,9 @@ More documentation available at our documentation site: * [Cuemon.Extensions.AspNetCore.Authentication](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Authentication/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Authentication.AwsSignature4](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Authentication.AwsSignature4/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.RazorPages](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.RazorPages/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Newtonsoft.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Text.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Text.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Xml](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Xml/) πŸ“¦ * [Cuemon.Extensions.Collections.Generic](https://www.nuget.org/packages/Cuemon.Extensions.Collections.Generic/) πŸ“¦ @@ -48,8 +46,6 @@ More documentation available at our documentation site: * [Cuemon.Extensions.Hosting](https://www.nuget.org/packages/Cuemon.Extensions.Hosting/) πŸ“¦ * [Cuemon.Extensions.IO](https://www.nuget.org/packages/Cuemon.Extensions.IO/) πŸ“¦ * [Cuemon.Extensions.Net](https://www.nuget.org/packages/Cuemon.Extensions.Net/) πŸ“¦ -* [Cuemon.Extensions.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.Newtonsoft.Json/) πŸ“¦ -* [Cuemon.Extensions.Newtonsoft.Json.App](https://www.nuget.org/packages/Cuemon.Extensions.Newtonsoft.Json.App/) 🏭 * [Cuemon.Extensions.Reflection](https://www.nuget.org/packages/Cuemon.Extensions.Reflection/) πŸ“¦ * [Cuemon.Extensions.Runtime.Caching](https://www.nuget.org/packages/Cuemon.Extensions.Runtime.Caching/) πŸ“¦ * [Cuemon.Extensions.Text](https://www.nuget.org/packages/Cuemon.Extensions.Text/) πŸ“¦ diff --git a/.nuget/Cuemon.Data.SqlClient/README.md b/.nuget/Cuemon.Data.SqlClient/README.md index f1bd781d5..4f0c3a758 100644 --- a/.nuget/Cuemon.Data.SqlClient/README.md +++ b/.nuget/Cuemon.Data.SqlClient/README.md @@ -31,11 +31,9 @@ More documentation available at our documentation site: * [Cuemon.Extensions.AspNetCore.Authentication](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Authentication/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Authentication.AwsSignature4](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Authentication.AwsSignature4/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.RazorPages](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.RazorPages/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Newtonsoft.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Text.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Text.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Xml](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Xml/) πŸ“¦ * [Cuemon.Extensions.Collections.Generic](https://www.nuget.org/packages/Cuemon.Extensions.Collections.Generic/) πŸ“¦ @@ -48,8 +46,6 @@ More documentation available at our documentation site: * [Cuemon.Extensions.Hosting](https://www.nuget.org/packages/Cuemon.Extensions.Hosting/) πŸ“¦ * [Cuemon.Extensions.IO](https://www.nuget.org/packages/Cuemon.Extensions.IO/) πŸ“¦ * [Cuemon.Extensions.Net](https://www.nuget.org/packages/Cuemon.Extensions.Net/) πŸ“¦ -* [Cuemon.Extensions.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.Newtonsoft.Json/) πŸ“¦ -* [Cuemon.Extensions.Newtonsoft.Json.App](https://www.nuget.org/packages/Cuemon.Extensions.Newtonsoft.Json.App/) 🏭 * [Cuemon.Extensions.Reflection](https://www.nuget.org/packages/Cuemon.Extensions.Reflection/) πŸ“¦ * [Cuemon.Extensions.Runtime.Caching](https://www.nuget.org/packages/Cuemon.Extensions.Runtime.Caching/) πŸ“¦ * [Cuemon.Extensions.Text](https://www.nuget.org/packages/Cuemon.Extensions.Text/) πŸ“¦ diff --git a/.nuget/Cuemon.Data/README.md b/.nuget/Cuemon.Data/README.md index f26685419..6abe8794e 100644 --- a/.nuget/Cuemon.Data/README.md +++ b/.nuget/Cuemon.Data/README.md @@ -32,11 +32,9 @@ More documentation available at our documentation site: * [Cuemon.Extensions.AspNetCore.Authentication](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Authentication/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Authentication.AwsSignature4](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Authentication.AwsSignature4/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.RazorPages](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.RazorPages/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Newtonsoft.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Text.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Text.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Xml](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Xml/) πŸ“¦ * [Cuemon.Extensions.Collections.Generic](https://www.nuget.org/packages/Cuemon.Extensions.Collections.Generic/) πŸ“¦ @@ -49,8 +47,6 @@ More documentation available at our documentation site: * [Cuemon.Extensions.Hosting](https://www.nuget.org/packages/Cuemon.Extensions.Hosting/) πŸ“¦ * [Cuemon.Extensions.IO](https://www.nuget.org/packages/Cuemon.Extensions.IO/) πŸ“¦ * [Cuemon.Extensions.Net](https://www.nuget.org/packages/Cuemon.Extensions.Net/) πŸ“¦ -* [Cuemon.Extensions.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.Newtonsoft.Json/) πŸ“¦ -* [Cuemon.Extensions.Newtonsoft.Json.App](https://www.nuget.org/packages/Cuemon.Extensions.Newtonsoft.Json.App/) 🏭 * [Cuemon.Extensions.Reflection](https://www.nuget.org/packages/Cuemon.Extensions.Reflection/) πŸ“¦ * [Cuemon.Extensions.Runtime.Caching](https://www.nuget.org/packages/Cuemon.Extensions.Runtime.Caching/) πŸ“¦ * [Cuemon.Extensions.Text](https://www.nuget.org/packages/Cuemon.Extensions.Text/) πŸ“¦ diff --git a/.nuget/Cuemon.Diagnostics/README.md b/.nuget/Cuemon.Diagnostics/README.md index f884cf57a..7607c5590 100644 --- a/.nuget/Cuemon.Diagnostics/README.md +++ b/.nuget/Cuemon.Diagnostics/README.md @@ -31,11 +31,9 @@ More documentation available at our documentation site: * [Cuemon.Extensions.AspNetCore.Authentication](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Authentication/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Authentication.AwsSignature4](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Authentication.AwsSignature4/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.RazorPages](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.RazorPages/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Newtonsoft.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Text.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Text.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Xml](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Xml/) πŸ“¦ * [Cuemon.Extensions.Collections.Generic](https://www.nuget.org/packages/Cuemon.Extensions.Collections.Generic/) πŸ“¦ @@ -48,8 +46,6 @@ More documentation available at our documentation site: * [Cuemon.Extensions.Hosting](https://www.nuget.org/packages/Cuemon.Extensions.Hosting/) πŸ“¦ * [Cuemon.Extensions.IO](https://www.nuget.org/packages/Cuemon.Extensions.IO/) πŸ“¦ * [Cuemon.Extensions.Net](https://www.nuget.org/packages/Cuemon.Extensions.Net/) πŸ“¦ -* [Cuemon.Extensions.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.Newtonsoft.Json/) πŸ“¦ -* [Cuemon.Extensions.Newtonsoft.Json.App](https://www.nuget.org/packages/Cuemon.Extensions.Newtonsoft.Json.App/) 🏭 * [Cuemon.Extensions.Reflection](https://www.nuget.org/packages/Cuemon.Extensions.Reflection/) πŸ“¦ * [Cuemon.Extensions.Runtime.Caching](https://www.nuget.org/packages/Cuemon.Extensions.Runtime.Caching/) πŸ“¦ * [Cuemon.Extensions.Text](https://www.nuget.org/packages/Cuemon.Extensions.Text/) πŸ“¦ diff --git a/.nuget/Cuemon.Extensions.AspNetCore.Authentication.AwsSignature4/README.md b/.nuget/Cuemon.Extensions.AspNetCore.Authentication.AwsSignature4/README.md index cbfea192c..77b8309fd 100644 --- a/.nuget/Cuemon.Extensions.AspNetCore.Authentication.AwsSignature4/README.md +++ b/.nuget/Cuemon.Extensions.AspNetCore.Authentication.AwsSignature4/README.md @@ -31,11 +31,9 @@ More documentation available at our documentation site: * [Cuemon.Extensions.AspNetCore.Authentication](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Authentication/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Authentication.AwsSignature4](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Authentication.AwsSignature4/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.RazorPages](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.RazorPages/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Newtonsoft.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Text.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Text.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Xml](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Xml/) πŸ“¦ * [Cuemon.Extensions.Collections.Generic](https://www.nuget.org/packages/Cuemon.Extensions.Collections.Generic/) πŸ“¦ @@ -48,8 +46,6 @@ More documentation available at our documentation site: * [Cuemon.Extensions.Hosting](https://www.nuget.org/packages/Cuemon.Extensions.Hosting/) πŸ“¦ * [Cuemon.Extensions.IO](https://www.nuget.org/packages/Cuemon.Extensions.IO/) πŸ“¦ * [Cuemon.Extensions.Net](https://www.nuget.org/packages/Cuemon.Extensions.Net/) πŸ“¦ -* [Cuemon.Extensions.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.Newtonsoft.Json/) πŸ“¦ -* [Cuemon.Extensions.Newtonsoft.Json.App](https://www.nuget.org/packages/Cuemon.Extensions.Newtonsoft.Json.App/) 🏭 * [Cuemon.Extensions.Reflection](https://www.nuget.org/packages/Cuemon.Extensions.Reflection/) πŸ“¦ * [Cuemon.Extensions.Runtime.Caching](https://www.nuget.org/packages/Cuemon.Extensions.Runtime.Caching/) πŸ“¦ * [Cuemon.Extensions.Text](https://www.nuget.org/packages/Cuemon.Extensions.Text/) πŸ“¦ diff --git a/.nuget/Cuemon.Extensions.AspNetCore.Authentication/README.md b/.nuget/Cuemon.Extensions.AspNetCore.Authentication/README.md index 0d59bb6dd..9f9d18459 100644 --- a/.nuget/Cuemon.Extensions.AspNetCore.Authentication/README.md +++ b/.nuget/Cuemon.Extensions.AspNetCore.Authentication/README.md @@ -31,11 +31,9 @@ More documentation available at our documentation site: * [Cuemon.Extensions.AspNetCore.Authentication](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Authentication/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Authentication.AwsSignature4](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Authentication.AwsSignature4/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.RazorPages](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.RazorPages/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Newtonsoft.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Text.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Text.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Xml](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Xml/) πŸ“¦ * [Cuemon.Extensions.Collections.Generic](https://www.nuget.org/packages/Cuemon.Extensions.Collections.Generic/) πŸ“¦ @@ -48,8 +46,6 @@ More documentation available at our documentation site: * [Cuemon.Extensions.Hosting](https://www.nuget.org/packages/Cuemon.Extensions.Hosting/) πŸ“¦ * [Cuemon.Extensions.IO](https://www.nuget.org/packages/Cuemon.Extensions.IO/) πŸ“¦ * [Cuemon.Extensions.Net](https://www.nuget.org/packages/Cuemon.Extensions.Net/) πŸ“¦ -* [Cuemon.Extensions.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.Newtonsoft.Json/) πŸ“¦ -* [Cuemon.Extensions.Newtonsoft.Json.App](https://www.nuget.org/packages/Cuemon.Extensions.Newtonsoft.Json.App/) 🏭 * [Cuemon.Extensions.Reflection](https://www.nuget.org/packages/Cuemon.Extensions.Reflection/) πŸ“¦ * [Cuemon.Extensions.Runtime.Caching](https://www.nuget.org/packages/Cuemon.Extensions.Runtime.Caching/) πŸ“¦ * [Cuemon.Extensions.Text](https://www.nuget.org/packages/Cuemon.Extensions.Text/) πŸ“¦ diff --git a/.nuget/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json/PackageReleaseNotes.txt b/.nuget/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json/PackageReleaseNotes.txt deleted file mode 100644 index 4e0ac4728..000000000 --- a/.nuget/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json/PackageReleaseNotes.txt +++ /dev/null @@ -1,56 +0,0 @@ -ο»ΏVersion 9.0.0 -Availability: .NET 9 and .NET 8 -Β  -# ALM -- CHANGED Dependencies to latest and greatest with respect to TFMs -- REMOVED Support for TFM .NET 6 (LTS) -Β  -# Breaking Changes -- REMOVED HttpExceptionDescriptorResponseHandlerExtensions class from the Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json namespace -Β  -Version 8.3.2 -Availability: .NET 8 and .NET 6 -Β  -# ALM -- REMOVED Support for TFM .NET 7 (STS) -Β  -Version 8.2.0 -Availability: .NET 8, .NET 7 and .NET 6 -Β  -# ALM -- CHANGED Dependencies to latest and greatest with respect to TFMs -Β  -Version: 8.1.0 -Availability: .NET 8, .NET 7 and .NET 6 -Β  -# ALM -- CHANGED Dependencies to latest and greatest with respect to TFMs -Β  -# Bug Fixes -- FIXED HttpExceptionDescriptorResponseHandlerExtensions class in the Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json namespace so that AddNewtonsoftJsonResponseHandler now enumerates all supported media types in regards to content negotiation -Β  -# Improvements -- CHANGED HttpExceptionDescriptorResponseHandlerExtensions class in the Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json marking the method, AddNewtonsoftJsonResponseHandler, obsolete (should use AddNewtonsoftJsonExceptionResponseFormatter instead) -- CHANGED MvcBuilderExtensions class in the Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json namespace to be more lean having only two extension methods remaining; AddNewtonsoftJsonFormatters and AddNewtonsoftJsonFormattersOptions -- CHANGED MvcCoreBuilderExtensions class in the Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json namespace to be more lean having only two extension methods remaining; AddNewtonsoftJsonFormatters and AddNewtonsoftJsonFormattersOptions -Β  -# Breaking Changes (soft) -- MOVED JsonConverterCollectionExtensions from Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json.Converters namespace to Cuemon.Extensions.AspNetCore.Newtonsoft assembly into the Cuemon.Extensions.AspNetCore.Newtonsoft.Json.Converters namespace -Β  -Version: 8.0.1 -Availability: .NET 8, .NET 7 and .NET 6 -Β  -# ALM -- CHANGED Dependencies to latest and greatest with respect to TFMs -Β  -Version: 8.0.0 -Availability: .NET 8, .NET 7 and .NET 6 -Β  -# ALM -- ADDED TFM for net8.0 -- REMOVED TFM for netstandard2.0 -- CHANGED Dependencies to latest and greatest with respect to TFMs -Β  -# Bug Fixes -- FIXED AddNewtonsoftJsonResponseHandler extension method to properly propagate options to NewtonsoftJsonFormatter serialization method in the HttpExceptionDescriptorResponseHandlerExtensions in the Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json namespace -Β  \ No newline at end of file diff --git a/.nuget/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json/README.md b/.nuget/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json/README.md deleted file mode 100644 index a65cf2af8..000000000 --- a/.nuget/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json/README.md +++ /dev/null @@ -1,66 +0,0 @@ -## About - -An open-source project (MIT license) that targets and complements the Microsoft .NET platform. It provides vast ways of possibilities for all breeds of coders, programmers, developers and the likes thereof. -Your ideal companion for .NET 8, .NET 7, .NET 6, .NET Standard 2 and .NET Framework 4.6.2 and newer. - -It is, by heart, free, flexible and built to extend and boost your agile codebelt. - -## **Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json** for .NET - -The `Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json` namespace contains both types and extension methods that complements both the `Cuemon.Extensions.Newtonsoft.Json`/`Cuemon.Extensions.AspNetCore.Newtonsoft.Json` namespace while being an addition to the `Microsoft.AspNetCore.Mvc` namespace. Provides JSON formatters for ASP.NET Core MVC that is powered by Newtonsoft.Json. - -More documentation available at our documentation site: - -- [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json](https://docs.cuemon.net/api/extensions/jsonnet/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json.html) πŸ”— -- [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json.Converters](https://docs.cuemon.net/api/extensions/jsonnet/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json.Converters.html) πŸ”— - -## Related Packages - -* [Cuemon.AspNetCore](https://www.nuget.org/packages/Cuemon.AspNetCore/) πŸ“¦ -* [Cuemon.AspNetCore.App](https://www.nuget.org/packages/Cuemon.AspNetCore.App/) 🏭 -* [Cuemon.AspNetCore.Authentication](https://www.nuget.org/packages/Cuemon.AspNetCore.Authentication/) πŸ“¦ -* [Cuemon.AspNetCore.Mvc](https://www.nuget.org/packages/Cuemon.AspNetCore.Mvc/) πŸ“¦ -* [Cuemon.AspNetCore.Razor.TagHelpers](https://www.nuget.org/packages/Cuemon.AspNetCore.Razor.TagHelpers/) πŸ“¦ -* [Cuemon.Core](https://www.nuget.org/packages/Cuemon.Core/) πŸ“¦ -* [Cuemon.Core.App](https://www.nuget.org/packages/Cuemon.Core.App/) 🏭 -* [Cuemon.Data](https://www.nuget.org/packages/Cuemon.Data/) πŸ“¦ -* [Cuemon.Data.Integrity](https://www.nuget.org/packages/Cuemon.Data.Integrity/) πŸ“¦ -* [Cuemon.Data.SqlClient](https://www.nuget.org/packages/Cuemon.Data.SqlClient/) πŸ“¦ -* [Cuemon.Diagnostics](https://www.nuget.org/packages/Cuemon.Diagnostics/) πŸ“¦ -* [Cuemon.Extensions.Globalization](https://www.nuget.org/packages/Cuemon.Extensions.Globalization/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Authentication](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Authentication/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Authentication.AwsSignature4](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Authentication.AwsSignature4/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Mvc](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Mvc.RazorPages](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.RazorPages/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Newtonsoft.Json/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Text.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Text.Json/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Xml](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Xml/) πŸ“¦ -* [Cuemon.Extensions.Collections.Generic](https://www.nuget.org/packages/Cuemon.Extensions.Collections.Generic/) πŸ“¦ -* [Cuemon.Extensions.Collections.Specialized](https://www.nuget.org/packages/Cuemon.Extensions.Collections.Specialized/) πŸ“¦ -* [Cuemon.Extensions.Core](https://www.nuget.org/packages/Cuemon.Extensions.Core/) πŸ“¦ -* [Cuemon.Extensions.Data](https://www.nuget.org/packages/Cuemon.Extensions.Data/) πŸ“¦ -* [Cuemon.Extensions.Data.Integrity](https://www.nuget.org/packages/Cuemon.Extensions.Data.Integrity/) πŸ“¦ -* [Cuemon.Extensions.DependencyInjection](https://www.nuget.org/packages/Cuemon.Extensions.DependencyInjection/) πŸ“¦ -* [Cuemon.Extensions.Diagnostics](https://www.nuget.org/packages/Cuemon.Extensions.Diagnostics/) πŸ“¦ -* [Cuemon.Extensions.Hosting](https://www.nuget.org/packages/Cuemon.Extensions.Hosting/) πŸ“¦ -* [Cuemon.Extensions.IO](https://www.nuget.org/packages/Cuemon.Extensions.IO/) πŸ“¦ -* [Cuemon.Extensions.Net](https://www.nuget.org/packages/Cuemon.Extensions.Net/) πŸ“¦ -* [Cuemon.Extensions.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.Newtonsoft.Json/) πŸ“¦ -* [Cuemon.Extensions.Newtonsoft.Json.App](https://www.nuget.org/packages/Cuemon.Extensions.Newtonsoft.Json.App/) 🏭 -* [Cuemon.Extensions.Reflection](https://www.nuget.org/packages/Cuemon.Extensions.Reflection/) πŸ“¦ -* [Cuemon.Extensions.Runtime.Caching](https://www.nuget.org/packages/Cuemon.Extensions.Runtime.Caching/) πŸ“¦ -* [Cuemon.Extensions.Text](https://www.nuget.org/packages/Cuemon.Extensions.Text/) πŸ“¦ -* [Cuemon.Extensions.Text.Json](https://www.nuget.org/packages/Cuemon.Extensions.Text.Json/) πŸ“¦ -* [Cuemon.Extensions.Threading](https://www.nuget.org/packages/Cuemon.Extensions.Threading/) πŸ“¦ -* [Cuemon.Extensions.Xml](https://www.nuget.org/packages/Cuemon.Extensions.Xml/) πŸ“¦ -* [Cuemon.IO](https://www.nuget.org/packages/Cuemon.IO/) πŸ“¦ -* [Cuemon.Net](https://www.nuget.org/packages/Cuemon.Net/) πŸ“¦ -* [Cuemon.Resilience](https://www.nuget.org/packages/Cuemon.Resilience/) πŸ“¦ -* [Cuemon.Runtime.Caching](https://www.nuget.org/packages/Cuemon.Runtime.Caching/) πŸ“¦ -* [Cuemon.Security.Cryptography](https://www.nuget.org/packages/Cuemon.Security.Cryptography/) πŸ“¦ -* [Cuemon.Threading](https://www.nuget.org/packages/Cuemon.Threading/) πŸ“¦ -* [Cuemon.Xml](https://www.nuget.org/packages/Cuemon.Xml/) πŸ“¦ diff --git a/.nuget/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json/README.md b/.nuget/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json/README.md index 2715293d2..5dc39d4c3 100644 --- a/.nuget/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json/README.md +++ b/.nuget/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json/README.md @@ -32,11 +32,9 @@ More documentation available at our documentation site: * [Cuemon.Extensions.AspNetCore.Authentication](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Authentication/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Authentication.AwsSignature4](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Authentication.AwsSignature4/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.RazorPages](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.RazorPages/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Newtonsoft.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Text.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Text.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Xml](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Xml/) πŸ“¦ * [Cuemon.Extensions.Collections.Generic](https://www.nuget.org/packages/Cuemon.Extensions.Collections.Generic/) πŸ“¦ @@ -49,8 +47,6 @@ More documentation available at our documentation site: * [Cuemon.Extensions.Hosting](https://www.nuget.org/packages/Cuemon.Extensions.Hosting/) πŸ“¦ * [Cuemon.Extensions.IO](https://www.nuget.org/packages/Cuemon.Extensions.IO/) πŸ“¦ * [Cuemon.Extensions.Net](https://www.nuget.org/packages/Cuemon.Extensions.Net/) πŸ“¦ -* [Cuemon.Extensions.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.Newtonsoft.Json/) πŸ“¦ -* [Cuemon.Extensions.Newtonsoft.Json.App](https://www.nuget.org/packages/Cuemon.Extensions.Newtonsoft.Json.App/) 🏭 * [Cuemon.Extensions.Reflection](https://www.nuget.org/packages/Cuemon.Extensions.Reflection/) πŸ“¦ * [Cuemon.Extensions.Runtime.Caching](https://www.nuget.org/packages/Cuemon.Extensions.Runtime.Caching/) πŸ“¦ * [Cuemon.Extensions.Text](https://www.nuget.org/packages/Cuemon.Extensions.Text/) πŸ“¦ diff --git a/.nuget/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml/README.md b/.nuget/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml/README.md index c0994cc2f..2d3e5e1b5 100644 --- a/.nuget/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml/README.md +++ b/.nuget/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml/README.md @@ -32,11 +32,9 @@ More documentation available at our documentation site: * [Cuemon.Extensions.AspNetCore.Authentication](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Authentication/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Authentication.AwsSignature4](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Authentication.AwsSignature4/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.RazorPages](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.RazorPages/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Newtonsoft.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Text.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Text.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Xml](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Xml/) πŸ“¦ * [Cuemon.Extensions.Collections.Generic](https://www.nuget.org/packages/Cuemon.Extensions.Collections.Generic/) πŸ“¦ @@ -49,8 +47,6 @@ More documentation available at our documentation site: * [Cuemon.Extensions.Hosting](https://www.nuget.org/packages/Cuemon.Extensions.Hosting/) πŸ“¦ * [Cuemon.Extensions.IO](https://www.nuget.org/packages/Cuemon.Extensions.IO/) πŸ“¦ * [Cuemon.Extensions.Net](https://www.nuget.org/packages/Cuemon.Extensions.Net/) πŸ“¦ -* [Cuemon.Extensions.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.Newtonsoft.Json/) πŸ“¦ -* [Cuemon.Extensions.Newtonsoft.Json.App](https://www.nuget.org/packages/Cuemon.Extensions.Newtonsoft.Json.App/) 🏭 * [Cuemon.Extensions.Reflection](https://www.nuget.org/packages/Cuemon.Extensions.Reflection/) πŸ“¦ * [Cuemon.Extensions.Runtime.Caching](https://www.nuget.org/packages/Cuemon.Extensions.Runtime.Caching/) πŸ“¦ * [Cuemon.Extensions.Text](https://www.nuget.org/packages/Cuemon.Extensions.Text/) πŸ“¦ diff --git a/.nuget/Cuemon.Extensions.AspNetCore.Mvc.RazorPages/README.md b/.nuget/Cuemon.Extensions.AspNetCore.Mvc.RazorPages/README.md index d29ab4797..cc8a19aab 100644 --- a/.nuget/Cuemon.Extensions.AspNetCore.Mvc.RazorPages/README.md +++ b/.nuget/Cuemon.Extensions.AspNetCore.Mvc.RazorPages/README.md @@ -31,11 +31,9 @@ More documentation available at our documentation site: * [Cuemon.Extensions.AspNetCore.Authentication](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Authentication/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Authentication.AwsSignature4](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Authentication.AwsSignature4/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.RazorPages](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.RazorPages/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Newtonsoft.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Text.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Text.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Xml](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Xml/) πŸ“¦ * [Cuemon.Extensions.Collections.Generic](https://www.nuget.org/packages/Cuemon.Extensions.Collections.Generic/) πŸ“¦ @@ -48,8 +46,6 @@ More documentation available at our documentation site: * [Cuemon.Extensions.Hosting](https://www.nuget.org/packages/Cuemon.Extensions.Hosting/) πŸ“¦ * [Cuemon.Extensions.IO](https://www.nuget.org/packages/Cuemon.Extensions.IO/) πŸ“¦ * [Cuemon.Extensions.Net](https://www.nuget.org/packages/Cuemon.Extensions.Net/) πŸ“¦ -* [Cuemon.Extensions.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.Newtonsoft.Json/) πŸ“¦ -* [Cuemon.Extensions.Newtonsoft.Json.App](https://www.nuget.org/packages/Cuemon.Extensions.Newtonsoft.Json.App/) 🏭 * [Cuemon.Extensions.Reflection](https://www.nuget.org/packages/Cuemon.Extensions.Reflection/) πŸ“¦ * [Cuemon.Extensions.Runtime.Caching](https://www.nuget.org/packages/Cuemon.Extensions.Runtime.Caching/) πŸ“¦ * [Cuemon.Extensions.Text](https://www.nuget.org/packages/Cuemon.Extensions.Text/) πŸ“¦ diff --git a/.nuget/Cuemon.Extensions.AspNetCore.Mvc/README.md b/.nuget/Cuemon.Extensions.AspNetCore.Mvc/README.md index d1d223d70..b60d9ad0d 100644 --- a/.nuget/Cuemon.Extensions.AspNetCore.Mvc/README.md +++ b/.nuget/Cuemon.Extensions.AspNetCore.Mvc/README.md @@ -34,11 +34,9 @@ More documentation available at our documentation site: * [Cuemon.Extensions.AspNetCore.Authentication](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Authentication/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Authentication.AwsSignature4](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Authentication.AwsSignature4/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.RazorPages](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.RazorPages/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Newtonsoft.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Text.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Text.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Xml](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Xml/) πŸ“¦ * [Cuemon.Extensions.Collections.Generic](https://www.nuget.org/packages/Cuemon.Extensions.Collections.Generic/) πŸ“¦ @@ -51,8 +49,6 @@ More documentation available at our documentation site: * [Cuemon.Extensions.Hosting](https://www.nuget.org/packages/Cuemon.Extensions.Hosting/) πŸ“¦ * [Cuemon.Extensions.IO](https://www.nuget.org/packages/Cuemon.Extensions.IO/) πŸ“¦ * [Cuemon.Extensions.Net](https://www.nuget.org/packages/Cuemon.Extensions.Net/) πŸ“¦ -* [Cuemon.Extensions.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.Newtonsoft.Json/) πŸ“¦ -* [Cuemon.Extensions.Newtonsoft.Json.App](https://www.nuget.org/packages/Cuemon.Extensions.Newtonsoft.Json.App/) 🏭 * [Cuemon.Extensions.Reflection](https://www.nuget.org/packages/Cuemon.Extensions.Reflection/) πŸ“¦ * [Cuemon.Extensions.Runtime.Caching](https://www.nuget.org/packages/Cuemon.Extensions.Runtime.Caching/) πŸ“¦ * [Cuemon.Extensions.Text](https://www.nuget.org/packages/Cuemon.Extensions.Text/) πŸ“¦ diff --git a/.nuget/Cuemon.Extensions.AspNetCore.Newtonsoft.Json/PackageReleaseNotes.txt b/.nuget/Cuemon.Extensions.AspNetCore.Newtonsoft.Json/PackageReleaseNotes.txt deleted file mode 100644 index 2bf835e60..000000000 --- a/.nuget/Cuemon.Extensions.AspNetCore.Newtonsoft.Json/PackageReleaseNotes.txt +++ /dev/null @@ -1,32 +0,0 @@ -ο»ΏVersion 9.0.0 -Availability: .NET 9 and .NET 8 -Β  -# ALM -- CHANGED Dependencies to latest and greatest with respect to TFMs -- REMOVED Support for TFM .NET 6 (LTS) -Β  -# Improvements -- EXTENDED JsonConverterCollectionExtensions class in the Cuemon.Extensions.AspNetCore.Newtonsoft.Json.Converters namespace to include one new extension method: AddProblemDetailsConverter -Β  -Version 8.3.2 -Availability: .NET 8 and .NET 6 -Β  -# ALM -- REMOVED Support for TFM .NET 7 (STS) -Β  -Version 8.2.0 -Availability: .NET 8, .NET 7 and .NET 6 -Β  -# ALM -- CHANGED Dependencies to latest and greatest with respect to TFMs -Β  -Version: 8.1.0 -Availability: .NET 8, .NET 7 and .NET 6 -Β  -# ALM -- CHANGED Dependencies to latest and greatest with respect to TFMs -Β  -# New Features -- ADDED JsonConverterCollectionExtensions class in the Cuemon.Extensions.AspNetCore.Newtonsoft.Json.Converters namespace that consist of extension methods for the JsonConverter class: AddHttpExceptionDescriptorConverter and AddStringValuesConverter -- ADDED ServiceCollectionExtensions class in the Cuemon.Extensions.AspNetCore.Newtonsoft.Json.Formatters namespace that consist of extension methods for the IServiceCollection interface: AddNewtonsoftJsonFormatterOptions and AddNewtonsoftJsonExceptionResponseFormatter -Β  \ No newline at end of file diff --git a/.nuget/Cuemon.Extensions.AspNetCore.Newtonsoft.Json/README.md b/.nuget/Cuemon.Extensions.AspNetCore.Newtonsoft.Json/README.md deleted file mode 100644 index 468f357b5..000000000 --- a/.nuget/Cuemon.Extensions.AspNetCore.Newtonsoft.Json/README.md +++ /dev/null @@ -1,66 +0,0 @@ -## About - -An open-source project (MIT license) that targets and complements the Microsoft .NET platform. It provides vast ways of possibilities for all breeds of coders, programmers, developers and the likes thereof. -Your ideal companion for .NET 8, .NET 7, .NET 6, .NET Standard 2 and .NET Framework 4.6.2 and newer. - -It is, by heart, free, flexible and built to extend and boost your agile codebelt. - -## **Cuemon.Extensions.AspNetCore.Text.Json** for .NET - -The `Cuemon.Extensions.AspNetCore.Newtonsoft.Json` namespace contains both types and extension methods that complements the `Cuemon.AspNetCore`/`Cuemon.Extensions.Newtonsoft.Json` namespace while being an addition to the `Microsoft.AspNetCore` namespace. Extends upon JSON formatters and converters in the context of ASP.NET Core for `Newtonsoft.Json`. - -More documentation available at our documentation site: - -- [Cuemon.Extensions.AspNetCore.Newtonsoft.Json.Converters](https://docs.cuemon.net/api/extensions/jsonnet/Cuemon.Extensions.AspNetCore.Newtonsoft.Json.Converters.html) πŸ”— -- [Cuemon.Extensions.AspNetCore.Newtonsoft.Json.Formatters](https://docs.cuemon.net/api/extensions/jsonnet/Cuemon.Extensions.AspNetCore.Newtonsoft.Json.Formatters.html) πŸ”— - -## Related Packages - -* [Cuemon.AspNetCore](https://www.nuget.org/packages/Cuemon.AspNetCore/) πŸ“¦ -* [Cuemon.AspNetCore.App](https://www.nuget.org/packages/Cuemon.AspNetCore.App/) 🏭 -* [Cuemon.AspNetCore.Authentication](https://www.nuget.org/packages/Cuemon.AspNetCore.Authentication/) πŸ“¦ -* [Cuemon.AspNetCore.Mvc](https://www.nuget.org/packages/Cuemon.AspNetCore.Mvc/) πŸ“¦ -* [Cuemon.AspNetCore.Razor.TagHelpers](https://www.nuget.org/packages/Cuemon.AspNetCore.Razor.TagHelpers/) πŸ“¦ -* [Cuemon.Core](https://www.nuget.org/packages/Cuemon.Core/) πŸ“¦ -* [Cuemon.Core.App](https://www.nuget.org/packages/Cuemon.Core.App/) 🏭 -* [Cuemon.Data](https://www.nuget.org/packages/Cuemon.Data/) πŸ“¦ -* [Cuemon.Data.Integrity](https://www.nuget.org/packages/Cuemon.Data.Integrity/) πŸ“¦ -* [Cuemon.Data.SqlClient](https://www.nuget.org/packages/Cuemon.Data.SqlClient/) πŸ“¦ -* [Cuemon.Diagnostics](https://www.nuget.org/packages/Cuemon.Diagnostics/) πŸ“¦ -* [Cuemon.Extensions.Globalization](https://www.nuget.org/packages/Cuemon.Extensions.Globalization/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Authentication](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Authentication/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Authentication.AwsSignature4](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Authentication.AwsSignature4/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Mvc](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Mvc.RazorPages](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.RazorPages/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Newtonsoft.Json/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Text.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Text.Json/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Xml](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Xml/) πŸ“¦ -* [Cuemon.Extensions.Collections.Generic](https://www.nuget.org/packages/Cuemon.Extensions.Collections.Generic/) πŸ“¦ -* [Cuemon.Extensions.Collections.Specialized](https://www.nuget.org/packages/Cuemon.Extensions.Collections.Specialized/) πŸ“¦ -* [Cuemon.Extensions.Core](https://www.nuget.org/packages/Cuemon.Extensions.Core/) πŸ“¦ -* [Cuemon.Extensions.Data](https://www.nuget.org/packages/Cuemon.Extensions.Data/) πŸ“¦ -* [Cuemon.Extensions.Data.Integrity](https://www.nuget.org/packages/Cuemon.Extensions.Data.Integrity/) πŸ“¦ -* [Cuemon.Extensions.DependencyInjection](https://www.nuget.org/packages/Cuemon.Extensions.DependencyInjection/) πŸ“¦ -* [Cuemon.Extensions.Diagnostics](https://www.nuget.org/packages/Cuemon.Extensions.Diagnostics/) πŸ“¦ -* [Cuemon.Extensions.Hosting](https://www.nuget.org/packages/Cuemon.Extensions.Hosting/) πŸ“¦ -* [Cuemon.Extensions.IO](https://www.nuget.org/packages/Cuemon.Extensions.IO/) πŸ“¦ -* [Cuemon.Extensions.Net](https://www.nuget.org/packages/Cuemon.Extensions.Net/) πŸ“¦ -* [Cuemon.Extensions.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.Newtonsoft.Json/) πŸ“¦ -* [Cuemon.Extensions.Newtonsoft.Json.App](https://www.nuget.org/packages/Cuemon.Extensions.Newtonsoft.Json.App/) 🏭 -* [Cuemon.Extensions.Reflection](https://www.nuget.org/packages/Cuemon.Extensions.Reflection/) πŸ“¦ -* [Cuemon.Extensions.Runtime.Caching](https://www.nuget.org/packages/Cuemon.Extensions.Runtime.Caching/) πŸ“¦ -* [Cuemon.Extensions.Text](https://www.nuget.org/packages/Cuemon.Extensions.Text/) πŸ“¦ -* [Cuemon.Extensions.Text.Json](https://www.nuget.org/packages/Cuemon.Extensions.Text.Json/) πŸ“¦ -* [Cuemon.Extensions.Threading](https://www.nuget.org/packages/Cuemon.Extensions.Threading/) πŸ“¦ -* [Cuemon.Extensions.Xml](https://www.nuget.org/packages/Cuemon.Extensions.Xml/) πŸ“¦ -* [Cuemon.IO](https://www.nuget.org/packages/Cuemon.IO/) πŸ“¦ -* [Cuemon.Net](https://www.nuget.org/packages/Cuemon.Net/) πŸ“¦ -* [Cuemon.Resilience](https://www.nuget.org/packages/Cuemon.Resilience/) πŸ“¦ -* [Cuemon.Runtime.Caching](https://www.nuget.org/packages/Cuemon.Runtime.Caching/) πŸ“¦ -* [Cuemon.Security.Cryptography](https://www.nuget.org/packages/Cuemon.Security.Cryptography/) πŸ“¦ -* [Cuemon.Threading](https://www.nuget.org/packages/Cuemon.Threading/) πŸ“¦ -* [Cuemon.Xml](https://www.nuget.org/packages/Cuemon.Xml/) πŸ“¦ diff --git a/.nuget/Cuemon.Extensions.AspNetCore.Text.Json/README.md b/.nuget/Cuemon.Extensions.AspNetCore.Text.Json/README.md index f0cf84511..773f91788 100644 --- a/.nuget/Cuemon.Extensions.AspNetCore.Text.Json/README.md +++ b/.nuget/Cuemon.Extensions.AspNetCore.Text.Json/README.md @@ -32,11 +32,9 @@ More documentation available at our documentation site: * [Cuemon.Extensions.AspNetCore.Authentication](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Authentication/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Authentication.AwsSignature4](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Authentication.AwsSignature4/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.RazorPages](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.RazorPages/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Newtonsoft.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Text.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Text.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Xml](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Xml/) πŸ“¦ * [Cuemon.Extensions.Collections.Generic](https://www.nuget.org/packages/Cuemon.Extensions.Collections.Generic/) πŸ“¦ @@ -49,8 +47,6 @@ More documentation available at our documentation site: * [Cuemon.Extensions.Hosting](https://www.nuget.org/packages/Cuemon.Extensions.Hosting/) πŸ“¦ * [Cuemon.Extensions.IO](https://www.nuget.org/packages/Cuemon.Extensions.IO/) πŸ“¦ * [Cuemon.Extensions.Net](https://www.nuget.org/packages/Cuemon.Extensions.Net/) πŸ“¦ -* [Cuemon.Extensions.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.Newtonsoft.Json/) πŸ“¦ -* [Cuemon.Extensions.Newtonsoft.Json.App](https://www.nuget.org/packages/Cuemon.Extensions.Newtonsoft.Json.App/) 🏭 * [Cuemon.Extensions.Reflection](https://www.nuget.org/packages/Cuemon.Extensions.Reflection/) πŸ“¦ * [Cuemon.Extensions.Runtime.Caching](https://www.nuget.org/packages/Cuemon.Extensions.Runtime.Caching/) πŸ“¦ * [Cuemon.Extensions.Text](https://www.nuget.org/packages/Cuemon.Extensions.Text/) πŸ“¦ diff --git a/.nuget/Cuemon.Extensions.AspNetCore.Xml/README.md b/.nuget/Cuemon.Extensions.AspNetCore.Xml/README.md index 9a88cbf9c..41c4603d7 100644 --- a/.nuget/Cuemon.Extensions.AspNetCore.Xml/README.md +++ b/.nuget/Cuemon.Extensions.AspNetCore.Xml/README.md @@ -32,11 +32,9 @@ More documentation available at our documentation site: * [Cuemon.Extensions.AspNetCore.Authentication](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Authentication/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Authentication.AwsSignature4](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Authentication.AwsSignature4/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.RazorPages](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.RazorPages/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Newtonsoft.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Text.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Text.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Xml](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Xml/) πŸ“¦ * [Cuemon.Extensions.Collections.Generic](https://www.nuget.org/packages/Cuemon.Extensions.Collections.Generic/) πŸ“¦ @@ -49,8 +47,6 @@ More documentation available at our documentation site: * [Cuemon.Extensions.Hosting](https://www.nuget.org/packages/Cuemon.Extensions.Hosting/) πŸ“¦ * [Cuemon.Extensions.IO](https://www.nuget.org/packages/Cuemon.Extensions.IO/) πŸ“¦ * [Cuemon.Extensions.Net](https://www.nuget.org/packages/Cuemon.Extensions.Net/) πŸ“¦ -* [Cuemon.Extensions.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.Newtonsoft.Json/) πŸ“¦ -* [Cuemon.Extensions.Newtonsoft.Json.App](https://www.nuget.org/packages/Cuemon.Extensions.Newtonsoft.Json.App/) 🏭 * [Cuemon.Extensions.Reflection](https://www.nuget.org/packages/Cuemon.Extensions.Reflection/) πŸ“¦ * [Cuemon.Extensions.Runtime.Caching](https://www.nuget.org/packages/Cuemon.Extensions.Runtime.Caching/) πŸ“¦ * [Cuemon.Extensions.Text](https://www.nuget.org/packages/Cuemon.Extensions.Text/) πŸ“¦ diff --git a/.nuget/Cuemon.Extensions.AspNetCore/README.md b/.nuget/Cuemon.Extensions.AspNetCore/README.md index c05494674..bab72dde1 100644 --- a/.nuget/Cuemon.Extensions.AspNetCore/README.md +++ b/.nuget/Cuemon.Extensions.AspNetCore/README.md @@ -37,11 +37,9 @@ More documentation available at our documentation site: * [Cuemon.Extensions.AspNetCore.Authentication](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Authentication/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Authentication.AwsSignature4](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Authentication.AwsSignature4/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.RazorPages](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.RazorPages/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Newtonsoft.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Text.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Text.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Xml](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Xml/) πŸ“¦ * [Cuemon.Extensions.Collections.Generic](https://www.nuget.org/packages/Cuemon.Extensions.Collections.Generic/) πŸ“¦ @@ -54,8 +52,6 @@ More documentation available at our documentation site: * [Cuemon.Extensions.Hosting](https://www.nuget.org/packages/Cuemon.Extensions.Hosting/) πŸ“¦ * [Cuemon.Extensions.IO](https://www.nuget.org/packages/Cuemon.Extensions.IO/) πŸ“¦ * [Cuemon.Extensions.Net](https://www.nuget.org/packages/Cuemon.Extensions.Net/) πŸ“¦ -* [Cuemon.Extensions.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.Newtonsoft.Json/) πŸ“¦ -* [Cuemon.Extensions.Newtonsoft.Json.App](https://www.nuget.org/packages/Cuemon.Extensions.Newtonsoft.Json.App/) 🏭 * [Cuemon.Extensions.Reflection](https://www.nuget.org/packages/Cuemon.Extensions.Reflection/) πŸ“¦ * [Cuemon.Extensions.Runtime.Caching](https://www.nuget.org/packages/Cuemon.Extensions.Runtime.Caching/) πŸ“¦ * [Cuemon.Extensions.Text](https://www.nuget.org/packages/Cuemon.Extensions.Text/) πŸ“¦ diff --git a/.nuget/Cuemon.Extensions.Collections.Generic/README.md b/.nuget/Cuemon.Extensions.Collections.Generic/README.md index 6b8e03d37..9bd53b3e8 100644 --- a/.nuget/Cuemon.Extensions.Collections.Generic/README.md +++ b/.nuget/Cuemon.Extensions.Collections.Generic/README.md @@ -31,11 +31,9 @@ More documentation available at our documentation site: * [Cuemon.Extensions.AspNetCore.Authentication](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Authentication/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Authentication.AwsSignature4](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Authentication.AwsSignature4/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.RazorPages](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.RazorPages/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Newtonsoft.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Text.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Text.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Xml](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Xml/) πŸ“¦ * [Cuemon.Extensions.Collections.Generic](https://www.nuget.org/packages/Cuemon.Extensions.Collections.Generic/) πŸ“¦ @@ -48,8 +46,6 @@ More documentation available at our documentation site: * [Cuemon.Extensions.Hosting](https://www.nuget.org/packages/Cuemon.Extensions.Hosting/) πŸ“¦ * [Cuemon.Extensions.IO](https://www.nuget.org/packages/Cuemon.Extensions.IO/) πŸ“¦ * [Cuemon.Extensions.Net](https://www.nuget.org/packages/Cuemon.Extensions.Net/) πŸ“¦ -* [Cuemon.Extensions.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.Newtonsoft.Json/) πŸ“¦ -* [Cuemon.Extensions.Newtonsoft.Json.App](https://www.nuget.org/packages/Cuemon.Extensions.Newtonsoft.Json.App/) 🏭 * [Cuemon.Extensions.Reflection](https://www.nuget.org/packages/Cuemon.Extensions.Reflection/) πŸ“¦ * [Cuemon.Extensions.Runtime.Caching](https://www.nuget.org/packages/Cuemon.Extensions.Runtime.Caching/) πŸ“¦ * [Cuemon.Extensions.Text](https://www.nuget.org/packages/Cuemon.Extensions.Text/) πŸ“¦ diff --git a/.nuget/Cuemon.Extensions.Collections.Specialized/README.md b/.nuget/Cuemon.Extensions.Collections.Specialized/README.md index 160531868..f7512f61b 100644 --- a/.nuget/Cuemon.Extensions.Collections.Specialized/README.md +++ b/.nuget/Cuemon.Extensions.Collections.Specialized/README.md @@ -31,11 +31,9 @@ More documentation available at our documentation site: * [Cuemon.Extensions.AspNetCore.Authentication](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Authentication/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Authentication.AwsSignature4](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Authentication.AwsSignature4/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.RazorPages](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.RazorPages/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Newtonsoft.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Text.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Text.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Xml](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Xml/) πŸ“¦ * [Cuemon.Extensions.Collections.Generic](https://www.nuget.org/packages/Cuemon.Extensions.Collections.Generic/) πŸ“¦ @@ -48,8 +46,6 @@ More documentation available at our documentation site: * [Cuemon.Extensions.Hosting](https://www.nuget.org/packages/Cuemon.Extensions.Hosting/) πŸ“¦ * [Cuemon.Extensions.IO](https://www.nuget.org/packages/Cuemon.Extensions.IO/) πŸ“¦ * [Cuemon.Extensions.Net](https://www.nuget.org/packages/Cuemon.Extensions.Net/) πŸ“¦ -* [Cuemon.Extensions.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.Newtonsoft.Json/) πŸ“¦ -* [Cuemon.Extensions.Newtonsoft.Json.App](https://www.nuget.org/packages/Cuemon.Extensions.Newtonsoft.Json.App/) 🏭 * [Cuemon.Extensions.Reflection](https://www.nuget.org/packages/Cuemon.Extensions.Reflection/) πŸ“¦ * [Cuemon.Extensions.Runtime.Caching](https://www.nuget.org/packages/Cuemon.Extensions.Runtime.Caching/) πŸ“¦ * [Cuemon.Extensions.Text](https://www.nuget.org/packages/Cuemon.Extensions.Text/) πŸ“¦ diff --git a/.nuget/Cuemon.Extensions.Core/README.md b/.nuget/Cuemon.Extensions.Core/README.md index e2bc220b5..38e20fbd8 100644 --- a/.nuget/Cuemon.Extensions.Core/README.md +++ b/.nuget/Cuemon.Extensions.Core/README.md @@ -31,11 +31,9 @@ More documentation available at our documentation site: * [Cuemon.Extensions.AspNetCore.Authentication](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Authentication/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Authentication.AwsSignature4](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Authentication.AwsSignature4/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.RazorPages](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.RazorPages/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Newtonsoft.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Text.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Text.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Xml](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Xml/) πŸ“¦ * [Cuemon.Extensions.Collections.Generic](https://www.nuget.org/packages/Cuemon.Extensions.Collections.Generic/) πŸ“¦ @@ -48,8 +46,6 @@ More documentation available at our documentation site: * [Cuemon.Extensions.Hosting](https://www.nuget.org/packages/Cuemon.Extensions.Hosting/) πŸ“¦ * [Cuemon.Extensions.IO](https://www.nuget.org/packages/Cuemon.Extensions.IO/) πŸ“¦ * [Cuemon.Extensions.Net](https://www.nuget.org/packages/Cuemon.Extensions.Net/) πŸ“¦ -* [Cuemon.Extensions.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.Newtonsoft.Json/) πŸ“¦ -* [Cuemon.Extensions.Newtonsoft.Json.App](https://www.nuget.org/packages/Cuemon.Extensions.Newtonsoft.Json.App/) 🏭 * [Cuemon.Extensions.Reflection](https://www.nuget.org/packages/Cuemon.Extensions.Reflection/) πŸ“¦ * [Cuemon.Extensions.Runtime.Caching](https://www.nuget.org/packages/Cuemon.Extensions.Runtime.Caching/) πŸ“¦ * [Cuemon.Extensions.Text](https://www.nuget.org/packages/Cuemon.Extensions.Text/) πŸ“¦ diff --git a/.nuget/Cuemon.Extensions.Data.Integrity/README.md b/.nuget/Cuemon.Extensions.Data.Integrity/README.md index 784e6b543..c7fe2ca77 100644 --- a/.nuget/Cuemon.Extensions.Data.Integrity/README.md +++ b/.nuget/Cuemon.Extensions.Data.Integrity/README.md @@ -31,11 +31,9 @@ More documentation available at our documentation site: * [Cuemon.Extensions.AspNetCore.Authentication](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Authentication/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Authentication.AwsSignature4](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Authentication.AwsSignature4/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.RazorPages](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.RazorPages/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Newtonsoft.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Text.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Text.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Xml](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Xml/) πŸ“¦ * [Cuemon.Extensions.Collections.Generic](https://www.nuget.org/packages/Cuemon.Extensions.Collections.Generic/) πŸ“¦ @@ -48,8 +46,6 @@ More documentation available at our documentation site: * [Cuemon.Extensions.Hosting](https://www.nuget.org/packages/Cuemon.Extensions.Hosting/) πŸ“¦ * [Cuemon.Extensions.IO](https://www.nuget.org/packages/Cuemon.Extensions.IO/) πŸ“¦ * [Cuemon.Extensions.Net](https://www.nuget.org/packages/Cuemon.Extensions.Net/) πŸ“¦ -* [Cuemon.Extensions.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.Newtonsoft.Json/) πŸ“¦ -* [Cuemon.Extensions.Newtonsoft.Json.App](https://www.nuget.org/packages/Cuemon.Extensions.Newtonsoft.Json.App/) 🏭 * [Cuemon.Extensions.Reflection](https://www.nuget.org/packages/Cuemon.Extensions.Reflection/) πŸ“¦ * [Cuemon.Extensions.Runtime.Caching](https://www.nuget.org/packages/Cuemon.Extensions.Runtime.Caching/) πŸ“¦ * [Cuemon.Extensions.Text](https://www.nuget.org/packages/Cuemon.Extensions.Text/) πŸ“¦ diff --git a/.nuget/Cuemon.Extensions.Data/README.md b/.nuget/Cuemon.Extensions.Data/README.md index dcaa65fc4..cda8df5ef 100644 --- a/.nuget/Cuemon.Extensions.Data/README.md +++ b/.nuget/Cuemon.Extensions.Data/README.md @@ -31,11 +31,9 @@ More documentation available at our documentation site: * [Cuemon.Extensions.AspNetCore.Authentication](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Authentication/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Authentication.AwsSignature4](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Authentication.AwsSignature4/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.RazorPages](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.RazorPages/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Newtonsoft.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Text.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Text.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Xml](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Xml/) πŸ“¦ * [Cuemon.Extensions.Collections.Generic](https://www.nuget.org/packages/Cuemon.Extensions.Collections.Generic/) πŸ“¦ @@ -48,8 +46,6 @@ More documentation available at our documentation site: * [Cuemon.Extensions.Hosting](https://www.nuget.org/packages/Cuemon.Extensions.Hosting/) πŸ“¦ * [Cuemon.Extensions.IO](https://www.nuget.org/packages/Cuemon.Extensions.IO/) πŸ“¦ * [Cuemon.Extensions.Net](https://www.nuget.org/packages/Cuemon.Extensions.Net/) πŸ“¦ -* [Cuemon.Extensions.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.Newtonsoft.Json/) πŸ“¦ -* [Cuemon.Extensions.Newtonsoft.Json.App](https://www.nuget.org/packages/Cuemon.Extensions.Newtonsoft.Json.App/) 🏭 * [Cuemon.Extensions.Reflection](https://www.nuget.org/packages/Cuemon.Extensions.Reflection/) πŸ“¦ * [Cuemon.Extensions.Runtime.Caching](https://www.nuget.org/packages/Cuemon.Extensions.Runtime.Caching/) πŸ“¦ * [Cuemon.Extensions.Text](https://www.nuget.org/packages/Cuemon.Extensions.Text/) πŸ“¦ diff --git a/.nuget/Cuemon.Extensions.DependencyInjection/README.md b/.nuget/Cuemon.Extensions.DependencyInjection/README.md index 0bf98ff40..877515393 100644 --- a/.nuget/Cuemon.Extensions.DependencyInjection/README.md +++ b/.nuget/Cuemon.Extensions.DependencyInjection/README.md @@ -31,11 +31,9 @@ More documentation available at our documentation site: * [Cuemon.Extensions.AspNetCore.Authentication](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Authentication/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Authentication.AwsSignature4](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Authentication.AwsSignature4/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.RazorPages](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.RazorPages/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Newtonsoft.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Text.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Text.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Xml](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Xml/) πŸ“¦ * [Cuemon.Extensions.Collections.Generic](https://www.nuget.org/packages/Cuemon.Extensions.Collections.Generic/) πŸ“¦ @@ -48,8 +46,6 @@ More documentation available at our documentation site: * [Cuemon.Extensions.Hosting](https://www.nuget.org/packages/Cuemon.Extensions.Hosting/) πŸ“¦ * [Cuemon.Extensions.IO](https://www.nuget.org/packages/Cuemon.Extensions.IO/) πŸ“¦ * [Cuemon.Extensions.Net](https://www.nuget.org/packages/Cuemon.Extensions.Net/) πŸ“¦ -* [Cuemon.Extensions.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.Newtonsoft.Json/) πŸ“¦ -* [Cuemon.Extensions.Newtonsoft.Json.App](https://www.nuget.org/packages/Cuemon.Extensions.Newtonsoft.Json.App/) 🏭 * [Cuemon.Extensions.Reflection](https://www.nuget.org/packages/Cuemon.Extensions.Reflection/) πŸ“¦ * [Cuemon.Extensions.Runtime.Caching](https://www.nuget.org/packages/Cuemon.Extensions.Runtime.Caching/) πŸ“¦ * [Cuemon.Extensions.Text](https://www.nuget.org/packages/Cuemon.Extensions.Text/) πŸ“¦ diff --git a/.nuget/Cuemon.Extensions.Diagnostics/README.md b/.nuget/Cuemon.Extensions.Diagnostics/README.md index 1e77546b3..4fb2b751a 100644 --- a/.nuget/Cuemon.Extensions.Diagnostics/README.md +++ b/.nuget/Cuemon.Extensions.Diagnostics/README.md @@ -31,11 +31,9 @@ More documentation available at our documentation site: * [Cuemon.Extensions.AspNetCore.Authentication](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Authentication/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Authentication.AwsSignature4](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Authentication.AwsSignature4/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.RazorPages](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.RazorPages/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Newtonsoft.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Text.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Text.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Xml](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Xml/) πŸ“¦ * [Cuemon.Extensions.Collections.Generic](https://www.nuget.org/packages/Cuemon.Extensions.Collections.Generic/) πŸ“¦ @@ -48,8 +46,6 @@ More documentation available at our documentation site: * [Cuemon.Extensions.Hosting](https://www.nuget.org/packages/Cuemon.Extensions.Hosting/) πŸ“¦ * [Cuemon.Extensions.IO](https://www.nuget.org/packages/Cuemon.Extensions.IO/) πŸ“¦ * [Cuemon.Extensions.Net](https://www.nuget.org/packages/Cuemon.Extensions.Net/) πŸ“¦ -* [Cuemon.Extensions.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.Newtonsoft.Json/) πŸ“¦ -* [Cuemon.Extensions.Newtonsoft.Json.App](https://www.nuget.org/packages/Cuemon.Extensions.Newtonsoft.Json.App/) 🏭 * [Cuemon.Extensions.Reflection](https://www.nuget.org/packages/Cuemon.Extensions.Reflection/) πŸ“¦ * [Cuemon.Extensions.Runtime.Caching](https://www.nuget.org/packages/Cuemon.Extensions.Runtime.Caching/) πŸ“¦ * [Cuemon.Extensions.Text](https://www.nuget.org/packages/Cuemon.Extensions.Text/) πŸ“¦ diff --git a/.nuget/Cuemon.Extensions.Globalization/README.md b/.nuget/Cuemon.Extensions.Globalization/README.md index 9c3f35856..34e65f97b 100644 --- a/.nuget/Cuemon.Extensions.Globalization/README.md +++ b/.nuget/Cuemon.Extensions.Globalization/README.md @@ -31,11 +31,9 @@ More documentation available at our documentation site: * [Cuemon.Extensions.AspNetCore.Authentication](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Authentication/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Authentication.AwsSignature4](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Authentication.AwsSignature4/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.RazorPages](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.RazorPages/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Newtonsoft.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Text.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Text.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Xml](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Xml/) πŸ“¦ * [Cuemon.Extensions.Collections.Generic](https://www.nuget.org/packages/Cuemon.Extensions.Collections.Generic/) πŸ“¦ @@ -48,8 +46,6 @@ More documentation available at our documentation site: * [Cuemon.Extensions.Hosting](https://www.nuget.org/packages/Cuemon.Extensions.Hosting/) πŸ“¦ * [Cuemon.Extensions.IO](https://www.nuget.org/packages/Cuemon.Extensions.IO/) πŸ“¦ * [Cuemon.Extensions.Net](https://www.nuget.org/packages/Cuemon.Extensions.Net/) πŸ“¦ -* [Cuemon.Extensions.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.Newtonsoft.Json/) πŸ“¦ -* [Cuemon.Extensions.Newtonsoft.Json.App](https://www.nuget.org/packages/Cuemon.Extensions.Newtonsoft.Json.App/) 🏭 * [Cuemon.Extensions.Reflection](https://www.nuget.org/packages/Cuemon.Extensions.Reflection/) πŸ“¦ * [Cuemon.Extensions.Runtime.Caching](https://www.nuget.org/packages/Cuemon.Extensions.Runtime.Caching/) πŸ“¦ * [Cuemon.Extensions.Text](https://www.nuget.org/packages/Cuemon.Extensions.Text/) πŸ“¦ diff --git a/.nuget/Cuemon.Extensions.Hosting/README.md b/.nuget/Cuemon.Extensions.Hosting/README.md index f2045ccd2..09cb7c315 100644 --- a/.nuget/Cuemon.Extensions.Hosting/README.md +++ b/.nuget/Cuemon.Extensions.Hosting/README.md @@ -31,11 +31,9 @@ More documentation available at our documentation site: * [Cuemon.Extensions.AspNetCore.Authentication](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Authentication/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Authentication.AwsSignature4](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Authentication.AwsSignature4/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.RazorPages](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.RazorPages/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Newtonsoft.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Text.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Text.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Xml](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Xml/) πŸ“¦ * [Cuemon.Extensions.Collections.Generic](https://www.nuget.org/packages/Cuemon.Extensions.Collections.Generic/) πŸ“¦ @@ -48,8 +46,6 @@ More documentation available at our documentation site: * [Cuemon.Extensions.Hosting](https://www.nuget.org/packages/Cuemon.Extensions.Hosting/) πŸ“¦ * [Cuemon.Extensions.IO](https://www.nuget.org/packages/Cuemon.Extensions.IO/) πŸ“¦ * [Cuemon.Extensions.Net](https://www.nuget.org/packages/Cuemon.Extensions.Net/) πŸ“¦ -* [Cuemon.Extensions.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.Newtonsoft.Json/) πŸ“¦ -* [Cuemon.Extensions.Newtonsoft.Json.App](https://www.nuget.org/packages/Cuemon.Extensions.Newtonsoft.Json.App/) 🏭 * [Cuemon.Extensions.Reflection](https://www.nuget.org/packages/Cuemon.Extensions.Reflection/) πŸ“¦ * [Cuemon.Extensions.Runtime.Caching](https://www.nuget.org/packages/Cuemon.Extensions.Runtime.Caching/) πŸ“¦ * [Cuemon.Extensions.Text](https://www.nuget.org/packages/Cuemon.Extensions.Text/) πŸ“¦ diff --git a/.nuget/Cuemon.Extensions.IO/README.md b/.nuget/Cuemon.Extensions.IO/README.md index cc6d85500..af9a5e70a 100644 --- a/.nuget/Cuemon.Extensions.IO/README.md +++ b/.nuget/Cuemon.Extensions.IO/README.md @@ -31,11 +31,9 @@ More documentation available at our documentation site: * [Cuemon.Extensions.AspNetCore.Authentication](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Authentication/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Authentication.AwsSignature4](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Authentication.AwsSignature4/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.RazorPages](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.RazorPages/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Newtonsoft.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Text.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Text.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Xml](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Xml/) πŸ“¦ * [Cuemon.Extensions.Collections.Generic](https://www.nuget.org/packages/Cuemon.Extensions.Collections.Generic/) πŸ“¦ @@ -48,8 +46,6 @@ More documentation available at our documentation site: * [Cuemon.Extensions.Hosting](https://www.nuget.org/packages/Cuemon.Extensions.Hosting/) πŸ“¦ * [Cuemon.Extensions.IO](https://www.nuget.org/packages/Cuemon.Extensions.IO/) πŸ“¦ * [Cuemon.Extensions.Net](https://www.nuget.org/packages/Cuemon.Extensions.Net/) πŸ“¦ -* [Cuemon.Extensions.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.Newtonsoft.Json/) πŸ“¦ -* [Cuemon.Extensions.Newtonsoft.Json.App](https://www.nuget.org/packages/Cuemon.Extensions.Newtonsoft.Json.App/) 🏭 * [Cuemon.Extensions.Reflection](https://www.nuget.org/packages/Cuemon.Extensions.Reflection/) πŸ“¦ * [Cuemon.Extensions.Runtime.Caching](https://www.nuget.org/packages/Cuemon.Extensions.Runtime.Caching/) πŸ“¦ * [Cuemon.Extensions.Text](https://www.nuget.org/packages/Cuemon.Extensions.Text/) πŸ“¦ diff --git a/.nuget/Cuemon.Extensions.Net/README.md b/.nuget/Cuemon.Extensions.Net/README.md index ac8df6d60..d9259a974 100644 --- a/.nuget/Cuemon.Extensions.Net/README.md +++ b/.nuget/Cuemon.Extensions.Net/README.md @@ -33,11 +33,9 @@ More documentation available at our documentation site: * [Cuemon.Extensions.AspNetCore.Authentication](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Authentication/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Authentication.AwsSignature4](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Authentication.AwsSignature4/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.RazorPages](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.RazorPages/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Newtonsoft.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Text.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Text.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Xml](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Xml/) πŸ“¦ * [Cuemon.Extensions.Collections.Generic](https://www.nuget.org/packages/Cuemon.Extensions.Collections.Generic/) πŸ“¦ @@ -50,8 +48,6 @@ More documentation available at our documentation site: * [Cuemon.Extensions.Hosting](https://www.nuget.org/packages/Cuemon.Extensions.Hosting/) πŸ“¦ * [Cuemon.Extensions.IO](https://www.nuget.org/packages/Cuemon.Extensions.IO/) πŸ“¦ * [Cuemon.Extensions.Net](https://www.nuget.org/packages/Cuemon.Extensions.Net/) πŸ“¦ -* [Cuemon.Extensions.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.Newtonsoft.Json/) πŸ“¦ -* [Cuemon.Extensions.Newtonsoft.Json.App](https://www.nuget.org/packages/Cuemon.Extensions.Newtonsoft.Json.App/) 🏭 * [Cuemon.Extensions.Reflection](https://www.nuget.org/packages/Cuemon.Extensions.Reflection/) πŸ“¦ * [Cuemon.Extensions.Runtime.Caching](https://www.nuget.org/packages/Cuemon.Extensions.Runtime.Caching/) πŸ“¦ * [Cuemon.Extensions.Text](https://www.nuget.org/packages/Cuemon.Extensions.Text/) πŸ“¦ diff --git a/.nuget/Cuemon.Extensions.Newtonsoft.Json.App/PackageReleaseNotes.txt b/.nuget/Cuemon.Extensions.Newtonsoft.Json.App/PackageReleaseNotes.txt deleted file mode 100644 index ff586438d..000000000 --- a/.nuget/Cuemon.Extensions.Newtonsoft.Json.App/PackageReleaseNotes.txt +++ /dev/null @@ -1,42 +0,0 @@ -ο»ΏVersion 9.0.0 -Availability: .NET 9 and .NET 8 -Β  -# ALM -- CHANGED Dependencies to latest and greatest with respect to TFMs -- REMOVED Support for TFM .NET 6 (LTS) -Β  -Version 8.3.2 -Availability: .NET 8 and .NET 6 -Β  -# ALM -- REMOVED Support for TFM .NET 7 (STS) -Β  -Version 8.2.0 -Availability: .NET 8, .NET 7 and .NET 6 -Β  -# ALM -- CHANGED Dependencies to latest and greatest with respect to TFMs -Β  -Version: 8.1.0 -Availability: .NET 8, .NET 7 and .NET 6 -Β  -# ALM -- CHANGED Dependencies to latest and greatest with respect to TFMs -Β  -# New References -- Cuemon.Extensions.AspNetCore.Newtonsoft.Json -Β  -Version: 8.0.1 -Availability: .NET 8, .NET 7 and .NET 6 -Β  -# ALM -- CHANGED Dependencies to latest and greatest with respect to TFMs -Β  -Version: 8.0.0 -Availability: .NET 8, .NET 7 and .NET 6 -Β  -# ALM -- ADDED TFM for net8.0 -- REMOVED TFM for netstandard2.0 -- CHANGED Dependencies to latest and greatest with respect to TFMs -Β  \ No newline at end of file diff --git a/.nuget/Cuemon.Extensions.Newtonsoft.Json.App/README.md b/.nuget/Cuemon.Extensions.Newtonsoft.Json.App/README.md deleted file mode 100644 index d1adab0b2..000000000 --- a/.nuget/Cuemon.Extensions.Newtonsoft.Json.App/README.md +++ /dev/null @@ -1,66 +0,0 @@ -## About - -An open-source project (MIT license) that targets and complements the Microsoft .NET platform. It provides vast ways of possibilities for all breeds of coders, programmers, developers and the likes thereof. -Your ideal companion for .NET 8, .NET 7, .NET 6, .NET Standard 2 and .NET Framework 4.6.2 and newer. - -It is, by heart, free, flexible and built to extend and boost your agile codebelt. - -## **Cuemon.Extensions.Newtonsoft.Json.App** for .NET - -`Cuemon.Extensions.Newtonsoft.Json.App`, aka `Extensions for Json.NET API`, is a toolbelt of assemblies designed to support, extend and utilize the flexible architecture that [Json.NET](https://www.newtonsoft.com/json) (written by [James Newton-King](https://github.com/JamesNK)) provides, as the natural companion for Cuemon for .NET. - -More documentation available at our documentation site: - -- [Cuemon.Extensions.Newtonsoft.Json](https://docs.cuemon.net/api/extensions/jsonnet/index.html) πŸ”— -- [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json](https://docs.cuemon.net/api/extensions/jsonnet/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json.html) πŸ”— - -## Related Packages - -* [Cuemon.AspNetCore](https://www.nuget.org/packages/Cuemon.AspNetCore/) πŸ“¦ -* [Cuemon.AspNetCore.App](https://www.nuget.org/packages/Cuemon.AspNetCore.App/) 🏭 -* [Cuemon.AspNetCore.Authentication](https://www.nuget.org/packages/Cuemon.AspNetCore.Authentication/) πŸ“¦ -* [Cuemon.AspNetCore.Mvc](https://www.nuget.org/packages/Cuemon.AspNetCore.Mvc/) πŸ“¦ -* [Cuemon.AspNetCore.Razor.TagHelpers](https://www.nuget.org/packages/Cuemon.AspNetCore.Razor.TagHelpers/) πŸ“¦ -* [Cuemon.Core](https://www.nuget.org/packages/Cuemon.Core/) πŸ“¦ -* [Cuemon.Core.App](https://www.nuget.org/packages/Cuemon.Core.App/) 🏭 -* [Cuemon.Data](https://www.nuget.org/packages/Cuemon.Data/) πŸ“¦ -* [Cuemon.Data.Integrity](https://www.nuget.org/packages/Cuemon.Data.Integrity/) πŸ“¦ -* [Cuemon.Data.SqlClient](https://www.nuget.org/packages/Cuemon.Data.SqlClient/) πŸ“¦ -* [Cuemon.Diagnostics](https://www.nuget.org/packages/Cuemon.Diagnostics/) πŸ“¦ -* [Cuemon.Extensions.Globalization](https://www.nuget.org/packages/Cuemon.Extensions.Globalization/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Authentication](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Authentication/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Authentication.AwsSignature4](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Authentication.AwsSignature4/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Mvc](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Mvc.RazorPages](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.RazorPages/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Newtonsoft.Json/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Text.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Text.Json/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Xml](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Xml/) πŸ“¦ -* [Cuemon.Extensions.Collections.Generic](https://www.nuget.org/packages/Cuemon.Extensions.Collections.Generic/) πŸ“¦ -* [Cuemon.Extensions.Collections.Specialized](https://www.nuget.org/packages/Cuemon.Extensions.Collections.Specialized/) πŸ“¦ -* [Cuemon.Extensions.Core](https://www.nuget.org/packages/Cuemon.Extensions.Core/) πŸ“¦ -* [Cuemon.Extensions.Data](https://www.nuget.org/packages/Cuemon.Extensions.Data/) πŸ“¦ -* [Cuemon.Extensions.Data.Integrity](https://www.nuget.org/packages/Cuemon.Extensions.Data.Integrity/) πŸ“¦ -* [Cuemon.Extensions.DependencyInjection](https://www.nuget.org/packages/Cuemon.Extensions.DependencyInjection/) πŸ“¦ -* [Cuemon.Extensions.Diagnostics](https://www.nuget.org/packages/Cuemon.Extensions.Diagnostics/) πŸ“¦ -* [Cuemon.Extensions.Hosting](https://www.nuget.org/packages/Cuemon.Extensions.Hosting/) πŸ“¦ -* [Cuemon.Extensions.IO](https://www.nuget.org/packages/Cuemon.Extensions.IO/) πŸ“¦ -* [Cuemon.Extensions.Net](https://www.nuget.org/packages/Cuemon.Extensions.Net/) πŸ“¦ -* [Cuemon.Extensions.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.Newtonsoft.Json/) πŸ“¦ -* [Cuemon.Extensions.Newtonsoft.Json.App](https://www.nuget.org/packages/Cuemon.Extensions.Newtonsoft.Json.App/) 🏭 -* [Cuemon.Extensions.Reflection](https://www.nuget.org/packages/Cuemon.Extensions.Reflection/) πŸ“¦ -* [Cuemon.Extensions.Runtime.Caching](https://www.nuget.org/packages/Cuemon.Extensions.Runtime.Caching/) πŸ“¦ -* [Cuemon.Extensions.Text](https://www.nuget.org/packages/Cuemon.Extensions.Text/) πŸ“¦ -* [Cuemon.Extensions.Text.Json](https://www.nuget.org/packages/Cuemon.Extensions.Text.Json/) πŸ“¦ -* [Cuemon.Extensions.Threading](https://www.nuget.org/packages/Cuemon.Extensions.Threading/) πŸ“¦ -* [Cuemon.Extensions.Xml](https://www.nuget.org/packages/Cuemon.Extensions.Xml/) πŸ“¦ -* [Cuemon.IO](https://www.nuget.org/packages/Cuemon.IO/) πŸ“¦ -* [Cuemon.Net](https://www.nuget.org/packages/Cuemon.Net/) πŸ“¦ -* [Cuemon.Resilience](https://www.nuget.org/packages/Cuemon.Resilience/) πŸ“¦ -* [Cuemon.Runtime.Caching](https://www.nuget.org/packages/Cuemon.Runtime.Caching/) πŸ“¦ -* [Cuemon.Security.Cryptography](https://www.nuget.org/packages/Cuemon.Security.Cryptography/) πŸ“¦ -* [Cuemon.Threading](https://www.nuget.org/packages/Cuemon.Threading/) πŸ“¦ -* [Cuemon.Xml](https://www.nuget.org/packages/Cuemon.Xml/) πŸ“¦ diff --git a/.nuget/Cuemon.Extensions.Newtonsoft.Json/PackageReleaseNotes.txt b/.nuget/Cuemon.Extensions.Newtonsoft.Json/PackageReleaseNotes.txt deleted file mode 100644 index 0e57b4952..000000000 --- a/.nuget/Cuemon.Extensions.Newtonsoft.Json/PackageReleaseNotes.txt +++ /dev/null @@ -1,72 +0,0 @@ -ο»ΏVersion 9.0.0 -Availability: .NET 9, .NET 8 and .NET Standard 2.0 -Β  -# ALM -- CHANGED Dependencies to latest and greatest with respect to TFMs -- REMOVED Support for TFM .NET 6 (LTS) -Β  -# New Features -- ADDED FailureConverter class in the Cuemon.Extensions.Newtonsoft.Json.Converters namespace to convert FailureConverter to JSON -Β  -# Improvements -- EXTENDED JsonConverterCollectionExtensions class in the Cuemon.Extensions.Newtonsoft.Json.Converters namespace to include one new extension method: AddFailureConverter -Β  -Version 8.3.2 -Availability: .NET 8, .NET 6 and .NET Standard 2.0 -Β  -# ALM -- REMOVED Support for TFM .NET 7 (STS) -Β  -Version 8.3.0 -Availability: .NET 8, .NET 7, .NET 6 and .NET Standard 2.0 -Β  -# Bug Fixes -- FIXED ExceptionConverter class in the Cuemon.Extensions.Newtonsoft.Json.Converters namespace to use Environment.NewLine instead of Alphanumeric.NewLine (vital for non-Windows operating systems) -Β  -Version 8.2.0 -Availability: .NET 8, .NET 7, .NET 6 and .NET Standard 2.0 -Β  -# ALM -- CHANGED Dependencies to latest and greatest with respect to TFMs -Β  -Version: 8.1.0 -Availability: .NET 8, .NET 7, .NET 6 and .NET Standard 2.0 -Β  -# ALM -- CHANGED Dependencies to latest and greatest with respect to TFMs -Β  -# Improvements -- CHANGED NewtonsoftJsonFormatterOptions class in the Cuemon.Extensions.Newtonsoft.Json.Formatters namespace to derive from IExceptionDescriptorOptions -Β  -Version: 8.0.1 -Availability: .NET 8, .NET 7, .NET 6 and .NET Standard 2.0 -Β  -# ALM -- CHANGED Dependencies to latest and greatest with respect to TFMs -Β Β  -# Improvements -- CHANGED NewtonsoftJsonFormatterOptions class in the Cuemon.Extensions.Newtonsoft.Json.Formatters namespace to be consistent with general date time handling; applied DateFormatString = "O" -Β  -Version: 8.0.0 -Availability: .NET 8, .NET 7, .NET 6 and .NET Standard 2.0 -Β  -# ALM -- ADDED TFM for net8.0 -- CHANGED Dependencies to latest and greatest with respect to TFMs -Β  -# Breaking Changes -- CHANGED Create{T} method signature on DynamicContractResolver in the Cuemon.Extensions.Newtonsoft.Json namespace to support an additional argument (PropertyInfo) in the params Action{PropertyInfo, JsonProperty} array -- RENAMED JsonFormatter class in the Cuemon.Extensions.Newtonsoft.Json.Formatters namespace to NewtonsoftJsonFormatter -- RENAMED JsonFormatterOptions class in the Cuemon.Extensions.Newtonsoft.Json.Formatters namespace to NewtonsoftJsonFormatterOptions -Β  -# New Features -- ADDED TransientFaultExceptionConverter class in the Cuemon.Extensions.Newtonsoft.Json.Converters to convert TransientFaultException to and from JSON -- EXTENDED JsonConverterCollectionExtensions class in the Cuemon.Extensions.Newtonsoft.Json.Converters namespace with a new extension method for the JsonConverter class: AddTransientFaultExceptionConverter -- EXTENDED JsonFormatterOptions class in the Cuemon.Extensions.Newtonsoft.Json.Formatters namespace to include a new default converter: AddTransientFaultExceptionConverter -Β  -# Improvements -- CHANGED ExceptionConverter class in the Cuemon.Extensions.Newtonsoft.Json.Converters namespace to support deserialization of Exception types -Β  -# Quality Analysis Actions -- CHANGED ExceptionConverter class in the Cuemon.Extensions.Newtonsoft.Json.Converters namespace to be compliant with https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/quality-rules/ca1822 -Β  \ No newline at end of file diff --git a/.nuget/Cuemon.Extensions.Newtonsoft.Json/README.md b/.nuget/Cuemon.Extensions.Newtonsoft.Json/README.md deleted file mode 100644 index 981efc928..000000000 --- a/.nuget/Cuemon.Extensions.Newtonsoft.Json/README.md +++ /dev/null @@ -1,68 +0,0 @@ -## About - -An open-source project (MIT license) that targets and complements the Microsoft .NET platform. It provides vast ways of possibilities for all breeds of coders, programmers, developers and the likes thereof. -Your ideal companion for .NET 8, .NET 7, .NET 6, .NET Standard 2 and .NET Framework 4.6.2 and newer. - -It is, by heart, free, flexible and built to extend and boost your agile codebelt. - -## **Cuemon.Extensions.Newtonsoft.Json** for .NET - -The `Cuemon.Extensions.Newtonsoft.Json` namespace contains both types and extension methods that complements the `Newtonsoft.Json` namespace by adding new ways of working with JSON; both in terms of serialization and parsing. - -More documentation available at our documentation site: - -- [Cuemon.Extensions.Newtonsoft.Json](https://docs.cuemon.net/api/extensions/jsonnet/Cuemon.Extensions.Newtonsoft.Json.html) πŸ”— -- [Cuemon.Extensions.Newtonsoft.Json.Converters](https://docs.cuemon.net/api/extensions/jsonnet/Cuemon.Extensions.Newtonsoft.Json.Converters.html) πŸ”— -- [Cuemon.Extensions.Newtonsoft.Json.Formatters](https://docs.cuemon.net/api/extensions/jsonnet/Cuemon.Extensions.Newtonsoft.Json.Formatters.html) πŸ”— -- [Cuemon.Extensions.Newtonsoft.Json.Serialization](https://docs.cuemon.net/api/extensions/jsonnet/Cuemon.Extensions.Newtonsoft.Json.Serialization.html) πŸ”— - -## Related Packages - -* [Cuemon.AspNetCore](https://www.nuget.org/packages/Cuemon.AspNetCore/) πŸ“¦ -* [Cuemon.AspNetCore.App](https://www.nuget.org/packages/Cuemon.AspNetCore.App/) 🏭 -* [Cuemon.AspNetCore.Authentication](https://www.nuget.org/packages/Cuemon.AspNetCore.Authentication/) πŸ“¦ -* [Cuemon.AspNetCore.Mvc](https://www.nuget.org/packages/Cuemon.AspNetCore.Mvc/) πŸ“¦ -* [Cuemon.AspNetCore.Razor.TagHelpers](https://www.nuget.org/packages/Cuemon.AspNetCore.Razor.TagHelpers/) πŸ“¦ -* [Cuemon.Core](https://www.nuget.org/packages/Cuemon.Core/) πŸ“¦ -* [Cuemon.Core.App](https://www.nuget.org/packages/Cuemon.Core.App/) 🏭 -* [Cuemon.Data](https://www.nuget.org/packages/Cuemon.Data/) πŸ“¦ -* [Cuemon.Data.Integrity](https://www.nuget.org/packages/Cuemon.Data.Integrity/) πŸ“¦ -* [Cuemon.Data.SqlClient](https://www.nuget.org/packages/Cuemon.Data.SqlClient/) πŸ“¦ -* [Cuemon.Diagnostics](https://www.nuget.org/packages/Cuemon.Diagnostics/) πŸ“¦ -* [Cuemon.Extensions.Globalization](https://www.nuget.org/packages/Cuemon.Extensions.Globalization/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Authentication](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Authentication/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Authentication.AwsSignature4](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Authentication.AwsSignature4/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Mvc](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Mvc.RazorPages](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.RazorPages/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Newtonsoft.Json/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Text.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Text.Json/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Xml](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Xml/) πŸ“¦ -* [Cuemon.Extensions.Collections.Generic](https://www.nuget.org/packages/Cuemon.Extensions.Collections.Generic/) πŸ“¦ -* [Cuemon.Extensions.Collections.Specialized](https://www.nuget.org/packages/Cuemon.Extensions.Collections.Specialized/) πŸ“¦ -* [Cuemon.Extensions.Core](https://www.nuget.org/packages/Cuemon.Extensions.Core/) πŸ“¦ -* [Cuemon.Extensions.Data](https://www.nuget.org/packages/Cuemon.Extensions.Data/) πŸ“¦ -* [Cuemon.Extensions.Data.Integrity](https://www.nuget.org/packages/Cuemon.Extensions.Data.Integrity/) πŸ“¦ -* [Cuemon.Extensions.DependencyInjection](https://www.nuget.org/packages/Cuemon.Extensions.DependencyInjection/) πŸ“¦ -* [Cuemon.Extensions.Diagnostics](https://www.nuget.org/packages/Cuemon.Extensions.Diagnostics/) πŸ“¦ -* [Cuemon.Extensions.Hosting](https://www.nuget.org/packages/Cuemon.Extensions.Hosting/) πŸ“¦ -* [Cuemon.Extensions.IO](https://www.nuget.org/packages/Cuemon.Extensions.IO/) πŸ“¦ -* [Cuemon.Extensions.Net](https://www.nuget.org/packages/Cuemon.Extensions.Net/) πŸ“¦ -* [Cuemon.Extensions.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.Newtonsoft.Json/) πŸ“¦ -* [Cuemon.Extensions.Newtonsoft.Json.App](https://www.nuget.org/packages/Cuemon.Extensions.Newtonsoft.Json.App/) 🏭 -* [Cuemon.Extensions.Reflection](https://www.nuget.org/packages/Cuemon.Extensions.Reflection/) πŸ“¦ -* [Cuemon.Extensions.Runtime.Caching](https://www.nuget.org/packages/Cuemon.Extensions.Runtime.Caching/) πŸ“¦ -* [Cuemon.Extensions.Text](https://www.nuget.org/packages/Cuemon.Extensions.Text/) πŸ“¦ -* [Cuemon.Extensions.Text.Json](https://www.nuget.org/packages/Cuemon.Extensions.Text.Json/) πŸ“¦ -* [Cuemon.Extensions.Threading](https://www.nuget.org/packages/Cuemon.Extensions.Threading/) πŸ“¦ -* [Cuemon.Extensions.Xml](https://www.nuget.org/packages/Cuemon.Extensions.Xml/) πŸ“¦ -* [Cuemon.IO](https://www.nuget.org/packages/Cuemon.IO/) πŸ“¦ -* [Cuemon.Net](https://www.nuget.org/packages/Cuemon.Net/) πŸ“¦ -* [Cuemon.Resilience](https://www.nuget.org/packages/Cuemon.Resilience/) πŸ“¦ -* [Cuemon.Runtime.Caching](https://www.nuget.org/packages/Cuemon.Runtime.Caching/) πŸ“¦ -* [Cuemon.Security.Cryptography](https://www.nuget.org/packages/Cuemon.Security.Cryptography/) πŸ“¦ -* [Cuemon.Threading](https://www.nuget.org/packages/Cuemon.Threading/) πŸ“¦ -* [Cuemon.Xml](https://www.nuget.org/packages/Cuemon.Xml/) πŸ“¦ diff --git a/.nuget/Cuemon.Extensions.Reflection/README.md b/.nuget/Cuemon.Extensions.Reflection/README.md index b5f2364bb..512f91369 100644 --- a/.nuget/Cuemon.Extensions.Reflection/README.md +++ b/.nuget/Cuemon.Extensions.Reflection/README.md @@ -31,11 +31,9 @@ More documentation available at our documentation site: * [Cuemon.Extensions.AspNetCore.Authentication](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Authentication/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Authentication.AwsSignature4](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Authentication.AwsSignature4/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.RazorPages](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.RazorPages/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Newtonsoft.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Text.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Text.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Xml](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Xml/) πŸ“¦ * [Cuemon.Extensions.Collections.Generic](https://www.nuget.org/packages/Cuemon.Extensions.Collections.Generic/) πŸ“¦ @@ -48,8 +46,6 @@ More documentation available at our documentation site: * [Cuemon.Extensions.Hosting](https://www.nuget.org/packages/Cuemon.Extensions.Hosting/) πŸ“¦ * [Cuemon.Extensions.IO](https://www.nuget.org/packages/Cuemon.Extensions.IO/) πŸ“¦ * [Cuemon.Extensions.Net](https://www.nuget.org/packages/Cuemon.Extensions.Net/) πŸ“¦ -* [Cuemon.Extensions.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.Newtonsoft.Json/) πŸ“¦ -* [Cuemon.Extensions.Newtonsoft.Json.App](https://www.nuget.org/packages/Cuemon.Extensions.Newtonsoft.Json.App/) 🏭 * [Cuemon.Extensions.Reflection](https://www.nuget.org/packages/Cuemon.Extensions.Reflection/) πŸ“¦ * [Cuemon.Extensions.Runtime.Caching](https://www.nuget.org/packages/Cuemon.Extensions.Runtime.Caching/) πŸ“¦ * [Cuemon.Extensions.Text](https://www.nuget.org/packages/Cuemon.Extensions.Text/) πŸ“¦ diff --git a/.nuget/Cuemon.Extensions.Runtime.Caching/README.md b/.nuget/Cuemon.Extensions.Runtime.Caching/README.md index 38556eb11..b20d403f7 100644 --- a/.nuget/Cuemon.Extensions.Runtime.Caching/README.md +++ b/.nuget/Cuemon.Extensions.Runtime.Caching/README.md @@ -31,11 +31,9 @@ More documentation available at our documentation site: * [Cuemon.Extensions.AspNetCore.Authentication](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Authentication/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Authentication.AwsSignature4](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Authentication.AwsSignature4/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.RazorPages](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.RazorPages/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Newtonsoft.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Text.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Text.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Xml](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Xml/) πŸ“¦ * [Cuemon.Extensions.Collections.Generic](https://www.nuget.org/packages/Cuemon.Extensions.Collections.Generic/) πŸ“¦ @@ -48,8 +46,6 @@ More documentation available at our documentation site: * [Cuemon.Extensions.Hosting](https://www.nuget.org/packages/Cuemon.Extensions.Hosting/) πŸ“¦ * [Cuemon.Extensions.IO](https://www.nuget.org/packages/Cuemon.Extensions.IO/) πŸ“¦ * [Cuemon.Extensions.Net](https://www.nuget.org/packages/Cuemon.Extensions.Net/) πŸ“¦ -* [Cuemon.Extensions.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.Newtonsoft.Json/) πŸ“¦ -* [Cuemon.Extensions.Newtonsoft.Json.App](https://www.nuget.org/packages/Cuemon.Extensions.Newtonsoft.Json.App/) 🏭 * [Cuemon.Extensions.Reflection](https://www.nuget.org/packages/Cuemon.Extensions.Reflection/) πŸ“¦ * [Cuemon.Extensions.Runtime.Caching](https://www.nuget.org/packages/Cuemon.Extensions.Runtime.Caching/) πŸ“¦ * [Cuemon.Extensions.Text](https://www.nuget.org/packages/Cuemon.Extensions.Text/) πŸ“¦ diff --git a/.nuget/Cuemon.Extensions.Text.Json/README.md b/.nuget/Cuemon.Extensions.Text.Json/README.md index 8688de2c1..056d8d13e 100644 --- a/.nuget/Cuemon.Extensions.Text.Json/README.md +++ b/.nuget/Cuemon.Extensions.Text.Json/README.md @@ -33,11 +33,9 @@ More documentation available at our documentation site: * [Cuemon.Extensions.AspNetCore.Authentication](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Authentication/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Authentication.AwsSignature4](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Authentication.AwsSignature4/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.RazorPages](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.RazorPages/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Newtonsoft.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Text.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Text.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Xml](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Xml/) πŸ“¦ * [Cuemon.Extensions.Collections.Generic](https://www.nuget.org/packages/Cuemon.Extensions.Collections.Generic/) πŸ“¦ @@ -50,8 +48,6 @@ More documentation available at our documentation site: * [Cuemon.Extensions.Hosting](https://www.nuget.org/packages/Cuemon.Extensions.Hosting/) πŸ“¦ * [Cuemon.Extensions.IO](https://www.nuget.org/packages/Cuemon.Extensions.IO/) πŸ“¦ * [Cuemon.Extensions.Net](https://www.nuget.org/packages/Cuemon.Extensions.Net/) πŸ“¦ -* [Cuemon.Extensions.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.Newtonsoft.Json/) πŸ“¦ -* [Cuemon.Extensions.Newtonsoft.Json.App](https://www.nuget.org/packages/Cuemon.Extensions.Newtonsoft.Json.App/) 🏭 * [Cuemon.Extensions.Reflection](https://www.nuget.org/packages/Cuemon.Extensions.Reflection/) πŸ“¦ * [Cuemon.Extensions.Runtime.Caching](https://www.nuget.org/packages/Cuemon.Extensions.Runtime.Caching/) πŸ“¦ * [Cuemon.Extensions.Text](https://www.nuget.org/packages/Cuemon.Extensions.Text/) πŸ“¦ diff --git a/.nuget/Cuemon.Extensions.Text/README.md b/.nuget/Cuemon.Extensions.Text/README.md index a53f80a7b..3aeaf8743 100644 --- a/.nuget/Cuemon.Extensions.Text/README.md +++ b/.nuget/Cuemon.Extensions.Text/README.md @@ -31,11 +31,9 @@ More documentation available at our documentation site: * [Cuemon.Extensions.AspNetCore.Authentication](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Authentication/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Authentication.AwsSignature4](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Authentication.AwsSignature4/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.RazorPages](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.RazorPages/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Newtonsoft.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Text.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Text.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Xml](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Xml/) πŸ“¦ * [Cuemon.Extensions.Collections.Generic](https://www.nuget.org/packages/Cuemon.Extensions.Collections.Generic/) πŸ“¦ @@ -48,8 +46,6 @@ More documentation available at our documentation site: * [Cuemon.Extensions.Hosting](https://www.nuget.org/packages/Cuemon.Extensions.Hosting/) πŸ“¦ * [Cuemon.Extensions.IO](https://www.nuget.org/packages/Cuemon.Extensions.IO/) πŸ“¦ * [Cuemon.Extensions.Net](https://www.nuget.org/packages/Cuemon.Extensions.Net/) πŸ“¦ -* [Cuemon.Extensions.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.Newtonsoft.Json/) πŸ“¦ -* [Cuemon.Extensions.Newtonsoft.Json.App](https://www.nuget.org/packages/Cuemon.Extensions.Newtonsoft.Json.App/) 🏭 * [Cuemon.Extensions.Reflection](https://www.nuget.org/packages/Cuemon.Extensions.Reflection/) πŸ“¦ * [Cuemon.Extensions.Runtime.Caching](https://www.nuget.org/packages/Cuemon.Extensions.Runtime.Caching/) πŸ“¦ * [Cuemon.Extensions.Text](https://www.nuget.org/packages/Cuemon.Extensions.Text/) πŸ“¦ diff --git a/.nuget/Cuemon.Extensions.Threading/README.md b/.nuget/Cuemon.Extensions.Threading/README.md index 5f6b86237..58021d063 100644 --- a/.nuget/Cuemon.Extensions.Threading/README.md +++ b/.nuget/Cuemon.Extensions.Threading/README.md @@ -31,11 +31,9 @@ More documentation available at our documentation site: * [Cuemon.Extensions.AspNetCore.Authentication](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Authentication/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Authentication.AwsSignature4](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Authentication.AwsSignature4/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.RazorPages](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.RazorPages/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Newtonsoft.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Text.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Text.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Xml](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Xml/) πŸ“¦ * [Cuemon.Extensions.Collections.Generic](https://www.nuget.org/packages/Cuemon.Extensions.Collections.Generic/) πŸ“¦ @@ -48,8 +46,6 @@ More documentation available at our documentation site: * [Cuemon.Extensions.Hosting](https://www.nuget.org/packages/Cuemon.Extensions.Hosting/) πŸ“¦ * [Cuemon.Extensions.IO](https://www.nuget.org/packages/Cuemon.Extensions.IO/) πŸ“¦ * [Cuemon.Extensions.Net](https://www.nuget.org/packages/Cuemon.Extensions.Net/) πŸ“¦ -* [Cuemon.Extensions.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.Newtonsoft.Json/) πŸ“¦ -* [Cuemon.Extensions.Newtonsoft.Json.App](https://www.nuget.org/packages/Cuemon.Extensions.Newtonsoft.Json.App/) 🏭 * [Cuemon.Extensions.Reflection](https://www.nuget.org/packages/Cuemon.Extensions.Reflection/) πŸ“¦ * [Cuemon.Extensions.Runtime.Caching](https://www.nuget.org/packages/Cuemon.Extensions.Runtime.Caching/) πŸ“¦ * [Cuemon.Extensions.Text](https://www.nuget.org/packages/Cuemon.Extensions.Text/) πŸ“¦ diff --git a/.nuget/Cuemon.Extensions.Xml/README.md b/.nuget/Cuemon.Extensions.Xml/README.md index cc8542493..1572e7590 100644 --- a/.nuget/Cuemon.Extensions.Xml/README.md +++ b/.nuget/Cuemon.Extensions.Xml/README.md @@ -34,11 +34,9 @@ More documentation available at our documentation site: * [Cuemon.Extensions.AspNetCore.Authentication](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Authentication/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Authentication.AwsSignature4](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Authentication.AwsSignature4/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.RazorPages](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.RazorPages/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Newtonsoft.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Text.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Text.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Xml](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Xml/) πŸ“¦ * [Cuemon.Extensions.Collections.Generic](https://www.nuget.org/packages/Cuemon.Extensions.Collections.Generic/) πŸ“¦ @@ -51,8 +49,6 @@ More documentation available at our documentation site: * [Cuemon.Extensions.Hosting](https://www.nuget.org/packages/Cuemon.Extensions.Hosting/) πŸ“¦ * [Cuemon.Extensions.IO](https://www.nuget.org/packages/Cuemon.Extensions.IO/) πŸ“¦ * [Cuemon.Extensions.Net](https://www.nuget.org/packages/Cuemon.Extensions.Net/) πŸ“¦ -* [Cuemon.Extensions.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.Newtonsoft.Json/) πŸ“¦ -* [Cuemon.Extensions.Newtonsoft.Json.App](https://www.nuget.org/packages/Cuemon.Extensions.Newtonsoft.Json.App/) 🏭 * [Cuemon.Extensions.Reflection](https://www.nuget.org/packages/Cuemon.Extensions.Reflection/) πŸ“¦ * [Cuemon.Extensions.Runtime.Caching](https://www.nuget.org/packages/Cuemon.Extensions.Runtime.Caching/) πŸ“¦ * [Cuemon.Extensions.Text](https://www.nuget.org/packages/Cuemon.Extensions.Text/) πŸ“¦ diff --git a/.nuget/Cuemon.IO/README.md b/.nuget/Cuemon.IO/README.md index f7a0d9218..22b910d39 100644 --- a/.nuget/Cuemon.IO/README.md +++ b/.nuget/Cuemon.IO/README.md @@ -31,11 +31,9 @@ More documentation available at our documentation site: * [Cuemon.Extensions.AspNetCore.Authentication](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Authentication/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Authentication.AwsSignature4](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Authentication.AwsSignature4/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.RazorPages](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.RazorPages/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Newtonsoft.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Text.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Text.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Xml](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Xml/) πŸ“¦ * [Cuemon.Extensions.Collections.Generic](https://www.nuget.org/packages/Cuemon.Extensions.Collections.Generic/) πŸ“¦ @@ -48,8 +46,6 @@ More documentation available at our documentation site: * [Cuemon.Extensions.Hosting](https://www.nuget.org/packages/Cuemon.Extensions.Hosting/) πŸ“¦ * [Cuemon.Extensions.IO](https://www.nuget.org/packages/Cuemon.Extensions.IO/) πŸ“¦ * [Cuemon.Extensions.Net](https://www.nuget.org/packages/Cuemon.Extensions.Net/) πŸ“¦ -* [Cuemon.Extensions.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.Newtonsoft.Json/) πŸ“¦ -* [Cuemon.Extensions.Newtonsoft.Json.App](https://www.nuget.org/packages/Cuemon.Extensions.Newtonsoft.Json.App/) 🏭 * [Cuemon.Extensions.Reflection](https://www.nuget.org/packages/Cuemon.Extensions.Reflection/) πŸ“¦ * [Cuemon.Extensions.Runtime.Caching](https://www.nuget.org/packages/Cuemon.Extensions.Runtime.Caching/) πŸ“¦ * [Cuemon.Extensions.Text](https://www.nuget.org/packages/Cuemon.Extensions.Text/) πŸ“¦ diff --git a/.nuget/Cuemon.Net/README.md b/.nuget/Cuemon.Net/README.md index e57219d83..33fe7db6a 100644 --- a/.nuget/Cuemon.Net/README.md +++ b/.nuget/Cuemon.Net/README.md @@ -34,11 +34,9 @@ More documentation available at our documentation site: * [Cuemon.Extensions.AspNetCore.Authentication](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Authentication/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Authentication.AwsSignature4](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Authentication.AwsSignature4/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.RazorPages](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.RazorPages/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Newtonsoft.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Text.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Text.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Xml](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Xml/) πŸ“¦ * [Cuemon.Extensions.Collections.Generic](https://www.nuget.org/packages/Cuemon.Extensions.Collections.Generic/) πŸ“¦ @@ -51,8 +49,6 @@ More documentation available at our documentation site: * [Cuemon.Extensions.Hosting](https://www.nuget.org/packages/Cuemon.Extensions.Hosting/) πŸ“¦ * [Cuemon.Extensions.IO](https://www.nuget.org/packages/Cuemon.Extensions.IO/) πŸ“¦ * [Cuemon.Extensions.Net](https://www.nuget.org/packages/Cuemon.Extensions.Net/) πŸ“¦ -* [Cuemon.Extensions.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.Newtonsoft.Json/) πŸ“¦ -* [Cuemon.Extensions.Newtonsoft.Json.App](https://www.nuget.org/packages/Cuemon.Extensions.Newtonsoft.Json.App/) 🏭 * [Cuemon.Extensions.Reflection](https://www.nuget.org/packages/Cuemon.Extensions.Reflection/) πŸ“¦ * [Cuemon.Extensions.Runtime.Caching](https://www.nuget.org/packages/Cuemon.Extensions.Runtime.Caching/) πŸ“¦ * [Cuemon.Extensions.Text](https://www.nuget.org/packages/Cuemon.Extensions.Text/) πŸ“¦ diff --git a/.nuget/Cuemon.Resilience/README.md b/.nuget/Cuemon.Resilience/README.md index 3ec664645..f0b9f7991 100644 --- a/.nuget/Cuemon.Resilience/README.md +++ b/.nuget/Cuemon.Resilience/README.md @@ -31,11 +31,9 @@ More documentation available at our documentation site: * [Cuemon.Extensions.AspNetCore.Authentication](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Authentication/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Authentication.AwsSignature4](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Authentication.AwsSignature4/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.RazorPages](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.RazorPages/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Newtonsoft.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Text.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Text.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Xml](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Xml/) πŸ“¦ * [Cuemon.Extensions.Collections.Generic](https://www.nuget.org/packages/Cuemon.Extensions.Collections.Generic/) πŸ“¦ @@ -48,8 +46,6 @@ More documentation available at our documentation site: * [Cuemon.Extensions.Hosting](https://www.nuget.org/packages/Cuemon.Extensions.Hosting/) πŸ“¦ * [Cuemon.Extensions.IO](https://www.nuget.org/packages/Cuemon.Extensions.IO/) πŸ“¦ * [Cuemon.Extensions.Net](https://www.nuget.org/packages/Cuemon.Extensions.Net/) πŸ“¦ -* [Cuemon.Extensions.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.Newtonsoft.Json/) πŸ“¦ -* [Cuemon.Extensions.Newtonsoft.Json.App](https://www.nuget.org/packages/Cuemon.Extensions.Newtonsoft.Json.App/) 🏭 * [Cuemon.Extensions.Reflection](https://www.nuget.org/packages/Cuemon.Extensions.Reflection/) πŸ“¦ * [Cuemon.Extensions.Runtime.Caching](https://www.nuget.org/packages/Cuemon.Extensions.Runtime.Caching/) πŸ“¦ * [Cuemon.Extensions.Text](https://www.nuget.org/packages/Cuemon.Extensions.Text/) πŸ“¦ diff --git a/.nuget/Cuemon.Runtime.Caching/README.md b/.nuget/Cuemon.Runtime.Caching/README.md index 12e054400..c9a0f3a3f 100644 --- a/.nuget/Cuemon.Runtime.Caching/README.md +++ b/.nuget/Cuemon.Runtime.Caching/README.md @@ -31,11 +31,9 @@ More documentation available at our documentation site: * [Cuemon.Extensions.AspNetCore.Authentication](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Authentication/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Authentication.AwsSignature4](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Authentication.AwsSignature4/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.RazorPages](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.RazorPages/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Newtonsoft.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Text.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Text.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Xml](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Xml/) πŸ“¦ * [Cuemon.Extensions.Collections.Generic](https://www.nuget.org/packages/Cuemon.Extensions.Collections.Generic/) πŸ“¦ @@ -48,8 +46,6 @@ More documentation available at our documentation site: * [Cuemon.Extensions.Hosting](https://www.nuget.org/packages/Cuemon.Extensions.Hosting/) πŸ“¦ * [Cuemon.Extensions.IO](https://www.nuget.org/packages/Cuemon.Extensions.IO/) πŸ“¦ * [Cuemon.Extensions.Net](https://www.nuget.org/packages/Cuemon.Extensions.Net/) πŸ“¦ -* [Cuemon.Extensions.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.Newtonsoft.Json/) πŸ“¦ -* [Cuemon.Extensions.Newtonsoft.Json.App](https://www.nuget.org/packages/Cuemon.Extensions.Newtonsoft.Json.App/) 🏭 * [Cuemon.Extensions.Reflection](https://www.nuget.org/packages/Cuemon.Extensions.Reflection/) πŸ“¦ * [Cuemon.Extensions.Runtime.Caching](https://www.nuget.org/packages/Cuemon.Extensions.Runtime.Caching/) πŸ“¦ * [Cuemon.Extensions.Text](https://www.nuget.org/packages/Cuemon.Extensions.Text/) πŸ“¦ diff --git a/.nuget/Cuemon.Security.Cryptography/README.md b/.nuget/Cuemon.Security.Cryptography/README.md index aa5b825dd..537d0e53c 100644 --- a/.nuget/Cuemon.Security.Cryptography/README.md +++ b/.nuget/Cuemon.Security.Cryptography/README.md @@ -31,11 +31,9 @@ More documentation available at our documentation site: * [Cuemon.Extensions.AspNetCore.Authentication](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Authentication/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Authentication.AwsSignature4](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Authentication.AwsSignature4/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.RazorPages](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.RazorPages/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Newtonsoft.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Text.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Text.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Xml](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Xml/) πŸ“¦ * [Cuemon.Extensions.Collections.Generic](https://www.nuget.org/packages/Cuemon.Extensions.Collections.Generic/) πŸ“¦ @@ -48,8 +46,6 @@ More documentation available at our documentation site: * [Cuemon.Extensions.Hosting](https://www.nuget.org/packages/Cuemon.Extensions.Hosting/) πŸ“¦ * [Cuemon.Extensions.IO](https://www.nuget.org/packages/Cuemon.Extensions.IO/) πŸ“¦ * [Cuemon.Extensions.Net](https://www.nuget.org/packages/Cuemon.Extensions.Net/) πŸ“¦ -* [Cuemon.Extensions.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.Newtonsoft.Json/) πŸ“¦ -* [Cuemon.Extensions.Newtonsoft.Json.App](https://www.nuget.org/packages/Cuemon.Extensions.Newtonsoft.Json.App/) 🏭 * [Cuemon.Extensions.Reflection](https://www.nuget.org/packages/Cuemon.Extensions.Reflection/) πŸ“¦ * [Cuemon.Extensions.Runtime.Caching](https://www.nuget.org/packages/Cuemon.Extensions.Runtime.Caching/) πŸ“¦ * [Cuemon.Extensions.Text](https://www.nuget.org/packages/Cuemon.Extensions.Text/) πŸ“¦ diff --git a/.nuget/Cuemon.Threading/README.md b/.nuget/Cuemon.Threading/README.md index 479ae55bf..5221dceeb 100644 --- a/.nuget/Cuemon.Threading/README.md +++ b/.nuget/Cuemon.Threading/README.md @@ -31,11 +31,9 @@ More documentation available at our documentation site: * [Cuemon.Extensions.AspNetCore.Authentication](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Authentication/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Authentication.AwsSignature4](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Authentication.AwsSignature4/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.RazorPages](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.RazorPages/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Newtonsoft.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Text.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Text.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Xml](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Xml/) πŸ“¦ * [Cuemon.Extensions.Collections.Generic](https://www.nuget.org/packages/Cuemon.Extensions.Collections.Generic/) πŸ“¦ @@ -48,8 +46,6 @@ More documentation available at our documentation site: * [Cuemon.Extensions.Hosting](https://www.nuget.org/packages/Cuemon.Extensions.Hosting/) πŸ“¦ * [Cuemon.Extensions.IO](https://www.nuget.org/packages/Cuemon.Extensions.IO/) πŸ“¦ * [Cuemon.Extensions.Net](https://www.nuget.org/packages/Cuemon.Extensions.Net/) πŸ“¦ -* [Cuemon.Extensions.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.Newtonsoft.Json/) πŸ“¦ -* [Cuemon.Extensions.Newtonsoft.Json.App](https://www.nuget.org/packages/Cuemon.Extensions.Newtonsoft.Json.App/) 🏭 * [Cuemon.Extensions.Reflection](https://www.nuget.org/packages/Cuemon.Extensions.Reflection/) πŸ“¦ * [Cuemon.Extensions.Runtime.Caching](https://www.nuget.org/packages/Cuemon.Extensions.Runtime.Caching/) πŸ“¦ * [Cuemon.Extensions.Text](https://www.nuget.org/packages/Cuemon.Extensions.Text/) πŸ“¦ diff --git a/.nuget/Cuemon.Xml/README.md b/.nuget/Cuemon.Xml/README.md index 82f00accc..8307caed2 100644 --- a/.nuget/Cuemon.Xml/README.md +++ b/.nuget/Cuemon.Xml/README.md @@ -36,11 +36,9 @@ More documentation available at our documentation site: * [Cuemon.Extensions.AspNetCore.Authentication](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Authentication/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Authentication.AwsSignature4](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Authentication.AwsSignature4/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Mvc.RazorPages](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.RazorPages/) πŸ“¦ -* [Cuemon.Extensions.AspNetCore.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Newtonsoft.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Text.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Text.Json/) πŸ“¦ * [Cuemon.Extensions.AspNetCore.Xml](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Xml/) πŸ“¦ * [Cuemon.Extensions.Collections.Generic](https://www.nuget.org/packages/Cuemon.Extensions.Collections.Generic/) πŸ“¦ @@ -53,8 +51,6 @@ More documentation available at our documentation site: * [Cuemon.Extensions.Hosting](https://www.nuget.org/packages/Cuemon.Extensions.Hosting/) πŸ“¦ * [Cuemon.Extensions.IO](https://www.nuget.org/packages/Cuemon.Extensions.IO/) πŸ“¦ * [Cuemon.Extensions.Net](https://www.nuget.org/packages/Cuemon.Extensions.Net/) πŸ“¦ -* [Cuemon.Extensions.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.Newtonsoft.Json/) πŸ“¦ -* [Cuemon.Extensions.Newtonsoft.Json.App](https://www.nuget.org/packages/Cuemon.Extensions.Newtonsoft.Json.App/) 🏭 * [Cuemon.Extensions.Reflection](https://www.nuget.org/packages/Cuemon.Extensions.Reflection/) πŸ“¦ * [Cuemon.Extensions.Runtime.Caching](https://www.nuget.org/packages/Cuemon.Extensions.Runtime.Caching/) πŸ“¦ * [Cuemon.Extensions.Text](https://www.nuget.org/packages/Cuemon.Extensions.Text/) πŸ“¦ From dda5dd7a8f182c7d0d3726dbaa0aa09e92067a53 Mon Sep 17 00:00:00 2001 From: Michael Mortensen Date: Sun, 22 Sep 2024 23:33:27 +0200 Subject: [PATCH 4/7] :boom: Cuemon.Extensions.Newtonsoft.Json, Cuemon.Extensions.AspNetCore.Newtonsoft.Json and Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json was removed from the Cuemon assembly family --- Cuemon.sln | 42 ---- ...Core.Mvc.Formatters.Newtonsoft.Json.csproj | 30 --- .../JsonSerializationInputFormatter.cs | 25 -- .../JsonSerializationMvcOptionsSetup.cs | 23 -- .../JsonSerializationOutputFormatter.cs | 25 -- .../JsonSerializerSettingsExtensions.cs | 53 ---- .../MvcBuilderExtensions.cs | 53 ---- .../MvcCoreBuilderExtensions.cs | 53 ---- .../Properties/AssemblyInfo.cs | 4 - .../Bootstrapper.cs | 30 --- .../JsonConverterCollectionExtensions.cs | 134 ---------- ...tensions.AspNetCore.Newtonsoft.Json.csproj | 18 -- .../Formatters/ServiceCollectionExtensions.cs | 77 ------ .../Properties/AssemblyInfo.cs | 4 - ...emon.Extensions.Newtonsoft.Json.App.csproj | 20 -- .../Converters/ExceptionConverter.cs | 233 ------------------ .../Converters/FailureConverter.cs | 128 ---------- .../JsonConverterCollectionExtensions.cs | 150 ----------- .../Converters/StringFlagsEnumConverter.cs | 106 -------- .../TransientFaultExceptionConverter.cs | 78 ------ .../Cuemon.Extensions.Newtonsoft.Json.csproj | 22 -- .../DynamicContractResolver.cs | 73 ------ .../DynamicJsonConverter.cs | 151 ------------ .../Formatters/NewtonsoftJsonFormatter.cs | 83 ------- .../NewtonsoftJsonFormatterOptions.cs | 191 -------------- .../GlobalSuppressions.cs | 13 - .../JData.cs | 155 ------------ .../JDataResult.cs | 57 ----- .../JDataResultExtensions.cs | 96 -------- .../JsonReaderExtensions.cs | 74 ------ .../JsonSerializerSettingsExtensions.cs | 19 -- .../JsonWriterExtensions.cs | 38 --- .../Properties/AssemblyInfo.cs | 4 - .../ContractResolverExtensions.cs | 29 --- .../ValidatorExtensions.cs | 61 ----- 35 files changed, 2352 deletions(-) delete mode 100644 src/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json.csproj delete mode 100644 src/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json/JsonSerializationInputFormatter.cs delete mode 100644 src/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json/JsonSerializationMvcOptionsSetup.cs delete mode 100644 src/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json/JsonSerializationOutputFormatter.cs delete mode 100644 src/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json/JsonSerializerSettingsExtensions.cs delete mode 100644 src/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json/MvcBuilderExtensions.cs delete mode 100644 src/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json/MvcCoreBuilderExtensions.cs delete mode 100644 src/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json/Properties/AssemblyInfo.cs delete mode 100644 src/Cuemon.Extensions.AspNetCore.Newtonsoft.Json/Bootstrapper.cs delete mode 100644 src/Cuemon.Extensions.AspNetCore.Newtonsoft.Json/Converters/JsonConverterCollectionExtensions.cs delete mode 100644 src/Cuemon.Extensions.AspNetCore.Newtonsoft.Json/Cuemon.Extensions.AspNetCore.Newtonsoft.Json.csproj delete mode 100644 src/Cuemon.Extensions.AspNetCore.Newtonsoft.Json/Formatters/ServiceCollectionExtensions.cs delete mode 100644 src/Cuemon.Extensions.AspNetCore.Newtonsoft.Json/Properties/AssemblyInfo.cs delete mode 100644 src/Cuemon.Extensions.Newtonsoft.Json.App/Cuemon.Extensions.Newtonsoft.Json.App.csproj delete mode 100644 src/Cuemon.Extensions.Newtonsoft.Json/Converters/ExceptionConverter.cs delete mode 100644 src/Cuemon.Extensions.Newtonsoft.Json/Converters/FailureConverter.cs delete mode 100644 src/Cuemon.Extensions.Newtonsoft.Json/Converters/JsonConverterCollectionExtensions.cs delete mode 100644 src/Cuemon.Extensions.Newtonsoft.Json/Converters/StringFlagsEnumConverter.cs delete mode 100644 src/Cuemon.Extensions.Newtonsoft.Json/Converters/TransientFaultExceptionConverter.cs delete mode 100644 src/Cuemon.Extensions.Newtonsoft.Json/Cuemon.Extensions.Newtonsoft.Json.csproj delete mode 100644 src/Cuemon.Extensions.Newtonsoft.Json/DynamicContractResolver.cs delete mode 100644 src/Cuemon.Extensions.Newtonsoft.Json/DynamicJsonConverter.cs delete mode 100644 src/Cuemon.Extensions.Newtonsoft.Json/Formatters/NewtonsoftJsonFormatter.cs delete mode 100644 src/Cuemon.Extensions.Newtonsoft.Json/Formatters/NewtonsoftJsonFormatterOptions.cs delete mode 100644 src/Cuemon.Extensions.Newtonsoft.Json/GlobalSuppressions.cs delete mode 100644 src/Cuemon.Extensions.Newtonsoft.Json/JData.cs delete mode 100644 src/Cuemon.Extensions.Newtonsoft.Json/JDataResult.cs delete mode 100644 src/Cuemon.Extensions.Newtonsoft.Json/JDataResultExtensions.cs delete mode 100644 src/Cuemon.Extensions.Newtonsoft.Json/JsonReaderExtensions.cs delete mode 100644 src/Cuemon.Extensions.Newtonsoft.Json/JsonSerializerSettingsExtensions.cs delete mode 100644 src/Cuemon.Extensions.Newtonsoft.Json/JsonWriterExtensions.cs delete mode 100644 src/Cuemon.Extensions.Newtonsoft.Json/Properties/AssemblyInfo.cs delete mode 100644 src/Cuemon.Extensions.Newtonsoft.Json/Serialization/ContractResolverExtensions.cs delete mode 100644 src/Cuemon.Extensions.Newtonsoft.Json/ValidatorExtensions.cs diff --git a/Cuemon.sln b/Cuemon.sln index 2f02d694f..609f65f47 100644 --- a/Cuemon.sln +++ b/Cuemon.sln @@ -11,12 +11,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Cuemon.AspNetCore.Mvc", "sr EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Cuemon.AspNetCore", "src\Cuemon.AspNetCore\Cuemon.AspNetCore.csproj", "{A00ADF91-E7C7-4CB4-A39D-E1A5374C5602}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Cuemon.Extensions.Newtonsoft.Json", "src\Cuemon.Extensions.Newtonsoft.Json\Cuemon.Extensions.Newtonsoft.Json.csproj", "{080BDF91-E7C7-4CB4-A39D-E1A5374C5602}" -EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml", "src\Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml\Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml.csproj", "{A70ADF91-E7C7-4CB4-A39D-E1A5374C5602}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json", "src\Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json\Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json.csproj", "{A60ADF91-E7C7-4CB4-A39D-E1A5374C5602}" -EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Cuemon.Extensions.IO", "src\Cuemon.Extensions.IO\Cuemon.Extensions.IO.csproj", "{060BDF91-E7C7-4CB4-A39D-E1A5374C5602}" EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Cuemon.Extensions.Text", "src\Cuemon.Extensions.Text\Cuemon.Extensions.Text.csproj", "{0A0BDF91-E7C7-4CB4-A39D-E1A5374C5602}" @@ -115,8 +111,6 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Cuemon.Extensions.Runtime.C EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Cuemon.Extensions.Runtime.Caching.Tests", "test\Cuemon.Extensions.Runtime.Caching.Tests\Cuemon.Extensions.Runtime.Caching.Tests.csproj", "{0F614FD1-BC7C-4F7F-9847-D3675614576C}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Cuemon.Extensions.Newtonsoft.Json.Tests", "test\Cuemon.Extensions.Newtonsoft.Json.Tests\Cuemon.Extensions.Newtonsoft.Json.Tests.csproj", "{8A3E26BD-A3C4-4684-909B-1ABDFDB4108D}" -EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Cuemon.Data.SqlClient.Tests", "test\Cuemon.Data.SqlClient.Tests\Cuemon.Data.SqlClient.Tests.csproj", "{A9610C9E-1944-4771-A5E1-CE47ADA243D5}" EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Cuemon.AspNetCore.Authentication.Tests", "test\Cuemon.AspNetCore.Authentication.Tests\Cuemon.AspNetCore.Authentication.Tests.csproj", "{D29D6F7E-8A76-48AD-A042-EFC83CD474A5}" @@ -135,8 +129,6 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Cuemon.Extensions.Threading EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml.Tests", "test\Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml.Tests\Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml.Tests.csproj", "{176F78D7-C6EE-4515-A54F-3D902CDD95E3}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json.Tests", "test\Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json.Tests\Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json.Tests.csproj", "{63C49907-BD5B-400A-B135-22D8BE639298}" -EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Cuemon.Extensions.Collections.Generic.Tests", "test\Cuemon.Extensions.Collections.Generic.Tests\Cuemon.Extensions.Collections.Generic.Tests.csproj", "{D4F63068-CCB8-4C9C-AA81-FAF031DCA5D9}" EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Cuemon.Extensions.AspNetCore.Mvc.Tests", "test\Cuemon.Extensions.AspNetCore.Mvc.Tests\Cuemon.Extensions.AspNetCore.Mvc.Tests.csproj", "{C6867EE8-73F9-435D-90CF-8546CF693903}" @@ -155,8 +147,6 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Cuemon.AspNetCore.Razor.Tag EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Cuemon.Extensions.AspNetCore.Mvc.RazorPages.Tests", "test\Cuemon.Extensions.AspNetCore.Mvc.RazorPages.Tests\Cuemon.Extensions.AspNetCore.Mvc.RazorPages.Tests.csproj", "{7E486338-CC7F-455A-8E88-A17284087431}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Cuemon.Extensions.Newtonsoft.Json.App", "src\Cuemon.Extensions.Newtonsoft.Json.App\Cuemon.Extensions.Newtonsoft.Json.App.csproj", "{260BDF91-E7C7-4CB4-A39D-E1A5374C5602}" -EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json", "src\Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json\Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json.csproj", "{A90ADF91-E7C7-4CB4-A39D-E1A5374C5602}" EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Cuemon.Extensions.Text.Json", "src\Cuemon.Extensions.Text.Json\Cuemon.Extensions.Text.Json.csproj", "{A80ADF91-E7C7-4CB4-A39D-E1A5374C5602}" @@ -184,8 +174,6 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "gse", "tooling\gse\gse.cspr EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Cuemon.Extensions.AspNetCore.Authentication.Tests", "test\Cuemon.Extensions.AspNetCore.Authentication.Tests\Cuemon.Extensions.AspNetCore.Authentication.Tests.csproj", "{93564653-ABE7-413D-9C4A-A9894CEE8F97}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Cuemon.Extensions.AspNetCore.Newtonsoft.Json", "src\Cuemon.Extensions.AspNetCore.Newtonsoft.Json\Cuemon.Extensions.AspNetCore.Newtonsoft.Json.csproj", "{AD0ADF91-E7C7-4CB4-A39D-E1A5374C5602}" -EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Cuemon.Extensions.AspNetCore.Xml", "src\Cuemon.Extensions.AspNetCore.Xml\Cuemon.Extensions.AspNetCore.Xml.csproj", "{AF0ADF91-E7C7-4CB4-A39D-E1A5374C5602}" EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Cuemon.Extensions.AspNetCore.Text.Json", "src\Cuemon.Extensions.AspNetCore.Text.Json\Cuemon.Extensions.AspNetCore.Text.Json.csproj", "{AE0ADF91-E7C7-4CB4-A39D-E1A5374C5602}" @@ -212,18 +200,10 @@ Global {A00ADF91-E7C7-4CB4-A39D-E1A5374C5602}.Debug|Any CPU.Build.0 = Debug|Any CPU {A00ADF91-E7C7-4CB4-A39D-E1A5374C5602}.Release|Any CPU.ActiveCfg = Release|Any CPU {A00ADF91-E7C7-4CB4-A39D-E1A5374C5602}.Release|Any CPU.Build.0 = Release|Any CPU - {080BDF91-E7C7-4CB4-A39D-E1A5374C5602}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {080BDF91-E7C7-4CB4-A39D-E1A5374C5602}.Debug|Any CPU.Build.0 = Debug|Any CPU - {080BDF91-E7C7-4CB4-A39D-E1A5374C5602}.Release|Any CPU.ActiveCfg = Release|Any CPU - {080BDF91-E7C7-4CB4-A39D-E1A5374C5602}.Release|Any CPU.Build.0 = Release|Any CPU {A70ADF91-E7C7-4CB4-A39D-E1A5374C5602}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {A70ADF91-E7C7-4CB4-A39D-E1A5374C5602}.Debug|Any CPU.Build.0 = Debug|Any CPU {A70ADF91-E7C7-4CB4-A39D-E1A5374C5602}.Release|Any CPU.ActiveCfg = Release|Any CPU {A70ADF91-E7C7-4CB4-A39D-E1A5374C5602}.Release|Any CPU.Build.0 = Release|Any CPU - {A60ADF91-E7C7-4CB4-A39D-E1A5374C5602}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {A60ADF91-E7C7-4CB4-A39D-E1A5374C5602}.Debug|Any CPU.Build.0 = Debug|Any CPU - {A60ADF91-E7C7-4CB4-A39D-E1A5374C5602}.Release|Any CPU.ActiveCfg = Release|Any CPU - {A60ADF91-E7C7-4CB4-A39D-E1A5374C5602}.Release|Any CPU.Build.0 = Release|Any CPU {060BDF91-E7C7-4CB4-A39D-E1A5374C5602}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {060BDF91-E7C7-4CB4-A39D-E1A5374C5602}.Debug|Any CPU.Build.0 = Debug|Any CPU {060BDF91-E7C7-4CB4-A39D-E1A5374C5602}.Release|Any CPU.ActiveCfg = Release|Any CPU @@ -416,10 +396,6 @@ Global {0F614FD1-BC7C-4F7F-9847-D3675614576C}.Debug|Any CPU.Build.0 = Debug|Any CPU {0F614FD1-BC7C-4F7F-9847-D3675614576C}.Release|Any CPU.ActiveCfg = Release|Any CPU {0F614FD1-BC7C-4F7F-9847-D3675614576C}.Release|Any CPU.Build.0 = Release|Any CPU - {8A3E26BD-A3C4-4684-909B-1ABDFDB4108D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {8A3E26BD-A3C4-4684-909B-1ABDFDB4108D}.Debug|Any CPU.Build.0 = Debug|Any CPU - {8A3E26BD-A3C4-4684-909B-1ABDFDB4108D}.Release|Any CPU.ActiveCfg = Release|Any CPU - {8A3E26BD-A3C4-4684-909B-1ABDFDB4108D}.Release|Any CPU.Build.0 = Release|Any CPU {A9610C9E-1944-4771-A5E1-CE47ADA243D5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {A9610C9E-1944-4771-A5E1-CE47ADA243D5}.Debug|Any CPU.Build.0 = Debug|Any CPU {A9610C9E-1944-4771-A5E1-CE47ADA243D5}.Release|Any CPU.ActiveCfg = Release|Any CPU @@ -456,10 +432,6 @@ Global {176F78D7-C6EE-4515-A54F-3D902CDD95E3}.Debug|Any CPU.Build.0 = Debug|Any CPU {176F78D7-C6EE-4515-A54F-3D902CDD95E3}.Release|Any CPU.ActiveCfg = Release|Any CPU {176F78D7-C6EE-4515-A54F-3D902CDD95E3}.Release|Any CPU.Build.0 = Release|Any CPU - {63C49907-BD5B-400A-B135-22D8BE639298}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {63C49907-BD5B-400A-B135-22D8BE639298}.Debug|Any CPU.Build.0 = Debug|Any CPU - {63C49907-BD5B-400A-B135-22D8BE639298}.Release|Any CPU.ActiveCfg = Release|Any CPU - {63C49907-BD5B-400A-B135-22D8BE639298}.Release|Any CPU.Build.0 = Release|Any CPU {D4F63068-CCB8-4C9C-AA81-FAF031DCA5D9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {D4F63068-CCB8-4C9C-AA81-FAF031DCA5D9}.Debug|Any CPU.Build.0 = Debug|Any CPU {D4F63068-CCB8-4C9C-AA81-FAF031DCA5D9}.Release|Any CPU.ActiveCfg = Release|Any CPU @@ -496,10 +468,6 @@ Global {7E486338-CC7F-455A-8E88-A17284087431}.Debug|Any CPU.Build.0 = Debug|Any CPU {7E486338-CC7F-455A-8E88-A17284087431}.Release|Any CPU.ActiveCfg = Release|Any CPU {7E486338-CC7F-455A-8E88-A17284087431}.Release|Any CPU.Build.0 = Release|Any CPU - {260BDF91-E7C7-4CB4-A39D-E1A5374C5602}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {260BDF91-E7C7-4CB4-A39D-E1A5374C5602}.Debug|Any CPU.Build.0 = Debug|Any CPU - {260BDF91-E7C7-4CB4-A39D-E1A5374C5602}.Release|Any CPU.ActiveCfg = Release|Any CPU - {260BDF91-E7C7-4CB4-A39D-E1A5374C5602}.Release|Any CPU.Build.0 = Release|Any CPU {A90ADF91-E7C7-4CB4-A39D-E1A5374C5602}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {A90ADF91-E7C7-4CB4-A39D-E1A5374C5602}.Debug|Any CPU.Build.0 = Debug|Any CPU {A90ADF91-E7C7-4CB4-A39D-E1A5374C5602}.Release|Any CPU.ActiveCfg = Release|Any CPU @@ -540,10 +508,6 @@ Global {93564653-ABE7-413D-9C4A-A9894CEE8F97}.Debug|Any CPU.Build.0 = Debug|Any CPU {93564653-ABE7-413D-9C4A-A9894CEE8F97}.Release|Any CPU.ActiveCfg = Release|Any CPU {93564653-ABE7-413D-9C4A-A9894CEE8F97}.Release|Any CPU.Build.0 = Release|Any CPU - {AD0ADF91-E7C7-4CB4-A39D-E1A5374C5602}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {AD0ADF91-E7C7-4CB4-A39D-E1A5374C5602}.Debug|Any CPU.Build.0 = Debug|Any CPU - {AD0ADF91-E7C7-4CB4-A39D-E1A5374C5602}.Release|Any CPU.ActiveCfg = Release|Any CPU - {AD0ADF91-E7C7-4CB4-A39D-E1A5374C5602}.Release|Any CPU.Build.0 = Release|Any CPU {AF0ADF91-E7C7-4CB4-A39D-E1A5374C5602}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {AF0ADF91-E7C7-4CB4-A39D-E1A5374C5602}.Debug|Any CPU.Build.0 = Debug|Any CPU {AF0ADF91-E7C7-4CB4-A39D-E1A5374C5602}.Release|Any CPU.ActiveCfg = Release|Any CPU @@ -568,9 +532,7 @@ Global {000BDF91-E7C7-4CB4-A39D-E1A5374C5602} = {B59C8DF7-7DEC-46AF-A165-CC9E3AD01EA8} {A20ADF91-E7C7-4CB4-A39D-E1A5374C5602} = {B59C8DF7-7DEC-46AF-A165-CC9E3AD01EA8} {A00ADF91-E7C7-4CB4-A39D-E1A5374C5602} = {B59C8DF7-7DEC-46AF-A165-CC9E3AD01EA8} - {080BDF91-E7C7-4CB4-A39D-E1A5374C5602} = {B59C8DF7-7DEC-46AF-A165-CC9E3AD01EA8} {A70ADF91-E7C7-4CB4-A39D-E1A5374C5602} = {B59C8DF7-7DEC-46AF-A165-CC9E3AD01EA8} - {A60ADF91-E7C7-4CB4-A39D-E1A5374C5602} = {B59C8DF7-7DEC-46AF-A165-CC9E3AD01EA8} {060BDF91-E7C7-4CB4-A39D-E1A5374C5602} = {B59C8DF7-7DEC-46AF-A165-CC9E3AD01EA8} {0A0BDF91-E7C7-4CB4-A39D-E1A5374C5602} = {B59C8DF7-7DEC-46AF-A165-CC9E3AD01EA8} {020BDF91-E7C7-4CB4-A39D-E1A5374C5602} = {B59C8DF7-7DEC-46AF-A165-CC9E3AD01EA8} @@ -619,7 +581,6 @@ Global {581174AB-62AA-4A04-85DE-4F9E307C9712} = {31707D2B-843E-4D4F-B9C7-3E74EF8DA338} {1F0BDF91-E7C7-4CB4-A39D-E1A5374C5602} = {B59C8DF7-7DEC-46AF-A165-CC9E3AD01EA8} {0F614FD1-BC7C-4F7F-9847-D3675614576C} = {31707D2B-843E-4D4F-B9C7-3E74EF8DA338} - {8A3E26BD-A3C4-4684-909B-1ABDFDB4108D} = {31707D2B-843E-4D4F-B9C7-3E74EF8DA338} {A9610C9E-1944-4771-A5E1-CE47ADA243D5} = {31707D2B-843E-4D4F-B9C7-3E74EF8DA338} {D29D6F7E-8A76-48AD-A042-EFC83CD474A5} = {31707D2B-843E-4D4F-B9C7-3E74EF8DA338} {220BDF91-E7C7-4CB4-A39D-E1A5374C5602} = {B59C8DF7-7DEC-46AF-A165-CC9E3AD01EA8} @@ -629,7 +590,6 @@ Global {9A51294D-B94C-4F09-AD97-9241C7CCC914} = {31707D2B-843E-4D4F-B9C7-3E74EF8DA338} {777E0306-C250-4C82-BFA4-5C7522AAB9D4} = {31707D2B-843E-4D4F-B9C7-3E74EF8DA338} {176F78D7-C6EE-4515-A54F-3D902CDD95E3} = {31707D2B-843E-4D4F-B9C7-3E74EF8DA338} - {63C49907-BD5B-400A-B135-22D8BE639298} = {31707D2B-843E-4D4F-B9C7-3E74EF8DA338} {D4F63068-CCB8-4C9C-AA81-FAF031DCA5D9} = {31707D2B-843E-4D4F-B9C7-3E74EF8DA338} {C6867EE8-73F9-435D-90CF-8546CF693903} = {31707D2B-843E-4D4F-B9C7-3E74EF8DA338} {D80027A4-509D-4F08-9AC5-49133EAD57B2} = {31707D2B-843E-4D4F-B9C7-3E74EF8DA338} @@ -639,7 +599,6 @@ Global {C6B592E8-2413-4BFF-ADF2-8A72C62199E3} = {B59C8DF7-7DEC-46AF-A165-CC9E3AD01EA8} {9D83BDB8-153B-4159-8F7B-054A464BCE44} = {31707D2B-843E-4D4F-B9C7-3E74EF8DA338} {7E486338-CC7F-455A-8E88-A17284087431} = {31707D2B-843E-4D4F-B9C7-3E74EF8DA338} - {260BDF91-E7C7-4CB4-A39D-E1A5374C5602} = {B59C8DF7-7DEC-46AF-A165-CC9E3AD01EA8} {A90ADF91-E7C7-4CB4-A39D-E1A5374C5602} = {B59C8DF7-7DEC-46AF-A165-CC9E3AD01EA8} {A80ADF91-E7C7-4CB4-A39D-E1A5374C5602} = {B59C8DF7-7DEC-46AF-A165-CC9E3AD01EA8} {7B45D887-4AF1-4846-9006-BC44B0EDB81B} = {31707D2B-843E-4D4F-B9C7-3E74EF8DA338} @@ -650,7 +609,6 @@ Global {3EC7ADB9-EA78-44D2-BD09-85CE6242B7BF} = {31707D2B-843E-4D4F-B9C7-3E74EF8DA338} {66B746F6-411B-4A73-86EB-D913EDD106D9} = {F704776F-F994-472B-8B61-813B200C52D5} {93564653-ABE7-413D-9C4A-A9894CEE8F97} = {31707D2B-843E-4D4F-B9C7-3E74EF8DA338} - {AD0ADF91-E7C7-4CB4-A39D-E1A5374C5602} = {B59C8DF7-7DEC-46AF-A165-CC9E3AD01EA8} {AF0ADF91-E7C7-4CB4-A39D-E1A5374C5602} = {B59C8DF7-7DEC-46AF-A165-CC9E3AD01EA8} {AE0ADF91-E7C7-4CB4-A39D-E1A5374C5602} = {B59C8DF7-7DEC-46AF-A165-CC9E3AD01EA8} {28AC63CA-9E57-4C36-81B4-C03DD0CFC0EA} = {31707D2B-843E-4D4F-B9C7-3E74EF8DA338} diff --git a/src/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json.csproj b/src/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json.csproj deleted file mode 100644 index be4f648be..000000000 --- a/src/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json.csproj +++ /dev/null @@ -1,30 +0,0 @@ -ο»Ώ - - - net9.0;net8.0 - a60adf91-e7c7-4cb4-a39d-e1a5374c5602 - - - - The Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json namespace contains both types and extension methods that complements both the Cuemon.Extensions.Newtonsoft.Json/Cuemon.Extensions.AspNetCore.Newtonsoft.Json namespace while being an addition to the Microsoft.AspNetCore.Mvc namespace. Provides JSON formatters for ASP.NET Core MVC that is powered by Newtonsoft.Json. - extension-methods extensions json-converters add-json-serialization-formatters add-json-formatter-options - - - - - - - - - - - - - - - - - - - - diff --git a/src/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json/JsonSerializationInputFormatter.cs b/src/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json/JsonSerializationInputFormatter.cs deleted file mode 100644 index ec9b2ca99..000000000 --- a/src/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json/JsonSerializationInputFormatter.cs +++ /dev/null @@ -1,25 +0,0 @@ -ο»Ώusing Cuemon.AspNetCore.Mvc.Formatters; -using Cuemon.Extensions.AspNetCore.Newtonsoft.Json.Converters; -using Cuemon.Extensions.Newtonsoft.Json.Formatters; - -namespace Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json -{ - /// - /// This class handles deserialization of JSON to objects using . - /// - public class JsonSerializationInputFormatter : StreamInputFormatter - { - /// - /// Initializes a new instance of the class. - /// - /// The which need to be configured. - public JsonSerializationInputFormatter(NewtonsoftJsonFormatterOptions options) : base(options) - { - options.Settings.Converters.AddHttpExceptionDescriptorConverter(o => o.SensitivityDetails = options.SensitivityDetails); - foreach (var mediaType in options.SupportedMediaTypes) - { - SupportedMediaTypes.Add(mediaType.ToString()); - } - } - } -} diff --git a/src/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json/JsonSerializationMvcOptionsSetup.cs b/src/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json/JsonSerializationMvcOptionsSetup.cs deleted file mode 100644 index 14fa1135e..000000000 --- a/src/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json/JsonSerializationMvcOptionsSetup.cs +++ /dev/null @@ -1,23 +0,0 @@ -ο»Ώusing Cuemon.Extensions.Newtonsoft.Json.Formatters; -using Microsoft.AspNetCore.Mvc; -using Microsoft.Extensions.Options; - -namespace Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json -{ - /// - /// A implementation which will add the JSON serializer formatters to . - /// - public class JsonSerializationMvcOptionsSetup : ConfigureOptions - { - /// - /// Creates a new . - /// - public JsonSerializationMvcOptionsSetup(IOptions formatterOptions) : base(mo => - { - mo.OutputFormatters.Insert(0, new JsonSerializationOutputFormatter(formatterOptions?.Value)); - mo.InputFormatters.Insert(0, new JsonSerializationInputFormatter(formatterOptions?.Value)); - }) - { - } - } -} \ No newline at end of file diff --git a/src/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json/JsonSerializationOutputFormatter.cs b/src/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json/JsonSerializationOutputFormatter.cs deleted file mode 100644 index b41867e39..000000000 --- a/src/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json/JsonSerializationOutputFormatter.cs +++ /dev/null @@ -1,25 +0,0 @@ -ο»Ώusing Cuemon.AspNetCore.Mvc.Formatters; -using Cuemon.Extensions.AspNetCore.Newtonsoft.Json.Converters; -using Cuemon.Extensions.Newtonsoft.Json.Formatters; - -namespace Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json -{ - /// - /// This class handles serialization of objects to JSON using . - /// - public class JsonSerializationOutputFormatter : StreamOutputFormatter - { - /// - /// Initializes a new instance of the class. - /// - /// The which need to be configured. - public JsonSerializationOutputFormatter(NewtonsoftJsonFormatterOptions options) : base(options) - { - options.Settings.Converters.AddHttpExceptionDescriptorConverter(o => o.SensitivityDetails = options.SensitivityDetails); - foreach (var mediaType in options.SupportedMediaTypes) - { - SupportedMediaTypes.Add(mediaType.ToString()); - } - } - } -} diff --git a/src/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json/JsonSerializerSettingsExtensions.cs b/src/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json/JsonSerializerSettingsExtensions.cs deleted file mode 100644 index ffc2aff97..000000000 --- a/src/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json/JsonSerializerSettingsExtensions.cs +++ /dev/null @@ -1,53 +0,0 @@ -ο»Ώusing System; -using Cuemon.Configuration; -using Newtonsoft.Json; - -namespace Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json -{ - /// - /// Extension methods for the class. - /// - public static class JsonSerializerSettingsExtensions - { - /// - /// Instructs a JSON serializer to propagate the specified by on to with an optional delegate. - /// - /// The type of the to use. - /// The to extend. - /// The which need to be configured. - public static void Use(this JsonSerializerSettings s1, Action setup = null) where T : JsonSerializerSettings, IParameterObject, new() - { - Validator.ThrowIfNull(s1); - var s2 = Patterns.Configure(setup); - s1.CheckAdditionalContent = s2.CheckAdditionalContent; - s1.ConstructorHandling = s2.ConstructorHandling; - s1.Context = s2.Context; - s1.ContractResolver = s2.ContractResolver; - s1.Converters = s2.Converters; - s1.Culture = s2.Culture; - s1.DateFormatHandling = s2.DateFormatHandling; - s1.DateTimeZoneHandling = s2.DateTimeZoneHandling; - s1.DateFormatString = s2.DateFormatString; - s1.DateParseHandling = s2.DateParseHandling; - s1.Error = s2.Error; - s1.DefaultValueHandling = s2.DefaultValueHandling; - s1.EqualityComparer = s2.EqualityComparer; - s1.FloatFormatHandling = s2.FloatFormatHandling; - s1.FloatParseHandling = s2.FloatParseHandling; - s1.Formatting = s2.Formatting; - s1.MaxDepth = s2.MaxDepth; - s1.MetadataPropertyHandling = s2.MetadataPropertyHandling; - s1.MissingMemberHandling = s2.MissingMemberHandling; - s1.NullValueHandling = s2.NullValueHandling; - s1.ObjectCreationHandling = s2.ObjectCreationHandling; - s1.PreserveReferencesHandling = s2.PreserveReferencesHandling; - s1.ReferenceLoopHandling = s2.ReferenceLoopHandling; - s1.ReferenceResolverProvider = s2.ReferenceResolverProvider; - s1.SerializationBinder = s2.SerializationBinder; - s1.StringEscapeHandling = s2.StringEscapeHandling; - s1.TraceWriter = s2.TraceWriter; - s1.TypeNameAssemblyFormatHandling = s2.TypeNameAssemblyFormatHandling; - s1.TypeNameHandling = s2.TypeNameHandling; - } - } -} diff --git a/src/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json/MvcBuilderExtensions.cs b/src/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json/MvcBuilderExtensions.cs deleted file mode 100644 index 4152b90c1..000000000 --- a/src/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json/MvcBuilderExtensions.cs +++ /dev/null @@ -1,53 +0,0 @@ -ο»Ώusing System; -using Cuemon.Extensions.AspNetCore.Newtonsoft.Json.Formatters; -using Cuemon.Extensions.Newtonsoft.Json.Formatters; -using Microsoft.AspNetCore.Mvc; -using Microsoft.Extensions.DependencyInjection; -using Microsoft.Extensions.DependencyInjection.Extensions; -using Microsoft.Extensions.Options; - -namespace Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json -{ - /// - /// Extension methods for the interface. - /// - public static class MvcBuilderExtensions - { - /// - /// Adds the JSON serializer formatters to MVC. - /// - /// The . - /// The which may be configured. - /// A reference to after the operation has completed. - /// - /// cannot be null -or- - /// cannot be null. - /// - public static IMvcBuilder AddNewtonsoftJsonFormatters(this IMvcBuilder builder, Action setup = null) - { - Validator.ThrowIfNull(builder); - builder.Services.TryAddEnumerable(ServiceDescriptor.Transient, JsonSerializationMvcOptionsSetup>()); - AddNewtonsoftJsonFormattersOptions(builder, setup); - return builder; - } - - /// - /// Adds configuration of for the application. - /// - /// The . - /// The which need to be configured. - /// A reference to after the operation has completed. - /// - /// cannot be null. - /// - /// - /// failed to configure an instance of in a valid state. - /// - public static IMvcBuilder AddNewtonsoftJsonFormattersOptions(this IMvcBuilder builder, Action setup = null) - { - Validator.ThrowIfNull(builder); - builder.Services.AddNewtonsoftJsonExceptionResponseFormatter(setup); - return builder; - } - } -} diff --git a/src/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json/MvcCoreBuilderExtensions.cs b/src/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json/MvcCoreBuilderExtensions.cs deleted file mode 100644 index eeb90350f..000000000 --- a/src/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json/MvcCoreBuilderExtensions.cs +++ /dev/null @@ -1,53 +0,0 @@ -ο»Ώusing System; -using Cuemon.Extensions.AspNetCore.Newtonsoft.Json.Formatters; -using Cuemon.Extensions.Newtonsoft.Json.Formatters; -using Microsoft.AspNetCore.Mvc; -using Microsoft.Extensions.DependencyInjection; -using Microsoft.Extensions.DependencyInjection.Extensions; -using Microsoft.Extensions.Options; - -namespace Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json -{ - /// - /// Extension methods for the interface. - /// - public static class MvcCoreBuilderExtensions - { - /// - /// Adds the JSON serializer formatters to MVC. - /// - /// The . - /// The which may be configured. - /// A reference to after the operation has completed. - /// - /// cannot be null -or- - /// cannot be null. - /// - public static IMvcCoreBuilder AddNewtonsoftJsonFormatters(this IMvcCoreBuilder builder, Action setup = null) - { - Validator.ThrowIfNull(builder); - builder.Services.TryAddEnumerable(ServiceDescriptor.Transient, JsonSerializationMvcOptionsSetup>()); - AddNewtonsoftJsonFormattersOptions(builder, setup); - return builder; - } - - /// - /// Adds configuration of for the application. - /// - /// The . - /// The which need to be configured. - /// A reference to after the operation has completed. - /// - /// cannot be null. - /// - /// - /// failed to configure an instance of in a valid state. - /// - public static IMvcCoreBuilder AddNewtonsoftJsonFormattersOptions(this IMvcCoreBuilder builder, Action setup = null) - { - Validator.ThrowIfNull(builder); - builder.Services.AddNewtonsoftJsonExceptionResponseFormatter(setup); - return builder; - } - } -} diff --git a/src/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json/Properties/AssemblyInfo.cs b/src/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json/Properties/AssemblyInfo.cs deleted file mode 100644 index 86b9b8705..000000000 --- a/src/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,4 +0,0 @@ -ο»Ώusing System.Runtime.InteropServices; - -[assembly: ComVisible(false)] -[assembly: Guid("d37070c0-7c68-44af-b40f-6e520ef63ef9")] \ No newline at end of file diff --git a/src/Cuemon.Extensions.AspNetCore.Newtonsoft.Json/Bootstrapper.cs b/src/Cuemon.Extensions.AspNetCore.Newtonsoft.Json/Bootstrapper.cs deleted file mode 100644 index 60cda82c9..000000000 --- a/src/Cuemon.Extensions.AspNetCore.Newtonsoft.Json/Bootstrapper.cs +++ /dev/null @@ -1,30 +0,0 @@ -ο»Ώusing Cuemon.Extensions.AspNetCore.Newtonsoft.Json.Converters; -using Cuemon.Extensions.Newtonsoft.Json.Formatters; - -namespace Cuemon.Extensions.AspNetCore.Newtonsoft.Json -{ - internal static class Bootstrapper - { - private static readonly object PadLock = new(); - private static bool _initialized; - - internal static void Initialize() - { - if (!_initialized) - { - lock (PadLock) - { - if (!_initialized) - { - _initialized = true; - NewtonsoftJsonFormatterOptions.DefaultConverters += list => - { - list.AddStringValuesConverter(); - list.AddProblemDetailsConverter(); - }; - } - } - } - } - } -} diff --git a/src/Cuemon.Extensions.AspNetCore.Newtonsoft.Json/Converters/JsonConverterCollectionExtensions.cs b/src/Cuemon.Extensions.AspNetCore.Newtonsoft.Json/Converters/JsonConverterCollectionExtensions.cs deleted file mode 100644 index 40fe5d497..000000000 --- a/src/Cuemon.Extensions.AspNetCore.Newtonsoft.Json/Converters/JsonConverterCollectionExtensions.cs +++ /dev/null @@ -1,134 +0,0 @@ -ο»Ώusing System; -using System.Collections.Generic; -using System.Linq; -using Cuemon.AspNetCore.Diagnostics; -using Cuemon.Diagnostics; -using Cuemon.Extensions.Newtonsoft.Json; -using Cuemon.Extensions.Newtonsoft.Json.Converters; -using Microsoft.AspNetCore.Mvc; -using Microsoft.Extensions.Primitives; -using Newtonsoft.Json; - -namespace Cuemon.Extensions.AspNetCore.Newtonsoft.Json.Converters -{ - /// - /// Extension methods for the class. - /// - public static class JsonConverterCollectionExtensions - { - /// - /// Adds a JSON converter to the list. - /// - /// The to extend. - /// A reference to after the operation has completed. - public static ICollection AddProblemDetailsConverter(this ICollection converters) - { - converters.Add(DynamicJsonConverter.Create(WriteProblemDetails)); - converters.Add(DynamicJsonConverter.Create>((writer, dpd, serializer) => WriteProblemDetails(writer, dpd.Inner, serializer))); - return converters; - } - - private static void WriteProblemDetails(JsonWriter writer, ProblemDetails pd, JsonSerializer serializer) - { - writer.WriteStartObject(); - if (pd.Type != null) - { - writer.WritePropertyName(nameof(ProblemDetails.Type), serializer); - writer.WriteValue(pd.Type); - } - - if (pd.Title != null) - { - writer.WritePropertyName(nameof(ProblemDetails.Title), serializer); - writer.WriteValue(pd.Title); - } - - if (pd.Status.HasValue) - { - writer.WritePropertyName(nameof(ProblemDetails.Status), serializer); - writer.WriteValue(pd.Status.Value); - } - - if (pd.Detail != null) - { - writer.WritePropertyName(nameof(ProblemDetails.Detail), serializer); - writer.WriteValue(pd.Detail); - } - - if (pd.Instance != null) - { - writer.WritePropertyName(nameof(ProblemDetails.Instance), serializer); - writer.WriteValue(pd.Instance); - } - - foreach (var extension in pd.Extensions.Where(kvp => kvp.Value != null)) - { - writer.WritePropertyName(extension.Key, serializer); - writer.WriteObject(extension.Value, serializer); - } - - writer.WriteEndObject(); - } - - /// - /// Adds an JSON converter to the list. - /// - /// The to extend. - /// The which may be configured. - /// A reference to after the operation has completed. - public static ICollection AddHttpExceptionDescriptorConverter(this ICollection converters, Action setup = null) - { - converters.AddExceptionDescriptorConverterOf(setup, (writer, descriptor, serializer) => - { - if (descriptor.Instance != null) - { - writer.WritePropertyName("Instance", serializer); - writer.WriteValue(descriptor.Instance.OriginalString); - } - writer.WritePropertyName("Status", serializer); - writer.WriteValue(descriptor.StatusCode); - }, (writer, descriptor, serializer) => - { - if (!string.IsNullOrWhiteSpace(descriptor.CorrelationId)) - { - writer.WritePropertyName("CorrelationId", serializer); - writer.WriteValue(descriptor.CorrelationId); - } - if (!string.IsNullOrWhiteSpace(descriptor.RequestId)) - { - writer.WritePropertyName("RequestId", serializer); - writer.WriteValue(descriptor.RequestId); - } - if (!string.IsNullOrWhiteSpace(descriptor.TraceId)) - { - writer.WritePropertyName("TraceId", serializer); - writer.WriteValue(descriptor.TraceId); - } - }); - return converters; - } - - /// - /// Adds an JSON converter to the list. - /// - /// The to extend. - /// A reference to after the operation has completed. - public static ICollection AddStringValuesConverter(this ICollection converters) - { - converters.Add(DynamicJsonConverter.Create((writer, values, _) => - { - if (values.Count <= 1) - { - writer.WriteValue(values.ToString()); - } - else - { - writer.WriteStartArray(); - foreach (var value in values) { writer.WriteValue(value); } - writer.WriteEndArray(); - } - })); - return converters; - } - } -} diff --git a/src/Cuemon.Extensions.AspNetCore.Newtonsoft.Json/Cuemon.Extensions.AspNetCore.Newtonsoft.Json.csproj b/src/Cuemon.Extensions.AspNetCore.Newtonsoft.Json/Cuemon.Extensions.AspNetCore.Newtonsoft.Json.csproj deleted file mode 100644 index 6b62446dc..000000000 --- a/src/Cuemon.Extensions.AspNetCore.Newtonsoft.Json/Cuemon.Extensions.AspNetCore.Newtonsoft.Json.csproj +++ /dev/null @@ -1,18 +0,0 @@ -ο»Ώ - - - net9.0;net8.0 - ad0adf91-e7c7-4cb4-a39d-e1a5374c5602 - - - - The Cuemon.Extensions.AspNetCore.Newtonsoft.Json namespace contains both types and extension methods that complements the Cuemon.Extensions.AspNetCore/Cuemon.Extensions.Newtonsoft.Json namespace while being an addition to the Microsoft.AspNetCore namespace. Extends upon JSON formatters and converters in the context of ASP.NET Core for Newtonsoft.Json. - extension-methods extensions json-converters asp-net-core asp-net aspnet di depedency-injection json newtonsoft-json - - - - - - - - diff --git a/src/Cuemon.Extensions.AspNetCore.Newtonsoft.Json/Formatters/ServiceCollectionExtensions.cs b/src/Cuemon.Extensions.AspNetCore.Newtonsoft.Json/Formatters/ServiceCollectionExtensions.cs deleted file mode 100644 index 4581db9eb..000000000 --- a/src/Cuemon.Extensions.AspNetCore.Newtonsoft.Json/Formatters/ServiceCollectionExtensions.cs +++ /dev/null @@ -1,77 +0,0 @@ -ο»Ώusing System; -using System.Net.Http; -using Cuemon.AspNetCore.Diagnostics; -using Cuemon.Extensions.AspNetCore.Newtonsoft.Json.Converters; -using Cuemon.Extensions.Newtonsoft.Json.Formatters; -using Cuemon.Net.Http; -using Microsoft.Extensions.DependencyInjection; -using Microsoft.Extensions.DependencyInjection.Extensions; -using Microsoft.Extensions.Options; - -namespace Cuemon.Extensions.AspNetCore.Newtonsoft.Json.Formatters -{ - /// - /// Extension methods for the interface. - /// - public static class ServiceCollectionExtensions - { - static ServiceCollectionExtensions() - { - Bootstrapper.Initialize(); - } - - /// - /// Adds configuration of for the application. - /// - /// The to extend. - /// The which may be configured. - /// A reference to so that additional configuration calls can be chained. - /// - /// cannot be null. - /// - /// - /// failed to configure an instance of in a valid state. - /// - public static IServiceCollection AddNewtonsoftJsonFormatterOptions(this IServiceCollection services, Action setup = null) - { - Validator.ThrowIfNull(services); - Validator.ThrowIfInvalidConfigurator(setup, out var options); - services.Configure(setup ?? (o => - { - o.Settings = options.Settings; - o.SensitivityDetails = options.SensitivityDetails; - o.SupportedMediaTypes = options.SupportedMediaTypes; - o.SynchronizeWithJsonConvert = options.SynchronizeWithJsonConvert; - })); - return services; - } - - /// - /// Adds an that uses as engine of serialization to the specified list of . - /// - /// The to extend. - /// The which may be configured. - /// A reference to so that additional calls can be chained. - /// - /// cannot be null - /// - /// Configuration of the is done through a call to retrieving an implementation of . - public static IServiceCollection AddNewtonsoftJsonExceptionResponseFormatter(this IServiceCollection services, Action setup = null) - { - Validator.ThrowIfNull(services); - AddNewtonsoftJsonFormatterOptions(services, setup); - services.TryAddSingleton(provider => - { - var options = provider.GetService>().Value; - var faultDescriptorOptions = provider.GetRequiredService>().Value; - return new HttpExceptionDescriptorResponseFormatter(options) - .Adjust(o => o.Settings.Converters.AddHttpExceptionDescriptorConverter(edo => edo.SensitivityDetails = o.SensitivityDetails)) - .Populate((descriptor, contentType) => new StreamContent(NewtonsoftJsonFormatter.SerializeObject(faultDescriptorOptions.FaultDescriptor == PreferredFaultDescriptor.FaultDetails ? descriptor : Decorator.Enclose(descriptor).ToProblemDetails(options.SensitivityDetails), options)) - { - Headers = { { HttpHeaderNames.ContentType, contentType.MediaType } } - }); - }); - return services; - } - } -} diff --git a/src/Cuemon.Extensions.AspNetCore.Newtonsoft.Json/Properties/AssemblyInfo.cs b/src/Cuemon.Extensions.AspNetCore.Newtonsoft.Json/Properties/AssemblyInfo.cs deleted file mode 100644 index 3cbca1788..000000000 --- a/src/Cuemon.Extensions.AspNetCore.Newtonsoft.Json/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,4 +0,0 @@ -ο»Ώusing System.Runtime.InteropServices; - -[assembly: ComVisible(false)] -[assembly: Guid("16469a8f-714b-4ae9-aba9-ec5ab1aad91c")] \ No newline at end of file diff --git a/src/Cuemon.Extensions.Newtonsoft.Json.App/Cuemon.Extensions.Newtonsoft.Json.App.csproj b/src/Cuemon.Extensions.Newtonsoft.Json.App/Cuemon.Extensions.Newtonsoft.Json.App.csproj deleted file mode 100644 index 2f4965beb..000000000 --- a/src/Cuemon.Extensions.Newtonsoft.Json.App/Cuemon.Extensions.Newtonsoft.Json.App.csproj +++ /dev/null @@ -1,20 +0,0 @@ - - - - net9.0;net8.0 - 260bdf91-e7c7-4cb4-a39d-e1a5374c5602 - - - - false - false - Provides a convenient set of default API additions for building a .NET application that favors Newtonsoft.Json. - - - - - - - - - diff --git a/src/Cuemon.Extensions.Newtonsoft.Json/Converters/ExceptionConverter.cs b/src/Cuemon.Extensions.Newtonsoft.Json/Converters/ExceptionConverter.cs deleted file mode 100644 index 7c615b7c7..000000000 --- a/src/Cuemon.Extensions.Newtonsoft.Json/Converters/ExceptionConverter.cs +++ /dev/null @@ -1,233 +0,0 @@ -ο»Ώusing System; -using System.Collections; -using System.Collections.Generic; -using System.Linq; -using System.Reflection; -using Cuemon.Reflection; -using Cuemon.Runtime.Serialization.Formatters; -using Newtonsoft.Json; - -namespace Cuemon.Extensions.Newtonsoft.Json.Converters -{ - /// - /// Converts an to or from JSON. - /// - /// - public class ExceptionConverter : JsonConverter - { - /// - /// Initializes a new instance of the class. - /// - /// A value that indicates if the stack of an exception is included in the converted result. - /// A value that indicates if the data of an exception is included in the converted result. - public ExceptionConverter(bool includeStackTrace = false, bool includeData = false) - { - IncludeStackTrace = includeStackTrace; - IncludeData = includeData; - } - - /// - /// Gets a value indicating whether the data of an exception is included in the converted result. - /// - /// true if the data of an exception is included in the converted result; otherwise, false. - public bool IncludeData { get; } - - /// - /// Gets a value indicating whether the stack of an exception is included in the converted result. - /// - /// true if the stack of an exception is included in the converted result; otherwise, false. - public bool IncludeStackTrace { get; } - - /// - /// Writes the JSON representation of the object. - /// - /// The to write to. - /// The value. - /// The calling serializer. - public override void WriteJson(JsonWriter writer, object value, JsonSerializer serializer) - { - WriteException(writer, (Exception)value, IncludeStackTrace, IncludeData, serializer); - } - - /// - /// Reads the JSON representation of the object. - /// - /// The to read from. - /// Type of the object. - /// The existing value of object being read. - /// The calling serializer. - /// The object value. - public override object ReadJson(JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer) - { - var stack = ParseJsonReader(reader, objectType); - return Decorator.Enclose(stack).CreateException(); - } - - private static Stack> ParseJsonReader(JsonReader reader, Type objectType) - { - var stack = new Stack>(); - var properties = new List(); - var lastDepth = 1; - var blueprints = new List(); - while (reader.Read()) - { - if (reader.Depth != lastDepth && blueprints.Count > 0) - { - stack.Push(blueprints); - blueprints = new List(); - } - - switch (reader.TokenType) - { - case JsonToken.PropertyName: - string memberName = MapOrDefault(reader.Value!.ToString()!); - if (!reader.Read()) - { - // throw - } - var property = properties.SingleOrDefault(pi => pi.Name.Equals(memberName, StringComparison.OrdinalIgnoreCase)); - if (property != null) - { - if (property.Name == nameof(Exception.InnerException)) - { - blueprints.Add(new MemberArgument(memberName, null)); - } - else - { - blueprints.Add(new MemberArgument(memberName, reader.Value)); - } - } - else - { - if (memberName.Equals("type", StringComparison.OrdinalIgnoreCase)) - { - objectType = Formatter.GetType(reader.Value.ToString()); - properties = objectType.GetProperties(MemberReflection.CreateFlags(o => o.ExcludeStatic = true)).ToList(); - blueprints.Add(new MemberArgument(memberName, objectType)); - } - } - break; - case JsonToken.Comment: - break; - case JsonToken.EndObject: - break; - } - lastDepth = reader.Depth; - } - - return stack; - } - - private static string MapOrDefault(string memberName) - { - switch (memberName.ToLowerInvariant()) - { - case "inner": - return nameof(Exception.InnerException); - case "stack": - return nameof(Exception.StackTrace); - default: - return memberName; - } - } - - /// - /// Determines whether this instance can convert the specified object type. - /// - /// Type of the object. - /// true if this instance can convert the specified object type; otherwise, false. - public override bool CanConvert(Type objectType) - { - return typeof(Exception).IsAssignableFrom(objectType); - } - - private static void WriteException(JsonWriter writer, Exception exception, bool includeStackTrace, bool includeData, JsonSerializer serializer) - { - var exceptionType = exception.GetType(); - writer.WriteStartObject(); - writer.WritePropertyName("Type", serializer); - writer.WriteValue(exceptionType.FullName); - WriteExceptionCore(writer, exception, includeStackTrace, includeData, serializer); - writer.WriteEndObject(); - } - - private static void WriteExceptionCore(JsonWriter writer, Exception exception, bool includeStackTrace, bool includeData, JsonSerializer serializer) - { - if (!string.IsNullOrWhiteSpace(exception.Source)) - { - writer.WritePropertyName("Source", serializer); - writer.WriteValue(exception.Source); - } - - if (!string.IsNullOrWhiteSpace(exception.Message)) - { - writer.WritePropertyName("Message", serializer); - writer.WriteValue(exception.Message); - } - - if (exception.StackTrace != null && includeStackTrace) - { - writer.WritePropertyName("Stack", serializer); - writer.WriteStartArray(); - var lines = exception.StackTrace.Split(new[] { Environment.NewLine }, StringSplitOptions.RemoveEmptyEntries); - foreach (var line in lines) - { - writer.WriteValue(line.Trim()); - } - writer.WriteEndArray(); - } - - if (includeData && exception.Data.Count > 0) - { - writer.WritePropertyName("Data", serializer); - writer.WriteStartObject(); - foreach (DictionaryEntry entry in exception.Data) - { - writer.WritePropertyName(entry.Key.ToString()!); - writer.WriteObject(entry.Value, serializer); - } - writer.WriteEndObject(); - } - - var properties = Decorator.Enclose(exception.GetType()).GetRuntimePropertiesExceptOf(); - foreach (var property in properties) - { - var value = property.GetValue(exception); - if (value == null) { continue; } - writer.WritePropertyName(property.Name, serializer); - writer.WriteObject(value, serializer); - } - - WriteInnerExceptions(writer, exception, includeStackTrace, includeData, serializer); - } - - private static void WriteInnerExceptions(JsonWriter writer, Exception exception, bool includeStackTrace, bool includeData, JsonSerializer serializer) - { - var innerExceptions = new List(); - if (exception is AggregateException aggregated) - { - innerExceptions.AddRange(aggregated.Flatten().InnerExceptions); - } - else - { - if (exception.InnerException != null) { innerExceptions.Add(exception.InnerException); } - } - if (innerExceptions.Count > 0) - { - var endElementsToWrite = 0; - foreach (var inner in innerExceptions) - { - writer.WritePropertyName("Inner", serializer); - var exceptionType = inner.GetType(); - writer.WriteStartObject(); - writer.WritePropertyName("Type", serializer); - writer.WriteValue(exceptionType.FullName); - WriteExceptionCore(writer, inner, includeStackTrace, includeData, serializer); - endElementsToWrite++; - } - - for (var i = 0; i < endElementsToWrite; i++) { writer.WriteEndObject(); } - } - } - } -} diff --git a/src/Cuemon.Extensions.Newtonsoft.Json/Converters/FailureConverter.cs b/src/Cuemon.Extensions.Newtonsoft.Json/Converters/FailureConverter.cs deleted file mode 100644 index d5ea4897a..000000000 --- a/src/Cuemon.Extensions.Newtonsoft.Json/Converters/FailureConverter.cs +++ /dev/null @@ -1,128 +0,0 @@ -ο»Ώusing System; -using System.Collections.Generic; -using System.Linq; -using Cuemon.Diagnostics; -using Newtonsoft.Json; - -namespace Cuemon.Extensions.Newtonsoft.Json.Converters -{ - /// - /// Converts a object to JSON. - /// - public class FailureConverter : JsonConverter - { - /// - /// Writes the JSON representation of the object. - /// - /// The to write to. - /// The object to write. - /// The calling serializer. - public override void WriteJson(JsonWriter writer, Failure value, JsonSerializer serializer) - { - writer.WriteStartObject(); - writer.WritePropertyName(nameof(value.Type), serializer); - writer.WriteValue(value.Type); - - WriteException(writer, value, serializer); - - writer.WriteEndObject(); - } - - /// - /// Reads the JSON representation of the object. - /// - /// The to read from. - /// Type of the object. - /// The existing value of object being read. - /// Whether the existing value has a value. - /// The calling serializer. - /// The object. - /// - public override Failure ReadJson(JsonReader reader, Type objectType, Failure existingValue, bool hasExistingValue, JsonSerializer serializer) - { - throw new NotImplementedException(); - } - - private static void WriteException(JsonWriter writer, Failure value, JsonSerializer serializer) - { - if (!string.IsNullOrWhiteSpace(value.Source)) - { - writer.WritePropertyName(nameof(value.Source), serializer); - writer.WriteValue(value.Source); - } - - if (!string.IsNullOrWhiteSpace(value.Message)) - { - writer.WritePropertyName(nameof(value.Message), serializer); - writer.WriteValue(value.Message); - } - - if (value.Stack.Any()) - { - writer.WritePropertyName(nameof(value.Stack), serializer); - writer.WriteStartArray(); - foreach (var line in value.Stack) - { - writer.WriteValue(line); - } - writer.WriteEndArray(); - } - - if (value.Data.Count > 0) - { - writer.WritePropertyName(nameof(value.Data), serializer); - writer.WriteStartObject(); - foreach (var kvp in value.Data) - { - writer.WritePropertyName(nameof(kvp.Key), serializer); - writer.WriteObject(kvp.Value, serializer); - } - writer.WriteEndObject(); - } - - foreach (var kvp in value) - { - writer.WritePropertyName(kvp.Key, serializer); - writer.WriteObject(kvp.Value, serializer); - } - - WriteInnerExceptions(writer, value, serializer); - } - - private static void WriteInnerExceptions(JsonWriter writer, Failure value, JsonSerializer serializer) - { - var exception = value.GetUnderlyingException(); - var innerExceptions = new List(); - if (exception is AggregateException aggregated) - { - innerExceptions.AddRange(aggregated.Flatten().InnerExceptions); - } - else - { - if (exception.InnerException != null) { innerExceptions.Add(exception.InnerException); } - } - if (innerExceptions.Count > 0) - { - var endElementsToWrite = 0; - foreach (var inner in innerExceptions) - { - var innerValue = new Failure(inner, value.GetUnderlyingSensitivity()); - writer.WritePropertyName("Inner", serializer); - writer.WriteStartObject(); - writer.WritePropertyName(nameof(value.Type), serializer); - writer.WriteValue(innerValue.Type); - WriteException(writer, innerValue, serializer); - endElementsToWrite++; - } - - for (var i = 0; i < endElementsToWrite; i++) { writer.WriteEndObject(); } - } - } - - /// - /// Gets a value indicating whether this can read JSON. - /// - /// true if this can read JSON; otherwise, false. - public override bool CanRead => false; - } -} diff --git a/src/Cuemon.Extensions.Newtonsoft.Json/Converters/JsonConverterCollectionExtensions.cs b/src/Cuemon.Extensions.Newtonsoft.Json/Converters/JsonConverterCollectionExtensions.cs deleted file mode 100644 index 32ee3bd8c..000000000 --- a/src/Cuemon.Extensions.Newtonsoft.Json/Converters/JsonConverterCollectionExtensions.cs +++ /dev/null @@ -1,150 +0,0 @@ -ο»Ώusing System; -using System.Collections.Generic; -using System.Linq; -using Cuemon.Diagnostics; -using Cuemon.Resilience; -using Newtonsoft.Json; -using Newtonsoft.Json.Converters; -using Newtonsoft.Json.Serialization; - -namespace Cuemon.Extensions.Newtonsoft.Json.Converters -{ - /// - /// Extension methods for the class. - /// - public static class JsonConverterCollectionExtensions - { - /// - /// Adds an JSON converter to the list. - /// - /// The to extend. - /// The optional to apply. - /// A reference to after the operation has completed. - public static ICollection AddStringEnumConverter(this ICollection converters, NamingStrategy ns = null) - { - converters.Add(ns != null ? new StringEnumConverter(ns) : DynamicJsonConverter.Create(new StringEnumConverter())); - return converters; - } - - /// - /// Adds a combined and JSON converter to the list. - /// - /// The to extend. - /// The optional to apply. - /// A reference to after the operation has completed. - public static ICollection AddStringFlagsEnumConverter(this ICollection converters, NamingStrategy ns = null) - { - converters.Add(ns != null ? new StringFlagsEnumConverter(ns) : DynamicJsonConverter.Create(new StringFlagsEnumConverter())); - return converters; - } - - /// - /// Adds an JSON converter to the list. - /// - /// The to extend. - /// The which may be configured. - /// The delegate that is invoked just after writing JSON start object (Error). - /// The delegate that is invoked just before writing the JSON end object. - /// A reference to after the operation has completed. - public static ICollection AddExceptionDescriptorConverterOf(this ICollection converters, Action setup = null, Action afterWriteErrorStartObject = null, Action beforeWriteEndObject = null) where T : ExceptionDescriptor - { - converters.Add(DynamicJsonConverter.Create(type => type == typeof(T), (writer, descriptor, serializer) => - { - var options = Patterns.Configure(setup); - writer.WriteStartObject(); - writer.WritePropertyName("Error", serializer); - writer.WriteStartObject(); - afterWriteErrorStartObject?.Invoke(writer, descriptor, serializer); - writer.WritePropertyName("Code", serializer); - writer.WriteValue(descriptor.Code); - writer.WritePropertyName("Message", serializer); - writer.WriteValue(descriptor.Message); - if (descriptor.HelpLink != null) - { - writer.WritePropertyName("HelpLink", serializer); - writer.WriteValue(descriptor.HelpLink.OriginalString); - } - if (options.SensitivityDetails.HasFlag(FaultSensitivityDetails.Failure)) - { - writer.WritePropertyName("Failure", serializer); - new ExceptionConverter(options.SensitivityDetails.HasFlag(FaultSensitivityDetails.StackTrace), options.SensitivityDetails.HasFlag(FaultSensitivityDetails.Data)).WriteJson(writer, descriptor.Failure, serializer); - } - writer.WriteEndObject(); - if (options.SensitivityDetails.HasFlag(FaultSensitivityDetails.Evidence) && descriptor.Evidence.Any()) - { - writer.WritePropertyName("Evidence", serializer); - writer.WriteStartObject(); - foreach (var evidence in descriptor.Evidence) - { - writer.WritePropertyName(evidence.Key, serializer); - writer.WriteObject(evidence.Value, serializer); - } - writer.WriteEndObject(); - } - beforeWriteEndObject?.Invoke(writer, descriptor, serializer); - writer.WriteEndObject(); - })); - return converters; - } - - /// - /// Adds an JSON converter to the list. - /// - /// The to extend. - /// The value that determine whether the stack of an exception is included in the converted result. - /// The value that determine whether the data of an exception is included in the converted result. - /// A reference to after the operation has completed. - public static ICollection AddExceptionConverter(this ICollection converters, bool includeStackTrace, bool includeData) - { - converters.Add(new ExceptionConverter(includeStackTrace, includeData)); - return converters; - } - - /// - /// Adds a JSON converter to the list. - /// - /// The to extend. - /// A reference to after the operation has completed. - public static ICollection AddFailureConverter(this ICollection converters) - { - converters.Add(new FailureConverter()); - return converters; - } - - /// - /// Adds an JSON converter to the list. - /// - /// The to extend. - /// A reference to after the operation has completed. - public static ICollection AddTransientFaultExceptionConverter(this ICollection converters) - { - converters.Add(new TransientFaultExceptionConverter()); - return converters; - } - - /// - /// Adds an JSON converter to the list. - /// - /// The to extend. - /// A reference to after the operation has completed. - public static ICollection AddDataPairConverter(this ICollection converters) - { - converters.Add(DynamicJsonConverter.Create((writer, dp, serializer) => - { - writer.WriteStartObject(); - writer.WritePropertyName("Name", serializer); - writer.WriteValue(dp.Name); - if (dp.HasValue) - { - var value = (dp.Type == typeof(Uri)) ? Decorator.Enclose(dp.Value).ChangeTypeOrDefault().OriginalString : dp.Value; - writer.WritePropertyName("Value", serializer); - writer.WriteValue(value); - } - writer.WritePropertyName("Type", serializer); - writer.WriteValue(Decorator.Enclose(dp.Type).ToFriendlyName()); - writer.WriteEndObject(); - })); - return converters; - } - } -} diff --git a/src/Cuemon.Extensions.Newtonsoft.Json/Converters/StringFlagsEnumConverter.cs b/src/Cuemon.Extensions.Newtonsoft.Json/Converters/StringFlagsEnumConverter.cs deleted file mode 100644 index 496cab4f7..000000000 --- a/src/Cuemon.Extensions.Newtonsoft.Json/Converters/StringFlagsEnumConverter.cs +++ /dev/null @@ -1,106 +0,0 @@ -ο»Ώusing System; -using System.Reflection; -using Newtonsoft.Json; -using Newtonsoft.Json.Converters; -using Newtonsoft.Json.Serialization; - -namespace Cuemon.Extensions.Newtonsoft.Json.Converters -{ - /// - /// Converts a FlagsEnum to its name string value. - /// - /// - public class StringFlagsEnumConverter : StringEnumConverter - { - /// - /// Initializes a new instance of the class. - /// - public StringFlagsEnumConverter() - { - } - - /// - /// Initializes a new instance of the class. - /// - /// The naming strategy used to resolve how enum text is written. - public StringFlagsEnumConverter(NamingStrategy namingStrategy) : base(namingStrategy) - { - } - - /// - /// Writes the JSON representation of the object. - /// - /// The to write to. - /// The value. - /// The calling serializer. - public override void WriteJson(JsonWriter writer, object value, JsonSerializer serializer) - { - if (value == null) - { - writer.WriteNull(); - return; - } - - var ns = NamingStrategy ?? new CamelCaseNamingStrategy(); - var e = (Enum)value; - var enumName = e.ToString("G"); - var flags = enumName.Split(','); - var enumType = e.GetType(); - if (enumType.GetTypeInfo().IsDefined(typeof(FlagsAttribute), false)) - { - writer.WriteStartArray(); - foreach (var flag in flags) - { - writer.WriteValue(ns.GetPropertyName(flag.Trim(), false)); - } - - writer.WriteEndArray(); - } - else - { - if (char.IsNumber(enumName[0]) || enumName[0] == '-') - { - writer.WriteValue(value); - } - else - { - writer.WriteValue(ns.GetPropertyName(enumName, false)); - } - } - } - - /// - /// Reads the JSON representation of the object. - /// - /// The to read from. - /// Type of the object. - /// The existing value of object being read. - /// The calling serializer. - /// The object value. - public override object ReadJson(JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer) - { - var result = 0; - while (reader.Read()) - { - switch (reader.TokenType) - { - case JsonToken.String: - result |= (int)Enum.Parse(objectType, reader.Value.ToString(), true); - break; - } - } - - return result; - } - - /// - /// Determines whether this instance can convert the specified object type. - /// - /// Type of the object. - /// true if this instance can convert the specified object type; otherwise, false. - public override bool CanConvert(Type objectType) - { - return objectType.IsDefined(typeof(FlagsAttribute), false) && base.CanConvert(objectType); - } - } -} \ No newline at end of file diff --git a/src/Cuemon.Extensions.Newtonsoft.Json/Converters/TransientFaultExceptionConverter.cs b/src/Cuemon.Extensions.Newtonsoft.Json/Converters/TransientFaultExceptionConverter.cs deleted file mode 100644 index 3f921cece..000000000 --- a/src/Cuemon.Extensions.Newtonsoft.Json/Converters/TransientFaultExceptionConverter.cs +++ /dev/null @@ -1,78 +0,0 @@ -ο»Ώusing System; -using System.Linq; -using Cuemon.Reflection; -using Cuemon.Resilience; -using Cuemon.Runtime.Serialization.Formatters; -using Newtonsoft.Json; -using Newtonsoft.Json.Linq; - -namespace Cuemon.Extensions.Newtonsoft.Json.Converters -{ - /// - /// Converts a to or from JSON. - /// - /// - public class TransientFaultExceptionConverter : JsonConverter - { - /// - /// Writes the JSON representation of the object. - /// - /// The to write to. - /// The value to serialize. - /// The calling serializer. - public override void WriteJson(JsonWriter writer, object value, JsonSerializer serializer) - { - var converter = serializer.Converters.FirstOrDefault(converter => converter.CanConvert(typeof(Exception))); - converter?.WriteJson(writer, value, serializer); - } - - /// - /// Reads the JSON representation of the object. - /// - /// The to read from. - /// Type of the object to deserialize. - /// The existing value of object being read. - /// The calling serializer. - /// The deserialized object value. - public override object ReadJson(JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer) - { - var jo = JObject.Load(reader); - var message = jo["message"]?.Value(); - var evidenceJson = jo["evidence"]; - var innerExceptionJson = jo["inner"]; - Exception innerException = null; - TransientFaultEvidence evidence = null; - - if (evidenceJson != null) - { - var attempts = evidenceJson["attempts"].Value(); - var recoveryWaitTime = Decorator.Enclose(evidenceJson["recoveryWaitTime"].Value()).ChangeType(); - var totalRecoveryWaitTime = Decorator.Enclose(evidenceJson["totalRecoveryWaitTime"].Value()).ChangeType(); - var latency = Decorator.Enclose(evidenceJson["latency"].Value()).ChangeType(); - var caller = evidenceJson["descriptor"]["caller"].Value(); - var methodName = evidenceJson["descriptor"]["methodName"].Value(); - var parameters = evidenceJson["descriptor"]["parameters"].Values().ToArray(); - var arguments = evidenceJson["descriptor"]["arguments"].Values().ToArray(); - evidence = new TransientFaultEvidence(attempts, recoveryWaitTime, totalRecoveryWaitTime, latency, new MethodSignature(caller, methodName, parameters, arguments)); - } - - if (innerExceptionJson != null) - { - var converter = serializer.Converters.FirstOrDefault(converter => converter.CanConvert(typeof(Exception))); - innerException = converter?.ReadJson(innerExceptionJson.CreateReader(), Formatter.GetType(innerExceptionJson["type"].Value()), existingValue, serializer) as Exception; - } - - return new TransientFaultException(message, innerException, evidence); - } - - /// - /// Determines whether this instance can convert the specified object type. - /// - /// Type of the object. - /// true if this instance can convert the specified object type; otherwise, false. - public override bool CanConvert(Type objectType) - { - return typeof(TransientFaultException).IsAssignableFrom(objectType); - } - } -} diff --git a/src/Cuemon.Extensions.Newtonsoft.Json/Cuemon.Extensions.Newtonsoft.Json.csproj b/src/Cuemon.Extensions.Newtonsoft.Json/Cuemon.Extensions.Newtonsoft.Json.csproj deleted file mode 100644 index b8fbe2241..000000000 --- a/src/Cuemon.Extensions.Newtonsoft.Json/Cuemon.Extensions.Newtonsoft.Json.csproj +++ /dev/null @@ -1,22 +0,0 @@ -ο»Ώ - - - 080bdf91-e7c7-4cb4-a39d-e1a5374c5602 - - - - The Cuemon.Extensions.Newtonsoft.Json namespace contains both types and extension methods that complements the Newtonsoft.Json namespace by adding new ways of working with JSON; both in terms of serialization and parsing. - extension-methods extensions jdata jdata-result json-converter json-formatter dynamic-contract-resolver dynamic-json-converter write-object write-property-name - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/Cuemon.Extensions.Newtonsoft.Json/DynamicContractResolver.cs b/src/Cuemon.Extensions.Newtonsoft.Json/DynamicContractResolver.cs deleted file mode 100644 index 80edcf24e..000000000 --- a/src/Cuemon.Extensions.Newtonsoft.Json/DynamicContractResolver.cs +++ /dev/null @@ -1,73 +0,0 @@ -ο»Ώusing System; -using System.Collections.Generic; -using System.Reflection; -using Newtonsoft.Json; -using Newtonsoft.Json.Serialization; - -namespace Cuemon.Extensions.Newtonsoft.Json -{ - /// - /// Provides a factory based way to create and wrap an implementation. - /// - public static class DynamicContractResolver - { - /// - /// Creates the specified resolver. - /// - /// The type that inherits from . - /// The array of delegates that will handle custom rules of a . - /// An implementation of . - public static IContractResolver Create(params Action[] jsonPropertyHandlers) where T : IContractResolver - { - switch (typeof(T).Name) - { - case nameof(CamelCasePropertyNamesContractResolver): - return new DynamicCamelCasePropertyNamesContractResolver(jsonPropertyHandlers); - default: - return new DynamicDefaultContractResolver(jsonPropertyHandlers); - } - } - } - - internal sealed class DynamicDefaultContractResolver : DefaultContractResolver - { - internal DynamicDefaultContractResolver(IEnumerable> jsonPropertyHandlers) - { - JsonPropertyHandlers = jsonPropertyHandlers; - IgnoreSerializableInterface = true; - } - - private IEnumerable> JsonPropertyHandlers { get; set; } - - protected override JsonProperty CreateProperty(MemberInfo member, MemberSerialization memberSerialization) - { - var property = base.CreateProperty(member, memberSerialization); - foreach (var handler in JsonPropertyHandlers) - { - handler(member as PropertyInfo, property); - } - return property; - } - } - - internal sealed class DynamicCamelCasePropertyNamesContractResolver : CamelCasePropertyNamesContractResolver - { - internal DynamicCamelCasePropertyNamesContractResolver(IEnumerable> jsonPropertyHandlers) - { - JsonPropertyHandlers = jsonPropertyHandlers; - IgnoreSerializableInterface = true; - } - - private IEnumerable> JsonPropertyHandlers { get; set; } - - protected override JsonProperty CreateProperty(MemberInfo member, MemberSerialization memberSerialization) - { - var property = base.CreateProperty(member, memberSerialization); - foreach (var handler in JsonPropertyHandlers) - { - handler(member as PropertyInfo, property); - } - return property; - } - } -} diff --git a/src/Cuemon.Extensions.Newtonsoft.Json/DynamicJsonConverter.cs b/src/Cuemon.Extensions.Newtonsoft.Json/DynamicJsonConverter.cs deleted file mode 100644 index 929f9ef84..000000000 --- a/src/Cuemon.Extensions.Newtonsoft.Json/DynamicJsonConverter.cs +++ /dev/null @@ -1,151 +0,0 @@ -ο»Ώusing System; -using System.Linq; -using Cuemon.Extensions.Newtonsoft.Json.Serialization; -using Newtonsoft.Json; -using Newtonsoft.Json.Serialization; - -namespace Cuemon.Extensions.Newtonsoft.Json -{ - /// - /// Provides a factory based way to create and wrap an implementation. - /// - public static class DynamicJsonConverter - { - /// - /// Creates a dynamic instance of an implementation wrapping through and through . - /// - /// The type to implement an . - /// The delegate that converts to its JSON representation. - /// The function delegate that generates from its JSON representation. - /// An implementation of . - public static JsonConverter Create(Action writer = null, Func reader = null) - { - var objectType = typeof(T); - return Create(objectType.IsAssignableFrom, writer, reader); - } - - /// - /// Creates a dynamic instance of an implementation wrapping through and through . - /// - /// The type to implement an . - /// The function delegate that validates if given can be converted to and from JSON. - /// The delegate that, when returns true, converts to its JSON representation. - /// The function delegate that, when returns true, generates from its JSON representation. - /// An implementation of . - public static JsonConverter Create(Func predicate, Action writer = null, Func reader = null) - { - var castedWriter = writer == null ? (Action)null : (w, t, s) => writer(w, (T)t, s); - var castedReader = reader == null ? (Func)null : (r, t, o, s) => reader(r, t, (T)o, s); - return new DynamicJsonConverterCore(predicate, castedWriter, castedReader, typeof(T)); - } - - /// - /// Creates a dynamic instance of an implementation wrapping through and through . - /// - /// The type of the object to convert. - /// The delegate that converts to its JSON representation. - /// The function delegate that generates from its JSON representation. - /// An implementation of . - public static JsonConverter Create(Type objectType, Action writer = null, Func reader = null) - { - return new DynamicJsonConverterCore(objectType.IsAssignableFrom, writer, reader, objectType); - } - - /// - /// Creates a dynamic instance of an implementation wrapping through , through and through . - /// - /// The function delegate that validates if given can be converted to and from JSON. - /// The delegate that converts a given to its JSON representation. - /// The function delegate that generates from its JSON representation. - /// An implementation of . - public static JsonConverter Create(Func predicate, Action writer = null, Func reader = null) - { - return new DynamicJsonConverterCore(predicate, writer, reader); - } - - /// - /// Creates a dynamic instance of . - /// - /// The to wrap. - /// An implementation of . - public static JsonConverter Create(JsonConverter converter) - { - return new DynamicJsonConverterCore(converter.CanConvert, converter.WriteJson, converter.ReadJson, searchForNamingStrategy: true); - } - } - - internal sealed class DynamicJsonConverterCore : JsonConverter - { - internal DynamicJsonConverterCore(Func predicate, Action writer, Func reader, Type objectType = null, bool searchForNamingStrategy = false) - { - Predicate = predicate; - Writer = writer; - Reader = reader; - SearchForNamingStrategy = searchForNamingStrategy; - ObjectType = objectType; - } - - private object ObjectType { get; } - - private bool SearchForNamingStrategy { get; } - - private Func Predicate { get; } - - private Action Writer { get; } - - private Func Reader { get; } - - /// - /// Writes the JSON representation of the object. - /// - /// The to write to. - /// The value. - /// The calling serializer. - public override void WriteJson(JsonWriter writer, object value, JsonSerializer serializer) - { - if (Writer == null) { throw new NotImplementedException("Delegate writer is null."); } - if (SearchForNamingStrategy) // special case; we wrap an existing converter to allow possible naming strategy being applied transparently for the developer - { - var namingStrategyProperty = Writer.Target?.GetType().GetProperties().FirstOrDefault(pi => pi.PropertyType == typeof(NamingStrategy)); - namingStrategyProperty?.SetValue(Writer.Target, serializer.ContractResolver.ResolveNamingStrategyOrDefault()); - } - Writer.Invoke(writer, value, serializer); - } - - /// - /// Reads the JSON representation of the object. - /// - /// The to read from. - /// Type of the object. - /// The existing value of object being read. - /// The calling serializer. - /// The object value. - public override object ReadJson(JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer) - { - if (Reader == null) { throw new NotImplementedException("Delegate reader is null."); } - return Reader.Invoke(reader, objectType, existingValue, serializer); - } - - /// - /// Determines whether this instance can convert the specified object type. - /// - /// Type of the object. - /// true if this instance can convert the specified object type; otherwise, false. - public override bool CanConvert(Type objectType) - { - return Predicate(objectType); - } - - /// - /// Gets a value indicating whether this can read JSON. - /// - /// true if this can read JSON; otherwise, false. - public override bool CanRead => Reader != null; - - /// - /// Gets a value indicating whether this can write JSON. - /// - /// true if this can write JSON; otherwise, false. - public override bool CanWrite => Writer != null; - } -} diff --git a/src/Cuemon.Extensions.Newtonsoft.Json/Formatters/NewtonsoftJsonFormatter.cs b/src/Cuemon.Extensions.Newtonsoft.Json/Formatters/NewtonsoftJsonFormatter.cs deleted file mode 100644 index 7ef7b4820..000000000 --- a/src/Cuemon.Extensions.Newtonsoft.Json/Formatters/NewtonsoftJsonFormatter.cs +++ /dev/null @@ -1,83 +0,0 @@ -ο»Ώusing System; -using System.IO; -using Cuemon.IO; -using Cuemon.Runtime.Serialization.Formatters; -using Newtonsoft.Json; - -namespace Cuemon.Extensions.Newtonsoft.Json.Formatters -{ - /// - /// Serializes and deserializes an object, in JSON format. - /// - /// . - /// . - public class NewtonsoftJsonFormatter : StreamFormatter - { - /// - /// Initializes a new instance of the class. - /// - public NewtonsoftJsonFormatter() : this((Action)null) - { - } - - /// - /// Initializes a new instance of the class. - /// - /// The which need to be configured. - public NewtonsoftJsonFormatter(Action setup) : this(Patterns.Configure(setup)) - { - } - - /// - /// Initializes a new instance of the class. - /// - /// The configured . - public NewtonsoftJsonFormatter(NewtonsoftJsonFormatterOptions options) : base(options) - { - Options.RefreshWithConverterDependencies(); - if (Options.SynchronizeWithJsonConvert) { Options.Settings.ApplyToDefaultSettings(); } - } - - /// - /// Serializes the specified to an object of . - /// - /// The object to serialize to JSON format. - /// The type of the object to serialize. - /// A string of the serialized . - public override Stream Serialize(object source, Type objectType) - { - Validator.ThrowIfNull(source); - Validator.ThrowIfNull(objectType); - - return StreamFactory.Create(writer => - { - var serializer = Options.SynchronizeWithJsonConvert ? JsonSerializer.CreateDefault() : JsonSerializer.Create(Options.Settings); - using (var jsonWriter = new JsonTextWriter(writer)) - { - jsonWriter.CloseOutput = false; - jsonWriter.Formatting = serializer.Formatting; - serializer.Serialize(jsonWriter, source, objectType); - } - }); - } - - /// - /// Deserializes the specified into an object of . - /// - /// The string from which to deserialize the object graph. - /// The type of the deserialized object. - /// An object of . - public override object Deserialize(Stream value, Type objectType) - { - Validator.ThrowIfNull(value); - Validator.ThrowIfNull(objectType); - var serializer = Options.SynchronizeWithJsonConvert ? JsonSerializer.CreateDefault() : JsonSerializer.Create(Options.Settings); - var sr = new StreamReader(value, true); - using (var reader = new JsonTextReader(sr)) - { - reader.CloseInput = false; - return serializer.Deserialize(reader, objectType); - } - } - } -} diff --git a/src/Cuemon.Extensions.Newtonsoft.Json/Formatters/NewtonsoftJsonFormatterOptions.cs b/src/Cuemon.Extensions.Newtonsoft.Json/Formatters/NewtonsoftJsonFormatterOptions.cs deleted file mode 100644 index a8aedec41..000000000 --- a/src/Cuemon.Extensions.Newtonsoft.Json/Formatters/NewtonsoftJsonFormatterOptions.cs +++ /dev/null @@ -1,191 +0,0 @@ -ο»Ώusing System; -using System.Collections.Generic; -using System.Net.Http.Headers; -using System.Reflection; -using Cuemon.Configuration; -using Cuemon.Diagnostics; -using Cuemon.Extensions.Newtonsoft.Json.Converters; -using Cuemon.Net.Http; -using Newtonsoft.Json; -using Newtonsoft.Json.Serialization; - -namespace Cuemon.Extensions.Newtonsoft.Json.Formatters -{ - /// - /// Specifies options that is related to operations. - /// - public class NewtonsoftJsonFormatterOptions : IExceptionDescriptorOptions, IContentNegotiation, IValidatableParameterObject - { - private readonly object _locker = new(); - private bool _refreshed; - - /// - /// Provides the default/fallback media type that the associated formatter should use when content negotiation either fails or is absent. - /// - /// The media type that the associated formatter should use when content negotiation either fails or is absent. - public static MediaTypeHeaderValue DefaultMediaType { get; } = new("application/json"); - - static NewtonsoftJsonFormatterOptions() - { - DefaultConverters = list => - { - list.AddDataPairConverter(); - list.AddStringFlagsEnumConverter(); - list.AddStringEnumConverter(); - list.AddTransientFaultExceptionConverter(); - list.AddFailureConverter(); - }; - } - - /// - /// Initializes a new instance of the class. - /// - /// - /// The following table shows the initial property values for an instance of . - /// - /// - /// Property - /// Initial Value - /// - /// - /// - /// - /// - /// - /// - /// false - /// - /// - /// - /// - /// - /// - /// - /// - /// - ///new List<MediaTypeHeaderValue>() - ///{ - /// new("application/json"), - /// new("text/json") - ///}; - /// - /// - /// - /// - /// - public NewtonsoftJsonFormatterOptions() - { - Settings = new JsonSerializerSettings() - { - CheckAdditionalContent = true, - Formatting = Formatting.Indented, - NullValueHandling = NullValueHandling.Ignore, - MissingMemberHandling = MissingMemberHandling.Ignore, - ReferenceLoopHandling = ReferenceLoopHandling.Ignore, - DateParseHandling = DateParseHandling.DateTime, - DateFormatHandling = DateFormatHandling.IsoDateFormat, - DateFormatString = "O", - DateTimeZoneHandling = DateTimeZoneHandling.RoundtripKind, - ContractResolver = DynamicContractResolver.Create(JsonPropertyHandler) - }; - DefaultConverters?.Invoke(Settings.Converters); - SensitivityDetails = FaultSensitivityDetails.None; - SupportedMediaTypes = new List() - { - DefaultMediaType, - new("text/json"), - new("application/problem+json") - }; - } - - private void JsonPropertyHandler(PropertyInfo pi, JsonProperty jp) - { - var skipSerialization = SkipProperty(pi) || SkipPropertyType(pi.PropertyType); - jp.ShouldSerialize = _ => !skipSerialization; - jp.ShouldDeserialize = _ => !skipSerialization; - return; - - bool SkipProperty(PropertyInfo property) - { - return (property.PropertyType.GetTypeInfo().IsMarshalByRef || - property.PropertyType.GetTypeInfo().IsSubclassOf(typeof(Delegate)) || - property.Name.Equals("SyncRoot", StringComparison.Ordinal) || - property.Name.Equals("IsReadOnly", StringComparison.Ordinal) || - property.Name.Equals("IsFixedSize", StringComparison.Ordinal) || - property.Name.Equals("IsSynchronized", StringComparison.Ordinal) || - property.Name.Equals("Count", StringComparison.Ordinal) || - property.Name.Equals("HResult", StringComparison.Ordinal) || - property.Name.Equals("Parent", StringComparison.Ordinal) || - property.Name.Equals("TargetSite", StringComparison.Ordinal)); - } - - bool SkipPropertyType(Type source) - { - switch (Type.GetTypeCode(source)) - { - default: - if (Decorator.Enclose(source).HasKeyValuePairImplementation()) { return true; } - if (Decorator.Enclose(source).HasTypes(typeof(MemberInfo)) && source != typeof(Type)) { return true; } - return false; - } - } - } - - /// - /// Gets or sets a delegate that is invoked when is initialized and propagates registered implementations. - /// - /// The delegate which propagates registered implementations when is initialized. - public static Action> DefaultConverters { get; set; } - - /// - /// Gets or sets a bitwise combination of the enumeration values that specify which sensitive details to include in the serialized result. - /// - /// The enumeration values that specify which sensitive details to include in the serialized result. - public FaultSensitivityDetails SensitivityDetails { get; set; } - - /// - /// Gets or sets a value indicating whether should be synchronized on . - /// - /// true if should be synchronized on ; otherwise, false. - public bool SynchronizeWithJsonConvert { get; set; } - - /// - /// Gets or sets the settings to support the . - /// - /// A instance that specifies a set of features to support the object. - public JsonSerializerSettings Settings { get; set; } - - /// - /// Gets or sets the collection of elements supported by the . - /// - /// A collection of elements supported by the . - public IReadOnlyCollection SupportedMediaTypes { get; set; } - - internal JsonSerializerSettings RefreshWithConverterDependencies() - { - lock (_locker) - { - if (!_refreshed) - { - _refreshed = true; - Settings.Converters.AddExceptionConverter(SensitivityDetails.HasFlag(FaultSensitivityDetails.StackTrace), SensitivityDetails.HasFlag(FaultSensitivityDetails.Data)); - Settings.Converters.AddExceptionDescriptorConverterOf(o => o.SensitivityDetails = SensitivityDetails); - } - return Settings; - } - } - - /// - /// Determines whether the public read-write properties of this instance are in a valid state. - /// - /// - /// cannot be null. - /// - /// This method is expected to throw exceptions when one or more conditions fails to be in a valid state. - public void ValidateOptions() - { - Validator.ThrowIfInvalidState(Settings == null); - Validator.ThrowIfInvalidState(SupportedMediaTypes == null); - } - } -} diff --git a/src/Cuemon.Extensions.Newtonsoft.Json/GlobalSuppressions.cs b/src/Cuemon.Extensions.Newtonsoft.Json/GlobalSuppressions.cs deleted file mode 100644 index 56e7c9423..000000000 --- a/src/Cuemon.Extensions.Newtonsoft.Json/GlobalSuppressions.cs +++ /dev/null @@ -1,13 +0,0 @@ -ο»Ώ// This file is used by Code Analysis to maintain SuppressMessage -// attributes that are applied to this project. -// Project-level suppressions either have no target or are given -// a specific target and scoped to a namespace, type, member, etc. - -using System.Diagnostics.CodeAnalysis; - -[assembly: SuppressMessage("Major Code Smell", "S907:\"goto\" statement should not be used", Justification = "Legacy code ;-)", Scope = "member", Target = "~M:Cuemon.Extensions.Newtonsoft.Json.JsonReaderExtensions.ToHierarchy(Newtonsoft.Json.JsonReader)~Cuemon.IHierarchy{Cuemon.DataPair}")] -[assembly: SuppressMessage("Critical Code Smell", "S3776:Cognitive Complexity of methods should not be too high", Justification = "Legacy code ;-)", Scope = "member", Target = "~M:Cuemon.Extensions.Newtonsoft.Json.JsonReaderExtensions.ToHierarchy(Newtonsoft.Json.JsonReader)~Cuemon.IHierarchy{Cuemon.DataPair}")] -[assembly: SuppressMessage("CodeQuality", "IDE0052:Remove unread private members", Justification = "Left for debugging purposes.", Scope = "member", Target = "~P:Cuemon.Extensions.Newtonsoft.Json.DynamicJsonConverterCore.ObjectType")] -[assembly: SuppressMessage("Major Bug", "S3343:Caller information parameters should come at the end of the parameter list", Justification = "For consistency (and to align with Microsoft recent guard improvements), paramName should always be the 2nd parameter (when applicable) OR paramName and message goes next to each other.", Scope = "member", Target = "~M:Cuemon.Extensions.Newtonsoft.Json.ValidatorExtensions.InvalidJsonDocument(Cuemon.Validator,Newtonsoft.Json.JsonReader@,System.String,System.String)")] -[assembly: SuppressMessage("Major Bug", "S3343:Caller information parameters should come at the end of the parameter list", Justification = "For consistency (and to align with Microsoft recent guard improvements), paramName should always be the 2nd parameter (when applicable) OR paramName and message goes next to each other.", Scope = "member", Target = "~M:Cuemon.Extensions.Newtonsoft.Json.ValidatorExtensions.InvalidJsonDocument(Cuemon.Validator,System.String,System.String,System.String)")] -[assembly: SuppressMessage("Major Code Smell", "S1172:Unused method parameters should be removed", Justification = "False-positive; value is conditionally used.", Scope = "member", Target = "~M:Cuemon.Extensions.Newtonsoft.Json.Converters.ExceptionConverter.ParseJsonReader(Newtonsoft.Json.JsonReader,System.Type)~System.Collections.Generic.Stack{System.Collections.Generic.IList{Cuemon.Reflection.MemberArgument}}")] diff --git a/src/Cuemon.Extensions.Newtonsoft.Json/JData.cs b/src/Cuemon.Extensions.Newtonsoft.Json/JData.cs deleted file mode 100644 index 63c30a95f..000000000 --- a/src/Cuemon.Extensions.Newtonsoft.Json/JData.cs +++ /dev/null @@ -1,155 +0,0 @@ -ο»Ώusing System; -using System.Collections.Generic; -using System.IO; -using System.Text.RegularExpressions; -using Cuemon.IO; -using Newtonsoft.Json; - -namespace Cuemon.Extensions.Newtonsoft.Json -{ - /// - /// Provides a factory based way to parse and extract values from various sources of JSON data. Compliant with RFC 7159 as it uses behind the scene. - /// - public class JData - { - /// - /// Creates a sequence of from the specified . - /// - /// A that represents a JSON data structure. - /// The which may be configured. - /// An sequence from the specified . - public static IEnumerable ReadAll(Stream json, Action setup = null) - { - Validator.ThrowIfNull(json); - var options = Patterns.Configure(setup); - using (var sr = new StreamReader(json, options.Encoding, false, options.BufferSize, options.LeaveOpen)) - { - using (var jr = new JsonTextReader(sr)) - { - jr.CloseInput = !options.LeaveOpen; - return ReadAll(jr); - } - } - } - - /// - /// Creates a sequence of from the specified . - /// - /// A that represents a JSON data structure. - /// An sequence from the specified . - public static IEnumerable ReadAll(string json) - { - Validator.ThrowIfNullOrWhitespace(json); - using (var sr = new StringReader(json)) - { - using (var jr = new JsonTextReader(sr)) - { - return ReadAll(jr); - } - } - } - - /// - /// Creates a sequence of from the specified . - /// - /// The to parse and extract an sequence from. - /// An sequence from the specified . - public static IEnumerable ReadAll(JsonReader reader) - { - Validator.ThrowIfNull(reader); - Validator.ThrowIf.InvalidJsonDocument(ref reader); - return new JData(reader).Result.Value; - } - - internal JData(JsonReader reader) - { - Result = new Lazy>(() => - { - var result = new List(); - while (reader.Read()) - { - var jr = new JDataResult(); - switch (reader.TokenType) - { - case JsonToken.PropertyName: - jr.PropertyName = reader.Value.ToString(); - reader.Read(); - break; - } - - if (reader.TokenType == JsonToken.StartArray) - { - return FillArrayHierarchy(reader, jr); - } - - if (reader.TokenType == JsonToken.StartObject) - { - return FillObjectHierarchy(reader, jr); - } - - jr.Value = reader.Value; - jr.Path = reader.Path.RemoveBrackets(); - jr.Type = reader.ValueType; - result.Add(jr); - } - return result; - }); - } - - private Lazy> Result { get; } - - - private List FillArrayHierarchy(JsonReader reader, JDataResult parent) - { - return FillHierarchy(reader, parent, r => r.TokenType == JsonToken.EndArray); - } - - private List FillObjectHierarchy(JsonReader reader, JDataResult parent) - { - return FillHierarchy(reader, parent, r => r.TokenType == JsonToken.EndObject); - } - - private List FillHierarchy(JsonReader reader, JDataResult parent, Func skipWhenTrue) - { - var result = new List(); - while (reader.Read()) - { - if (skipWhenTrue(reader)) { break; } - var jr = new JDataResult { Parent = parent }; - switch (reader.TokenType) - { - case JsonToken.PropertyName: - jr.PropertyName = reader.Value.ToString(); - reader.Read(); - break; - } - if (reader.TokenType == JsonToken.StartArray) - { - jr.Children = FillArrayHierarchy(reader, jr); - } - else if (reader.TokenType == JsonToken.StartObject) - { - jr.Children = FillObjectHierarchy(reader, jr); - } - else - { - jr.Value = reader.Value; - } - jr.Path = reader.Path.RemoveBrackets(); - jr.Type = reader.ValueType; - result.Add(jr); - } - return result; - } - } - - internal static class RegexExtensions - { - internal static readonly Lazy LazySquareBracketsRemover = new(() => new Regex(@"\[[^]]*\]", RegexOptions.IgnoreCase | RegexOptions.ExplicitCapture | RegexOptions.Compiled, TimeSpan.FromSeconds(2))); - - internal static string RemoveBrackets(this string path) - { - return LazySquareBracketsRemover.Value.Replace(path, ""); - } - } -} diff --git a/src/Cuemon.Extensions.Newtonsoft.Json/JDataResult.cs b/src/Cuemon.Extensions.Newtonsoft.Json/JDataResult.cs deleted file mode 100644 index 5f087f94f..000000000 --- a/src/Cuemon.Extensions.Newtonsoft.Json/JDataResult.cs +++ /dev/null @@ -1,57 +0,0 @@ -ο»Ώusing System; -using System.Collections.Generic; - -namespace Cuemon.Extensions.Newtonsoft.Json -{ - /// - /// Specifies a result set of a JSON reader operation. - /// - public class JDataResult - { - /// - /// Gets the path of the JSON token. - /// - /// The path of the JSON token. - public string Path { get; internal set; } - - /// - /// Gets the children of the JSON token. - /// - /// The children of the JSON token. - public IList Children { get; internal set; } = new List(); - - /// - /// Gets the name of the JSON token property. - /// - /// The name of the JSON token property. - public string PropertyName { get; internal set; } - - /// - /// Gets the value of the JSON token. - /// - /// The value of the JSON token. - public object Value { get; internal set; } - - /// - /// Gets the CLR type of the JSON token. - /// - /// The CLR type of the JSON token. - public Type Type { get; internal set; } - - /// - /// Gets the parent of the JSON token. - /// - /// The parent of the JSON token. - public JDataResult Parent { get; internal set; } - - /// - /// Returns a that represents this instance. - /// - /// A that represents this instance. - public override string ToString() - { - var path = string.IsNullOrWhiteSpace(Path) ? "" : $"{Path}, "; - return FormattableString.Invariant($"{path}Children: {Children.Count}"); - } - } -} \ No newline at end of file diff --git a/src/Cuemon.Extensions.Newtonsoft.Json/JDataResultExtensions.cs b/src/Cuemon.Extensions.Newtonsoft.Json/JDataResultExtensions.cs deleted file mode 100644 index 29d54b37b..000000000 --- a/src/Cuemon.Extensions.Newtonsoft.Json/JDataResultExtensions.cs +++ /dev/null @@ -1,96 +0,0 @@ -ο»Ώusing System; -using System.Collections.Generic; -using System.Linq; -using Cuemon.Collections.Generic; - -namespace Cuemon.Extensions.Newtonsoft.Json -{ - /// - /// Extension methods for the class. - /// - public static class JDataResultExtensions - { - /// - /// Flattens the entirety of the JSON hierarchical into an sequence. - /// - /// The to extend. - /// An sequence of objects. - public static IEnumerable Flatten(this IEnumerable source) - { - Validator.ThrowIfNull(source); - return FlattenCore(source); - } - - private static IEnumerable FlattenCore(IEnumerable source) - { - return source.SelectMany(s => s.Children.Any() ? Arguments.Yield(s).Concat(Flatten(s.Children)) : Arguments.Yield(s)); - } - - /// - /// Extracts one or more values from JSON objects using the specified and delegate. - /// - /// The sequence of to parse. - /// The comma-delimited property names (JSON path) to math in a JSON document. - /// The delegate that will extract values from . - public static void ExtractObjectValues(this IEnumerable source, string propertyNames, Action> extractor) - { - Validator.ThrowIfNull(source); - Validator.ThrowIfNullOrWhitespace(propertyNames); - Validator.ThrowIfNull(extractor); - - var names = propertyNames.Split(',').Select(s => s.Trim()).ToList(); - var partial = new List(); - - foreach (var jr in source) - { - if (names.Exists(s => s.Equals(jr.Path, StringComparison.OrdinalIgnoreCase))) - { - partial.Add(jr); - } - - if (partial.Count == names.Count) - { - extractor(partial.ToDictionary(jk => jk.PropertyName, jv => jv)); - partial.Clear(); - } - } - } - - /// - /// Extracts one or more values from JSON arrays using the specified and delegate. - /// - /// The sequence of to parse. - /// The comma-delimited property names (JSON path) to math in a JSON document. - /// The delegate that will extract values from . - public static void ExtractArrayValues(this IEnumerable source, string propertyNames, Action>> extractor) - { - Validator.ThrowIfNull(source); - Validator.ThrowIfNullOrWhitespace(propertyNames); - Validator.ThrowIfNull(extractor); - - var names = propertyNames.Split(',').Select(s => s.Trim()).ToList(); - var partial = new List(); - - foreach (var jr in source) - { - if (names.Exists(s => s.Equals(jr.Path, StringComparison.OrdinalIgnoreCase) || (HasMatchWithAsterisk(s, jr.Path)))) - { - partial.Add(jr); - } - - if (partial.Count == names.Count) - { - extractor(partial.ToDictionary(jk => jk.PropertyName, jv => jv.Children as IEnumerable)); - partial.Clear(); - } - } - } - - private static bool HasMatchWithAsterisk(string s, string path) - { - return s.EndsWith("*", StringComparison.Ordinal) && - path.Contains('.') && - s.Remove(s.LastIndexOf('.')).Equals(path.Remove(path.LastIndexOf('.')), StringComparison.Ordinal); - } - } -} diff --git a/src/Cuemon.Extensions.Newtonsoft.Json/JsonReaderExtensions.cs b/src/Cuemon.Extensions.Newtonsoft.Json/JsonReaderExtensions.cs deleted file mode 100644 index 777c8056a..000000000 --- a/src/Cuemon.Extensions.Newtonsoft.Json/JsonReaderExtensions.cs +++ /dev/null @@ -1,74 +0,0 @@ -ο»Ώusing System.Collections.Generic; -using Cuemon.Text; -using Cuemon.Collections.Generic; -using Newtonsoft.Json; - -namespace Cuemon.Extensions.Newtonsoft.Json -{ - /// - /// Extension methods for the class. - /// - public static class JsonReaderExtensions - { - private const string PropertyNameKey = "reader.Value"; - - /// - /// Converts the JSON hierarchy of an into an . - /// - /// The reader to convert. - /// An implementation that uses . - public static IHierarchy ToHierarchy(this JsonReader reader) - { - var index = 0; - var depthIndexes = new Dictionary>(); - var dimension = 0; - IHierarchy hierarchy = new Hierarchy(); - var array = new List(); - hierarchy.Add(new DataPair("root", null, typeof(string))); - while (reader.Read()) - { - object typeStrongValue; - switch (reader.TokenType) - { - case JsonToken.StartArray: - if (reader.TokenType == JsonToken.EndArray) { goto case JsonToken.EndArray; } - if (reader.TokenType != JsonToken.StartArray && reader.TokenType != JsonToken.StartObject && reader.TokenType != JsonToken.EndObject) - { - typeStrongValue = ParserFactory.FromValueType().Parse(reader.Value.ToString()); - array.Add(new DataPair(hierarchy[index].Data[PropertyNameKey]?.ToString(), typeStrongValue, typeStrongValue.GetType())); - } - while (reader.Read()) { goto case JsonToken.StartArray; } - break; - case JsonToken.PropertyName: - hierarchy[Decorator.Enclose(depthIndexes).GetDepthIndex(reader.Depth, index, dimension)].Add(new DataPair(reader.Value.ToString(), null, typeof(string))).Data.Add(PropertyNameKey, reader.Value.ToString()); - index++; - break; - case JsonToken.EndArray: - var indexCopy = index; - foreach (var item in array) - { - hierarchy[indexCopy].Add(item); - index++; - } - array.Clear(); - break; - case JsonToken.EndObject: - if (reader.Depth == 1) { dimension++; } - break; - case JsonToken.Boolean: - case JsonToken.Bytes: - case JsonToken.Date: - case JsonToken.Float: - case JsonToken.Integer: - case JsonToken.Null: - case JsonToken.String: - typeStrongValue = ParserFactory.FromValueType().Parse(reader.Value.ToString()); - hierarchy[index].Replace(new DataPair(hierarchy[index].Data[PropertyNameKey]?.ToString(), typeStrongValue, typeStrongValue.GetType())); - hierarchy[index].Data.Remove(PropertyNameKey); - break; - } - } - return hierarchy; - } - } -} \ No newline at end of file diff --git a/src/Cuemon.Extensions.Newtonsoft.Json/JsonSerializerSettingsExtensions.cs b/src/Cuemon.Extensions.Newtonsoft.Json/JsonSerializerSettingsExtensions.cs deleted file mode 100644 index bf11f2930..000000000 --- a/src/Cuemon.Extensions.Newtonsoft.Json/JsonSerializerSettingsExtensions.cs +++ /dev/null @@ -1,19 +0,0 @@ -ο»Ώusing Newtonsoft.Json; - -namespace Cuemon.Extensions.Newtonsoft.Json -{ - /// - /// Extension methods for the class. - /// - public static class JsonSerializerSettingsExtensions - { - /// - /// Applies the specified to the function delegate . - /// - /// The JSON serializer settings. - public static void ApplyToDefaultSettings(this JsonSerializerSettings settings) - { - JsonConvert.DefaultSettings = () => settings; - } - } -} \ No newline at end of file diff --git a/src/Cuemon.Extensions.Newtonsoft.Json/JsonWriterExtensions.cs b/src/Cuemon.Extensions.Newtonsoft.Json/JsonWriterExtensions.cs deleted file mode 100644 index 51a491cfb..000000000 --- a/src/Cuemon.Extensions.Newtonsoft.Json/JsonWriterExtensions.cs +++ /dev/null @@ -1,38 +0,0 @@ -ο»Ώusing Cuemon.Extensions.Newtonsoft.Json.Serialization; -using Newtonsoft.Json; -using Newtonsoft.Json.Serialization; - -namespace Cuemon.Extensions.Newtonsoft.Json -{ - /// - /// Extension methods for the . - /// - public static class JsonWriterExtensions - { - /// - /// Serializes the specified and writes the JSON structure using the specified . - /// - /// The used to write the JSON structure. - /// The to serialize. - /// The calling . - public static void WriteObject(this JsonWriter writer, object value, JsonSerializer serializer) - { - serializer.Serialize(writer, value); - } - - /// - /// Writes the property name of a name/value pair of a JSON object. - /// - /// The used to write the JSON structure. - /// The name of the property. - /// The calling . - /// A flag to indicate whether the text should be escaped when it is written as a JSON property name. - /// In order to support an assigned to , make sure is assignable from . - public static void WritePropertyName(this JsonWriter writer, string name, JsonSerializer serializer, bool escape = false) - { - var ns = serializer?.ContractResolver.ResolveNamingStrategyOrDefault(); - if (ns != null) { name = ns.GetPropertyName(name, false); } - writer.WritePropertyName(name, escape); - } - } -} \ No newline at end of file diff --git a/src/Cuemon.Extensions.Newtonsoft.Json/Properties/AssemblyInfo.cs b/src/Cuemon.Extensions.Newtonsoft.Json/Properties/AssemblyInfo.cs deleted file mode 100644 index 57dd99b27..000000000 --- a/src/Cuemon.Extensions.Newtonsoft.Json/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,4 +0,0 @@ -ο»Ώusing System.Runtime.InteropServices; - -[assembly: ComVisible(false)] -[assembly: Guid("e3d2572e-8d77-47fe-9cf3-dba77c55f95a")] \ No newline at end of file diff --git a/src/Cuemon.Extensions.Newtonsoft.Json/Serialization/ContractResolverExtensions.cs b/src/Cuemon.Extensions.Newtonsoft.Json/Serialization/ContractResolverExtensions.cs deleted file mode 100644 index 7e09d05f2..000000000 --- a/src/Cuemon.Extensions.Newtonsoft.Json/Serialization/ContractResolverExtensions.cs +++ /dev/null @@ -1,29 +0,0 @@ -ο»Ώusing System.Linq; -using Newtonsoft.Json.Serialization; - -namespace Cuemon.Extensions.Newtonsoft.Json.Serialization -{ - /// - /// Extension methods for the interface. - /// - public static class ContractResolverExtensions - { - /// - /// Resolves the from the specified when possible; otherwise a default implementation is provided based on context. - /// Eg. for an instance of is returned; for all other cases an instance of is returned. - /// - /// The to resolve a from. - /// An instance of . - public static NamingStrategy ResolveNamingStrategyOrDefault(this IContractResolver contractResolver) - { - if (contractResolver is DefaultContractResolver dcr) // odd that IContractResolver does not implement - this make this method vulnerable to custom implementations of IContractResolver - { - return dcr.NamingStrategy ?? new DefaultNamingStrategy(); // stay true to default in library (pass-through) - } - - var namingStrategyProperty = contractResolver?.GetType().GetProperties().FirstOrDefault(pi => pi.PropertyType == typeof(NamingStrategy)); - var namingStrategy = namingStrategyProperty?.GetValue(contractResolver) as NamingStrategy; - return namingStrategy ?? new CamelCaseNamingStrategy(); - } - } -} \ No newline at end of file diff --git a/src/Cuemon.Extensions.Newtonsoft.Json/ValidatorExtensions.cs b/src/Cuemon.Extensions.Newtonsoft.Json/ValidatorExtensions.cs deleted file mode 100644 index 01db8a254..000000000 --- a/src/Cuemon.Extensions.Newtonsoft.Json/ValidatorExtensions.cs +++ /dev/null @@ -1,61 +0,0 @@ -ο»Ώusing System; -using System.Runtime.CompilerServices; -using Newtonsoft.Json; -using Newtonsoft.Json.Linq; - -namespace Cuemon.Extensions.Newtonsoft.Json -{ - /// - /// Extension methods for the class. - /// - public static class ValidatorExtensions - { - /// - /// Validates and throws an if the specified is not a valid JSON representation as specified in RFC 8259. - /// - /// The to extend. - /// The JSON string to be evaluated. - /// The name of the parameter that caused the exception. - /// A message that describes the error. - /// - /// must be a JSON representation that complies with RFC 8259. - /// - public static void InvalidJsonDocument(this Validator _, string argument, [CallerArgumentExpression(nameof(argument))] string paramName = null, string message = "Value must be a JSON representation that complies with RFC 8259.") - { - try - { - JToken.Parse(argument); - } - catch (Exception e) - { - throw new ArgumentException(message, paramName, e); - } - } - - /// - /// Validates and throws an if the specified is not a valid JSON representation as specified in RFC 8259. - /// - /// The to extend. - /// The to be evaluated. - /// The name of the parameter that caused the exception. - /// A message that describes the error. - /// - /// must be a JSON representation that complies with RFC 8259. - /// - public static void InvalidJsonDocument(this Validator _, ref JsonReader argument, [CallerArgumentExpression(nameof(argument))] string paramName = null, string message = "Value must be a JSON representation that complies with RFC 8259.") - { - if (argument == null) { return; } - var reader = argument; - try - { - var o = JToken.Load(reader); - reader = o.CreateReader(); - } - catch (Exception e) - { - throw new ArgumentException(message, paramName, e); - } - argument = reader; - } - } -} From c7458181cf47ea3ac2b26f33111ed693363d117a Mon Sep 17 00:00:00 2001 From: Michael Mortensen Date: Sun, 22 Sep 2024 23:35:57 +0200 Subject: [PATCH 5/7] :heavy_plus_sign: added dependency to Codebelt.Extensions.Newtonsoft.Json, Codebelt.Extensions.AspNetCore.Newtonsoft.Json and Codebelt.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json --- .../Cuemon.AspNetCore.FunctionalTests.csproj | 2 +- .../Diagnostics/ApplicationBuilderExtensionsTest.cs | 2 +- .../Cuemon.AspNetCore.Mvc.FunctionalTests.csproj | 2 +- .../Filters/Diagnostics/FaultDescriptorFilterTest.cs | 2 +- .../Cuemon.AspNetCore.Mvc.Tests.csproj | 2 +- .../Filters/Diagnostics/FaultDescriptorFilterTest.cs | 2 +- .../Filters/Headers/ApiKeySentinelFilterTest.cs | 2 +- .../Filters/Headers/UserAgentSentinelFilterTest.cs | 2 +- .../Filters/Throttling/ThrottlingSentinelFilterTest.cs | 2 +- .../Cuemon.AspNetCore.Tests/Cuemon.AspNetCore.Tests.csproj | 2 +- .../Http/BadRequestExceptionTest.cs | 2 +- .../Cuemon.AspNetCore.Tests/Http/ForbiddenExceptionTest.cs | 2 +- test/Cuemon.AspNetCore.Tests/Http/GoneExceptionTest.cs | 2 +- .../Http/Headers/ApiKeyExceptionTest.cs | 2 +- .../Http/Headers/UserAgentExceptionTest.cs | 2 +- .../Http/MethodNotAllowedExceptionTest.cs | 2 +- .../Http/NotAcceptableExceptionTest.cs | 2 +- test/Cuemon.AspNetCore.Tests/Http/NotFoundExceptionTest.cs | 2 +- .../Http/PayloadTooLargeExceptionTest.cs | 2 +- .../Http/PreconditionFailedExceptionTest.cs | 2 +- .../Http/PreconditionRequiredExceptionTest.cs | 2 +- .../Http/Throttling/ThrottlingExceptionTest.cs | 2 +- .../Http/TooManyRequestsExceptionTest.cs | 2 +- .../Http/UnauthorizedExceptionTest.cs | 2 +- .../Http/UnsupportedMediaTypeTest.cs | 2 +- test/Cuemon.Core.Tests/Cuemon.Core.Tests.csproj | 2 +- test/Cuemon.Core.Tests/TypeArgumentExceptionTest.cs | 2 +- .../TypeArgumentOutOfRangeExceptionTest.cs | 2 +- test/Cuemon.Data.Tests/Cuemon.Data.Tests.csproj | 2 +- .../Cuemon.Data.Tests/UniqueIndexViolationExceptionTest.cs | 2 +- .../AuthorizationResponseHandlerTest.cs | 2 +- ...uemon.Extensions.AspNetCore.Authentication.Tests.csproj | 2 +- .../Cuemon.Extensions.AspNetCore.Tests.csproj | 3 +-- .../Diagnostics/ServiceProviderExtensionsTest.cs | 2 +- .../Cuemon.Extensions.DependencyInjection.Tests.csproj | 7 +++++-- .../ServiceCollectionExtensionsTest.cs | 4 ++-- .../Cuemon.Resilience.Tests/Cuemon.Resilience.Tests.csproj | 7 +++++-- .../LatencyExceptionExceptionTest.cs | 2 +- .../Cuemon.Resilience.Tests/TransientFaultExceptionTest.cs | 2 +- 39 files changed, 48 insertions(+), 43 deletions(-) diff --git a/test/Cuemon.AspNetCore.FunctionalTests/Cuemon.AspNetCore.FunctionalTests.csproj b/test/Cuemon.AspNetCore.FunctionalTests/Cuemon.AspNetCore.FunctionalTests.csproj index 4b98730d8..c2c248461 100644 --- a/test/Cuemon.AspNetCore.FunctionalTests/Cuemon.AspNetCore.FunctionalTests.csproj +++ b/test/Cuemon.AspNetCore.FunctionalTests/Cuemon.AspNetCore.FunctionalTests.csproj @@ -6,13 +6,13 @@ + - diff --git a/test/Cuemon.AspNetCore.FunctionalTests/Diagnostics/ApplicationBuilderExtensionsTest.cs b/test/Cuemon.AspNetCore.FunctionalTests/Diagnostics/ApplicationBuilderExtensionsTest.cs index 39ac63b06..0015f2760 100644 --- a/test/Cuemon.AspNetCore.FunctionalTests/Diagnostics/ApplicationBuilderExtensionsTest.cs +++ b/test/Cuemon.AspNetCore.FunctionalTests/Diagnostics/ApplicationBuilderExtensionsTest.cs @@ -4,7 +4,7 @@ using Cuemon.AspNetCore.Http; using Cuemon.Diagnostics; using Cuemon.Extensions.AspNetCore.Diagnostics; -using Cuemon.Extensions.AspNetCore.Newtonsoft.Json.Formatters; +using Codebelt.Extensions.AspNetCore.Newtonsoft.Json.Formatters; using Cuemon.Extensions.AspNetCore.Text.Json.Formatters; using Cuemon.Extensions.AspNetCore.Xml.Formatters; using Cuemon.Extensions.DependencyInjection; diff --git a/test/Cuemon.AspNetCore.Mvc.FunctionalTests/Cuemon.AspNetCore.Mvc.FunctionalTests.csproj b/test/Cuemon.AspNetCore.Mvc.FunctionalTests/Cuemon.AspNetCore.Mvc.FunctionalTests.csproj index 00bf5def7..6264b838a 100644 --- a/test/Cuemon.AspNetCore.Mvc.FunctionalTests/Cuemon.AspNetCore.Mvc.FunctionalTests.csproj +++ b/test/Cuemon.AspNetCore.Mvc.FunctionalTests/Cuemon.AspNetCore.Mvc.FunctionalTests.csproj @@ -6,13 +6,13 @@ + - diff --git a/test/Cuemon.AspNetCore.Mvc.FunctionalTests/Filters/Diagnostics/FaultDescriptorFilterTest.cs b/test/Cuemon.AspNetCore.Mvc.FunctionalTests/Filters/Diagnostics/FaultDescriptorFilterTest.cs index baa670978..bf5d91951 100644 --- a/test/Cuemon.AspNetCore.Mvc.FunctionalTests/Filters/Diagnostics/FaultDescriptorFilterTest.cs +++ b/test/Cuemon.AspNetCore.Mvc.FunctionalTests/Filters/Diagnostics/FaultDescriptorFilterTest.cs @@ -4,7 +4,7 @@ using Cuemon.AspNetCore.Mvc.Assets; using Cuemon.Diagnostics; using Cuemon.Extensions.AspNetCore.Mvc.Filters; -using Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json; +using Codebelt.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json; using Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json; using Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml; using Cuemon.Extensions.DependencyInjection; diff --git a/test/Cuemon.AspNetCore.Mvc.Tests/Cuemon.AspNetCore.Mvc.Tests.csproj b/test/Cuemon.AspNetCore.Mvc.Tests/Cuemon.AspNetCore.Mvc.Tests.csproj index 99795775d..a47692442 100644 --- a/test/Cuemon.AspNetCore.Mvc.Tests/Cuemon.AspNetCore.Mvc.Tests.csproj +++ b/test/Cuemon.AspNetCore.Mvc.Tests/Cuemon.AspNetCore.Mvc.Tests.csproj @@ -7,7 +7,6 @@ - @@ -16,6 +15,7 @@ + diff --git a/test/Cuemon.AspNetCore.Mvc.Tests/Filters/Diagnostics/FaultDescriptorFilterTest.cs b/test/Cuemon.AspNetCore.Mvc.Tests/Filters/Diagnostics/FaultDescriptorFilterTest.cs index f13da0812..7814c7385 100644 --- a/test/Cuemon.AspNetCore.Mvc.Tests/Filters/Diagnostics/FaultDescriptorFilterTest.cs +++ b/test/Cuemon.AspNetCore.Mvc.Tests/Filters/Diagnostics/FaultDescriptorFilterTest.cs @@ -6,7 +6,7 @@ using Cuemon.Extensions.AspNetCore.Diagnostics; using Cuemon.Extensions.AspNetCore.Http.Throttling; using Cuemon.Extensions.AspNetCore.Mvc.Filters; -using Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json; +using Codebelt.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json; using Codebelt.Extensions.Xunit; using Codebelt.Extensions.Xunit.Hosting.AspNetCore; using Microsoft.AspNetCore.Builder; diff --git a/test/Cuemon.AspNetCore.Mvc.Tests/Filters/Headers/ApiKeySentinelFilterTest.cs b/test/Cuemon.AspNetCore.Mvc.Tests/Filters/Headers/ApiKeySentinelFilterTest.cs index 149c03b50..7aed9975c 100644 --- a/test/Cuemon.AspNetCore.Mvc.Tests/Filters/Headers/ApiKeySentinelFilterTest.cs +++ b/test/Cuemon.AspNetCore.Mvc.Tests/Filters/Headers/ApiKeySentinelFilterTest.cs @@ -5,7 +5,7 @@ using Cuemon.AspNetCore.Mvc.Assets; using Cuemon.Extensions.AspNetCore.Http.Headers; using Cuemon.Extensions.AspNetCore.Mvc.Filters; -using Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json; +using Codebelt.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json; using Codebelt.Extensions.Xunit; using Codebelt.Extensions.Xunit.Hosting.AspNetCore; using Microsoft.AspNetCore.Builder; diff --git a/test/Cuemon.AspNetCore.Mvc.Tests/Filters/Headers/UserAgentSentinelFilterTest.cs b/test/Cuemon.AspNetCore.Mvc.Tests/Filters/Headers/UserAgentSentinelFilterTest.cs index 50b191c5b..29ace5989 100644 --- a/test/Cuemon.AspNetCore.Mvc.Tests/Filters/Headers/UserAgentSentinelFilterTest.cs +++ b/test/Cuemon.AspNetCore.Mvc.Tests/Filters/Headers/UserAgentSentinelFilterTest.cs @@ -3,7 +3,7 @@ using Cuemon.AspNetCore.Http.Headers; using Cuemon.AspNetCore.Mvc.Assets; using Cuemon.Extensions.AspNetCore.Mvc.Filters; -using Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json; +using Codebelt.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json; using Codebelt.Extensions.Xunit; using Codebelt.Extensions.Xunit.Hosting.AspNetCore; using Microsoft.AspNetCore.Builder; diff --git a/test/Cuemon.AspNetCore.Mvc.Tests/Filters/Throttling/ThrottlingSentinelFilterTest.cs b/test/Cuemon.AspNetCore.Mvc.Tests/Filters/Throttling/ThrottlingSentinelFilterTest.cs index 568b1db2a..c1391a452 100644 --- a/test/Cuemon.AspNetCore.Mvc.Tests/Filters/Throttling/ThrottlingSentinelFilterTest.cs +++ b/test/Cuemon.AspNetCore.Mvc.Tests/Filters/Throttling/ThrottlingSentinelFilterTest.cs @@ -7,7 +7,7 @@ using Cuemon.Extensions; using Cuemon.Extensions.AspNetCore.Http.Throttling; using Cuemon.Extensions.AspNetCore.Mvc.Filters; -using Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json; +using Codebelt.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json; using Codebelt.Extensions.Xunit; using Codebelt.Extensions.Xunit.Hosting.AspNetCore; using Microsoft.AspNetCore.Builder; diff --git a/test/Cuemon.AspNetCore.Tests/Cuemon.AspNetCore.Tests.csproj b/test/Cuemon.AspNetCore.Tests/Cuemon.AspNetCore.Tests.csproj index ba87e57e3..71de49c2d 100644 --- a/test/Cuemon.AspNetCore.Tests/Cuemon.AspNetCore.Tests.csproj +++ b/test/Cuemon.AspNetCore.Tests/Cuemon.AspNetCore.Tests.csproj @@ -9,11 +9,11 @@ - + diff --git a/test/Cuemon.AspNetCore.Tests/Http/BadRequestExceptionTest.cs b/test/Cuemon.AspNetCore.Tests/Http/BadRequestExceptionTest.cs index 9e5db64e4..399d81e73 100644 --- a/test/Cuemon.AspNetCore.Tests/Http/BadRequestExceptionTest.cs +++ b/test/Cuemon.AspNetCore.Tests/Http/BadRequestExceptionTest.cs @@ -1,5 +1,5 @@ ο»Ώusing Cuemon.Extensions.IO; -using Cuemon.Extensions.Newtonsoft.Json.Formatters; +using Codebelt.Extensions.Newtonsoft.Json.Formatters; using Codebelt.Extensions.Xunit; using Cuemon.Xml.Serialization.Formatters; using Microsoft.AspNetCore.Http; diff --git a/test/Cuemon.AspNetCore.Tests/Http/ForbiddenExceptionTest.cs b/test/Cuemon.AspNetCore.Tests/Http/ForbiddenExceptionTest.cs index 0e3c3787a..ee5fed765 100644 --- a/test/Cuemon.AspNetCore.Tests/Http/ForbiddenExceptionTest.cs +++ b/test/Cuemon.AspNetCore.Tests/Http/ForbiddenExceptionTest.cs @@ -1,5 +1,5 @@ ο»Ώusing Cuemon.Extensions.IO; -using Cuemon.Extensions.Newtonsoft.Json.Formatters; +using Codebelt.Extensions.Newtonsoft.Json.Formatters; using Codebelt.Extensions.Xunit; using Cuemon.Xml.Serialization.Formatters; using Microsoft.AspNetCore.Http; diff --git a/test/Cuemon.AspNetCore.Tests/Http/GoneExceptionTest.cs b/test/Cuemon.AspNetCore.Tests/Http/GoneExceptionTest.cs index c27eeea9d..ed5ca491f 100644 --- a/test/Cuemon.AspNetCore.Tests/Http/GoneExceptionTest.cs +++ b/test/Cuemon.AspNetCore.Tests/Http/GoneExceptionTest.cs @@ -1,5 +1,5 @@ ο»Ώusing Cuemon.Extensions.IO; -using Cuemon.Extensions.Newtonsoft.Json.Formatters; +using Codebelt.Extensions.Newtonsoft.Json.Formatters; using Codebelt.Extensions.Xunit; using Cuemon.Xml.Serialization.Formatters; using Microsoft.AspNetCore.Http; diff --git a/test/Cuemon.AspNetCore.Tests/Http/Headers/ApiKeyExceptionTest.cs b/test/Cuemon.AspNetCore.Tests/Http/Headers/ApiKeyExceptionTest.cs index abc3234b6..033dff8ea 100644 --- a/test/Cuemon.AspNetCore.Tests/Http/Headers/ApiKeyExceptionTest.cs +++ b/test/Cuemon.AspNetCore.Tests/Http/Headers/ApiKeyExceptionTest.cs @@ -1,5 +1,5 @@ ο»Ώusing Cuemon.Extensions.IO; -using Cuemon.Extensions.Newtonsoft.Json.Formatters; +using Codebelt.Extensions.Newtonsoft.Json.Formatters; using Codebelt.Extensions.Xunit; using Cuemon.Xml.Serialization.Formatters; using Microsoft.AspNetCore.Http; diff --git a/test/Cuemon.AspNetCore.Tests/Http/Headers/UserAgentExceptionTest.cs b/test/Cuemon.AspNetCore.Tests/Http/Headers/UserAgentExceptionTest.cs index e6eb5c774..24962782d 100644 --- a/test/Cuemon.AspNetCore.Tests/Http/Headers/UserAgentExceptionTest.cs +++ b/test/Cuemon.AspNetCore.Tests/Http/Headers/UserAgentExceptionTest.cs @@ -1,5 +1,5 @@ ο»Ώusing Cuemon.Extensions.IO; -using Cuemon.Extensions.Newtonsoft.Json.Formatters; +using Codebelt.Extensions.Newtonsoft.Json.Formatters; using Codebelt.Extensions.Xunit; using Cuemon.Xml.Serialization.Formatters; using Microsoft.AspNetCore.Http; diff --git a/test/Cuemon.AspNetCore.Tests/Http/MethodNotAllowedExceptionTest.cs b/test/Cuemon.AspNetCore.Tests/Http/MethodNotAllowedExceptionTest.cs index f695c3922..2586f3a04 100644 --- a/test/Cuemon.AspNetCore.Tests/Http/MethodNotAllowedExceptionTest.cs +++ b/test/Cuemon.AspNetCore.Tests/Http/MethodNotAllowedExceptionTest.cs @@ -1,5 +1,5 @@ ο»Ώusing Cuemon.Extensions.IO; -using Cuemon.Extensions.Newtonsoft.Json.Formatters; +using Codebelt.Extensions.Newtonsoft.Json.Formatters; using Codebelt.Extensions.Xunit; using Cuemon.Xml.Serialization.Formatters; using Microsoft.AspNetCore.Http; diff --git a/test/Cuemon.AspNetCore.Tests/Http/NotAcceptableExceptionTest.cs b/test/Cuemon.AspNetCore.Tests/Http/NotAcceptableExceptionTest.cs index 48bad5835..a4b39800b 100644 --- a/test/Cuemon.AspNetCore.Tests/Http/NotAcceptableExceptionTest.cs +++ b/test/Cuemon.AspNetCore.Tests/Http/NotAcceptableExceptionTest.cs @@ -1,5 +1,5 @@ ο»Ώusing Cuemon.Extensions.IO; -using Cuemon.Extensions.Newtonsoft.Json.Formatters; +using Codebelt.Extensions.Newtonsoft.Json.Formatters; using Codebelt.Extensions.Xunit; using Cuemon.Xml.Serialization.Formatters; using Microsoft.AspNetCore.Http; diff --git a/test/Cuemon.AspNetCore.Tests/Http/NotFoundExceptionTest.cs b/test/Cuemon.AspNetCore.Tests/Http/NotFoundExceptionTest.cs index 215e928ea..17fe53f86 100644 --- a/test/Cuemon.AspNetCore.Tests/Http/NotFoundExceptionTest.cs +++ b/test/Cuemon.AspNetCore.Tests/Http/NotFoundExceptionTest.cs @@ -1,5 +1,5 @@ ο»Ώusing Cuemon.Extensions.IO; -using Cuemon.Extensions.Newtonsoft.Json.Formatters; +using Codebelt.Extensions.Newtonsoft.Json.Formatters; using Codebelt.Extensions.Xunit; using Cuemon.Xml.Serialization.Formatters; using Microsoft.AspNetCore.Http; diff --git a/test/Cuemon.AspNetCore.Tests/Http/PayloadTooLargeExceptionTest.cs b/test/Cuemon.AspNetCore.Tests/Http/PayloadTooLargeExceptionTest.cs index 2dedc3ccf..557150b56 100644 --- a/test/Cuemon.AspNetCore.Tests/Http/PayloadTooLargeExceptionTest.cs +++ b/test/Cuemon.AspNetCore.Tests/Http/PayloadTooLargeExceptionTest.cs @@ -1,5 +1,5 @@ ο»Ώusing Cuemon.Extensions.IO; -using Cuemon.Extensions.Newtonsoft.Json.Formatters; +using Codebelt.Extensions.Newtonsoft.Json.Formatters; using Codebelt.Extensions.Xunit; using Cuemon.Xml.Serialization.Formatters; using Microsoft.AspNetCore.Http; diff --git a/test/Cuemon.AspNetCore.Tests/Http/PreconditionFailedExceptionTest.cs b/test/Cuemon.AspNetCore.Tests/Http/PreconditionFailedExceptionTest.cs index 16885f706..2b5eb0ead 100644 --- a/test/Cuemon.AspNetCore.Tests/Http/PreconditionFailedExceptionTest.cs +++ b/test/Cuemon.AspNetCore.Tests/Http/PreconditionFailedExceptionTest.cs @@ -1,5 +1,5 @@ ο»Ώusing Cuemon.Extensions.IO; -using Cuemon.Extensions.Newtonsoft.Json.Formatters; +using Codebelt.Extensions.Newtonsoft.Json.Formatters; using Codebelt.Extensions.Xunit; using Cuemon.Xml.Serialization.Formatters; using Microsoft.AspNetCore.Http; diff --git a/test/Cuemon.AspNetCore.Tests/Http/PreconditionRequiredExceptionTest.cs b/test/Cuemon.AspNetCore.Tests/Http/PreconditionRequiredExceptionTest.cs index 61838aba7..5e1b663a7 100644 --- a/test/Cuemon.AspNetCore.Tests/Http/PreconditionRequiredExceptionTest.cs +++ b/test/Cuemon.AspNetCore.Tests/Http/PreconditionRequiredExceptionTest.cs @@ -1,5 +1,5 @@ ο»Ώusing Cuemon.Extensions.IO; -using Cuemon.Extensions.Newtonsoft.Json.Formatters; +using Codebelt.Extensions.Newtonsoft.Json.Formatters; using Codebelt.Extensions.Xunit; using Cuemon.Xml.Serialization.Formatters; using Microsoft.AspNetCore.Http; diff --git a/test/Cuemon.AspNetCore.Tests/Http/Throttling/ThrottlingExceptionTest.cs b/test/Cuemon.AspNetCore.Tests/Http/Throttling/ThrottlingExceptionTest.cs index 213667455..155a52da0 100644 --- a/test/Cuemon.AspNetCore.Tests/Http/Throttling/ThrottlingExceptionTest.cs +++ b/test/Cuemon.AspNetCore.Tests/Http/Throttling/ThrottlingExceptionTest.cs @@ -1,6 +1,6 @@ ο»Ώusing System; using Cuemon.Extensions.IO; -using Cuemon.Extensions.Newtonsoft.Json.Formatters; +using Codebelt.Extensions.Newtonsoft.Json.Formatters; using Codebelt.Extensions.Xunit; using Cuemon.Xml.Serialization.Formatters; using Microsoft.AspNetCore.Http; diff --git a/test/Cuemon.AspNetCore.Tests/Http/TooManyRequestsExceptionTest.cs b/test/Cuemon.AspNetCore.Tests/Http/TooManyRequestsExceptionTest.cs index 3bc259dc3..628374172 100644 --- a/test/Cuemon.AspNetCore.Tests/Http/TooManyRequestsExceptionTest.cs +++ b/test/Cuemon.AspNetCore.Tests/Http/TooManyRequestsExceptionTest.cs @@ -1,5 +1,5 @@ ο»Ώusing Cuemon.Extensions.IO; -using Cuemon.Extensions.Newtonsoft.Json.Formatters; +using Codebelt.Extensions.Newtonsoft.Json.Formatters; using Codebelt.Extensions.Xunit; using Cuemon.Xml.Serialization.Formatters; using Microsoft.AspNetCore.Http; diff --git a/test/Cuemon.AspNetCore.Tests/Http/UnauthorizedExceptionTest.cs b/test/Cuemon.AspNetCore.Tests/Http/UnauthorizedExceptionTest.cs index 0b521ac97..cf952ab48 100644 --- a/test/Cuemon.AspNetCore.Tests/Http/UnauthorizedExceptionTest.cs +++ b/test/Cuemon.AspNetCore.Tests/Http/UnauthorizedExceptionTest.cs @@ -1,5 +1,5 @@ ο»Ώusing Cuemon.Extensions.IO; -using Cuemon.Extensions.Newtonsoft.Json.Formatters; +using Codebelt.Extensions.Newtonsoft.Json.Formatters; using Codebelt.Extensions.Xunit; using Cuemon.Xml.Serialization.Formatters; using Microsoft.AspNetCore.Http; diff --git a/test/Cuemon.AspNetCore.Tests/Http/UnsupportedMediaTypeTest.cs b/test/Cuemon.AspNetCore.Tests/Http/UnsupportedMediaTypeTest.cs index 978555f7e..fdba91a20 100644 --- a/test/Cuemon.AspNetCore.Tests/Http/UnsupportedMediaTypeTest.cs +++ b/test/Cuemon.AspNetCore.Tests/Http/UnsupportedMediaTypeTest.cs @@ -1,5 +1,5 @@ ο»Ώusing Cuemon.Extensions.IO; -using Cuemon.Extensions.Newtonsoft.Json.Formatters; +using Codebelt.Extensions.Newtonsoft.Json.Formatters; using Codebelt.Extensions.Xunit; using Cuemon.Xml.Serialization.Formatters; using Microsoft.AspNetCore.Http; diff --git a/test/Cuemon.Core.Tests/Cuemon.Core.Tests.csproj b/test/Cuemon.Core.Tests/Cuemon.Core.Tests.csproj index c0a188881..f65c46a11 100644 --- a/test/Cuemon.Core.Tests/Cuemon.Core.Tests.csproj +++ b/test/Cuemon.Core.Tests/Cuemon.Core.Tests.csproj @@ -17,6 +17,7 @@ + @@ -29,7 +30,6 @@ - diff --git a/test/Cuemon.Core.Tests/TypeArgumentExceptionTest.cs b/test/Cuemon.Core.Tests/TypeArgumentExceptionTest.cs index e848d8833..1796afa80 100644 --- a/test/Cuemon.Core.Tests/TypeArgumentExceptionTest.cs +++ b/test/Cuemon.Core.Tests/TypeArgumentExceptionTest.cs @@ -2,7 +2,7 @@ using System.Threading; using Cuemon.Extensions; using Cuemon.Extensions.IO; -using Cuemon.Extensions.Newtonsoft.Json.Formatters; +using Codebelt.Extensions.Newtonsoft.Json.Formatters; using Codebelt.Extensions.Xunit; using Cuemon.Xml.Serialization.Formatters; using Xunit; diff --git a/test/Cuemon.Core.Tests/TypeArgumentOutOfRangeExceptionTest.cs b/test/Cuemon.Core.Tests/TypeArgumentOutOfRangeExceptionTest.cs index 6c50cfa4e..bdd5f09c7 100644 --- a/test/Cuemon.Core.Tests/TypeArgumentOutOfRangeExceptionTest.cs +++ b/test/Cuemon.Core.Tests/TypeArgumentOutOfRangeExceptionTest.cs @@ -1,7 +1,7 @@ ο»Ώusing System.Runtime.InteropServices; using Cuemon.Extensions; using Cuemon.Extensions.IO; -using Cuemon.Extensions.Newtonsoft.Json.Formatters; +using Codebelt.Extensions.Newtonsoft.Json.Formatters; using Codebelt.Extensions.Xunit; using Cuemon.Xml.Serialization.Formatters; using Xunit; diff --git a/test/Cuemon.Data.Tests/Cuemon.Data.Tests.csproj b/test/Cuemon.Data.Tests/Cuemon.Data.Tests.csproj index 0f1996a95..291b121c7 100644 --- a/test/Cuemon.Data.Tests/Cuemon.Data.Tests.csproj +++ b/test/Cuemon.Data.Tests/Cuemon.Data.Tests.csproj @@ -50,13 +50,13 @@ - + diff --git a/test/Cuemon.Data.Tests/UniqueIndexViolationExceptionTest.cs b/test/Cuemon.Data.Tests/UniqueIndexViolationExceptionTest.cs index 1ecca644e..d63e71560 100644 --- a/test/Cuemon.Data.Tests/UniqueIndexViolationExceptionTest.cs +++ b/test/Cuemon.Data.Tests/UniqueIndexViolationExceptionTest.cs @@ -1,6 +1,6 @@ ο»Ώusing Cuemon.Extensions; using Cuemon.Extensions.IO; -using Cuemon.Extensions.Newtonsoft.Json.Formatters; +using Codebelt.Extensions.Newtonsoft.Json.Formatters; using Codebelt.Extensions.Xunit; using Xunit; using Xunit.Abstractions; diff --git a/test/Cuemon.Extensions.AspNetCore.Authentication.Tests/AuthorizationResponseHandlerTest.cs b/test/Cuemon.Extensions.AspNetCore.Authentication.Tests/AuthorizationResponseHandlerTest.cs index 16133f823..5085e7880 100644 --- a/test/Cuemon.Extensions.AspNetCore.Authentication.Tests/AuthorizationResponseHandlerTest.cs +++ b/test/Cuemon.Extensions.AspNetCore.Authentication.Tests/AuthorizationResponseHandlerTest.cs @@ -10,7 +10,7 @@ using Cuemon.Collections.Generic; using Cuemon.Diagnostics; using Cuemon.Extensions.AspNetCore.Diagnostics; -using Cuemon.Extensions.AspNetCore.Newtonsoft.Json.Formatters; +using Codebelt.Extensions.AspNetCore.Newtonsoft.Json.Formatters; using Cuemon.Extensions.AspNetCore.Text.Json.Formatters; using Cuemon.Extensions.AspNetCore.Xml.Formatters; using Codebelt.Extensions.Xunit; diff --git a/test/Cuemon.Extensions.AspNetCore.Authentication.Tests/Cuemon.Extensions.AspNetCore.Authentication.Tests.csproj b/test/Cuemon.Extensions.AspNetCore.Authentication.Tests/Cuemon.Extensions.AspNetCore.Authentication.Tests.csproj index 7be1d99ad..978378ff3 100644 --- a/test/Cuemon.Extensions.AspNetCore.Authentication.Tests/Cuemon.Extensions.AspNetCore.Authentication.Tests.csproj +++ b/test/Cuemon.Extensions.AspNetCore.Authentication.Tests/Cuemon.Extensions.AspNetCore.Authentication.Tests.csproj @@ -7,13 +7,13 @@ - + diff --git a/test/Cuemon.Extensions.AspNetCore.Tests/Cuemon.Extensions.AspNetCore.Tests.csproj b/test/Cuemon.Extensions.AspNetCore.Tests/Cuemon.Extensions.AspNetCore.Tests.csproj index b42042860..774b225a2 100644 --- a/test/Cuemon.Extensions.AspNetCore.Tests/Cuemon.Extensions.AspNetCore.Tests.csproj +++ b/test/Cuemon.Extensions.AspNetCore.Tests/Cuemon.Extensions.AspNetCore.Tests.csproj @@ -6,19 +6,18 @@ - - + diff --git a/test/Cuemon.Extensions.AspNetCore.Tests/Diagnostics/ServiceProviderExtensionsTest.cs b/test/Cuemon.Extensions.AspNetCore.Tests/Diagnostics/ServiceProviderExtensionsTest.cs index 1291bf106..38627f699 100644 --- a/test/Cuemon.Extensions.AspNetCore.Tests/Diagnostics/ServiceProviderExtensionsTest.cs +++ b/test/Cuemon.Extensions.AspNetCore.Tests/Diagnostics/ServiceProviderExtensionsTest.cs @@ -1,6 +1,6 @@ ο»Ώusing System; using System.Linq; -using Cuemon.Extensions.AspNetCore.Newtonsoft.Json.Formatters; +using Codebelt.Extensions.AspNetCore.Newtonsoft.Json.Formatters; using Cuemon.Extensions.AspNetCore.Text.Json.Formatters; using Cuemon.Extensions.AspNetCore.Xml.Formatters; using Codebelt.Extensions.Xunit; diff --git a/test/Cuemon.Extensions.DependencyInjection.Tests/Cuemon.Extensions.DependencyInjection.Tests.csproj b/test/Cuemon.Extensions.DependencyInjection.Tests/Cuemon.Extensions.DependencyInjection.Tests.csproj index 5bf6bb5f9..cd50fab42 100644 --- a/test/Cuemon.Extensions.DependencyInjection.Tests/Cuemon.Extensions.DependencyInjection.Tests.csproj +++ b/test/Cuemon.Extensions.DependencyInjection.Tests/Cuemon.Extensions.DependencyInjection.Tests.csproj @@ -10,11 +10,14 @@ - - + + + + + diff --git a/test/Cuemon.Extensions.DependencyInjection.Tests/ServiceCollectionExtensionsTest.cs b/test/Cuemon.Extensions.DependencyInjection.Tests/ServiceCollectionExtensionsTest.cs index 1d633182b..1ffe54185 100644 --- a/test/Cuemon.Extensions.DependencyInjection.Tests/ServiceCollectionExtensionsTest.cs +++ b/test/Cuemon.Extensions.DependencyInjection.Tests/ServiceCollectionExtensionsTest.cs @@ -1,9 +1,9 @@ ο»Ώusing System; using System.Linq; -#if NET6_0_OR_GREATER +#if NET8_0_OR_GREATER using Cuemon.AspNetCore.Diagnostics; using Cuemon.AspNetCore.Mvc.Filters.Diagnostics; -using Cuemon.Extensions.Newtonsoft.Json.Formatters; +using Codebelt.Extensions.Newtonsoft.Json.Formatters; using Cuemon.Extensions.Text.Json.Formatters; using Cuemon.Xml.Serialization.Formatters; #endif diff --git a/test/Cuemon.Resilience.Tests/Cuemon.Resilience.Tests.csproj b/test/Cuemon.Resilience.Tests/Cuemon.Resilience.Tests.csproj index 78dd95d1b..7669a150e 100644 --- a/test/Cuemon.Resilience.Tests/Cuemon.Resilience.Tests.csproj +++ b/test/Cuemon.Resilience.Tests/Cuemon.Resilience.Tests.csproj @@ -12,8 +12,11 @@ - - \ No newline at end of file + + + + + diff --git a/test/Cuemon.Resilience.Tests/LatencyExceptionExceptionTest.cs b/test/Cuemon.Resilience.Tests/LatencyExceptionExceptionTest.cs index fc024e385..5d91ac519 100644 --- a/test/Cuemon.Resilience.Tests/LatencyExceptionExceptionTest.cs +++ b/test/Cuemon.Resilience.Tests/LatencyExceptionExceptionTest.cs @@ -1,6 +1,6 @@ ο»Ώusing Cuemon.Extensions; using Cuemon.Extensions.IO; -using Cuemon.Extensions.Newtonsoft.Json.Formatters; +using Codebelt.Extensions.Newtonsoft.Json.Formatters; using Codebelt.Extensions.Xunit; using Xunit; using Xunit.Abstractions; diff --git a/test/Cuemon.Resilience.Tests/TransientFaultExceptionTest.cs b/test/Cuemon.Resilience.Tests/TransientFaultExceptionTest.cs index 548ba4441..fed985c98 100644 --- a/test/Cuemon.Resilience.Tests/TransientFaultExceptionTest.cs +++ b/test/Cuemon.Resilience.Tests/TransientFaultExceptionTest.cs @@ -3,7 +3,7 @@ using System.Reflection; using Cuemon.Extensions; using Cuemon.Extensions.IO; -using Cuemon.Extensions.Newtonsoft.Json.Formatters; +using Codebelt.Extensions.Newtonsoft.Json.Formatters; using Codebelt.Extensions.Xunit; using Cuemon.Reflection; using Xunit; From 21250513728ef2e038898fac379a874649af0c61 Mon Sep 17 00:00:00 2001 From: Michael Mortensen Date: Sun, 22 Sep 2024 23:37:26 +0200 Subject: [PATCH 6/7] :boom: Cuemon.Extensions.Newtonsoft.Json.Tests and Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json.Tests was removed from the Cuemon assembly family --- .../Assets/FakeController.cs | 21 -- .../Assets/WeatherForecast.cs | 22 -- .../JsonConverterCollectionExtensionsTest.cs | 210 -------------- ...vc.Formatters.Newtonsoft.Json.Tests.csproj | 17 -- .../JsonSerializationInputFormatterTest.cs | 88 ------ .../JsonSerializationOutputFormatterTest.cs | 78 ----- .../JsonConverterCollectionExtensionsTest.cs | 274 ------------------ ...on.Extensions.Newtonsoft.Json.Tests.csproj | 17 -- .../NewtonsoftJsonFormatterOptionsTest.cs | 85 ------ .../Formatters/NewtonsoftJsonFormatterTest.cs | 147 ---------- .../JDataTest.cs | 125 -------- .../ContractResolverExtensionsTest.cs | 213 -------------- .../ValidatorExtensionsTest.cs | 50 ---- 13 files changed, 1347 deletions(-) delete mode 100644 test/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json.Tests/Assets/FakeController.cs delete mode 100644 test/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json.Tests/Assets/WeatherForecast.cs delete mode 100644 test/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json.Tests/Converters/JsonConverterCollectionExtensionsTest.cs delete mode 100644 test/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json.Tests/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json.Tests.csproj delete mode 100644 test/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json.Tests/JsonSerializationInputFormatterTest.cs delete mode 100644 test/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json.Tests/JsonSerializationOutputFormatterTest.cs delete mode 100644 test/Cuemon.Extensions.Newtonsoft.Json.Tests/Converters/JsonConverterCollectionExtensionsTest.cs delete mode 100644 test/Cuemon.Extensions.Newtonsoft.Json.Tests/Cuemon.Extensions.Newtonsoft.Json.Tests.csproj delete mode 100644 test/Cuemon.Extensions.Newtonsoft.Json.Tests/Formatters/NewtonsoftJsonFormatterOptionsTest.cs delete mode 100644 test/Cuemon.Extensions.Newtonsoft.Json.Tests/Formatters/NewtonsoftJsonFormatterTest.cs delete mode 100644 test/Cuemon.Extensions.Newtonsoft.Json.Tests/JDataTest.cs delete mode 100644 test/Cuemon.Extensions.Newtonsoft.Json.Tests/Serialization/ContractResolverExtensionsTest.cs delete mode 100644 test/Cuemon.Extensions.Newtonsoft.Json.Tests/ValidatorExtensionsTest.cs diff --git a/test/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json.Tests/Assets/FakeController.cs b/test/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json.Tests/Assets/FakeController.cs deleted file mode 100644 index 2256b0323..000000000 --- a/test/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json.Tests/Assets/FakeController.cs +++ /dev/null @@ -1,21 +0,0 @@ -ο»Ώusing Microsoft.AspNetCore.Mvc; - -namespace Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json.Assets -{ - [ApiController] - [Route("[controller]")] - public class FakeController : ControllerBase - { - [HttpGet] - public IActionResult Get() - { - return Ok(new WeatherForecast()); - } - - [HttpPost] - public IActionResult Post(WeatherForecast model) - { - return CreatedAtAction(nameof(Post), model); - } - } -} \ No newline at end of file diff --git a/test/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json.Tests/Assets/WeatherForecast.cs b/test/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json.Tests/Assets/WeatherForecast.cs deleted file mode 100644 index c1ced408f..000000000 --- a/test/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json.Tests/Assets/WeatherForecast.cs +++ /dev/null @@ -1,22 +0,0 @@ -using System; - -namespace Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json.Assets -{ - public class WeatherForecast - { - public WeatherForecast() - { - Date = DateTime.UtcNow; - TemperatureC = Generate.RandomNumber(-20, 55); - Summary = "Scorching"; - } - - public DateTime Date { get; set; } - - public int TemperatureC { get; set; } - - public int TemperatureF => 32 + (int)(TemperatureC / 0.5556); - - public string Summary { get; set; } - } -} \ No newline at end of file diff --git a/test/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json.Tests/Converters/JsonConverterCollectionExtensionsTest.cs b/test/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json.Tests/Converters/JsonConverterCollectionExtensionsTest.cs deleted file mode 100644 index f184347b6..000000000 --- a/test/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json.Tests/Converters/JsonConverterCollectionExtensionsTest.cs +++ /dev/null @@ -1,210 +0,0 @@ -ο»Ώusing System; -using System.Linq; -using Cuemon.AspNetCore.Diagnostics; -using Cuemon.Collections.Generic; -using Cuemon.Diagnostics; -using Cuemon.Extensions.AspNetCore.Newtonsoft.Json.Converters; -using Cuemon.Extensions.IO; -using Cuemon.Extensions.Newtonsoft.Json.Formatters; -using Codebelt.Extensions.Xunit; -using Codebelt.Extensions.Xunit.Hosting.AspNetCore; -using Cuemon.IO; -using Microsoft.AspNetCore.Http; -using Microsoft.Extensions.DependencyInjection; -using Microsoft.Extensions.Primitives; -using Newtonsoft.Json; -using Xunit; -using Xunit.Abstractions; - -namespace Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json.Converters -{ - public class JsonConverterCollectionExtensionsTest : Test - { - public JsonConverterCollectionExtensionsTest(ITestOutputHelper output) : base(output) - { - } - - [Theory] - [InlineData(FaultSensitivityDetails.All)] - [InlineData(FaultSensitivityDetails.None)] - public void AddHttpExceptionDescriptorConverter_ShouldAddHttpExceptionDescriptorToConverterCollection(FaultSensitivityDetails sensitivityDetails) - { - OutOfMemoryException oome = null; - try - { - throw new OutOfMemoryException(); - } - catch (OutOfMemoryException e) - { - oome = e; - } - - using (var middleware = WebHostTestFactory.Create()) - { - var context = middleware.ServiceProvider.GetRequiredService().HttpContext; - var correlationId = Guid.NewGuid().ToString("N"); - var requestId = Guid.NewGuid().ToString("N"); - - var sut1 = new HttpExceptionDescriptor(oome, message: "Custom non-revealing message.") - { - CorrelationId = correlationId, - RequestId = requestId, - HelpLink = new Uri("https://docs.microsoft.com/en-us/dotnet/api/system.outofmemoryexception") - }; - - sut1.AddEvidence("Request", context.Request, request => new HttpRequestEvidence(request)); - - // TODO: look into IncludeException* and Include equivalents - - var sut2 = new NewtonsoftJsonFormatterOptions() - { - SensitivityDetails = sensitivityDetails - }; - - var dc = sut2.Settings.Converters.SingleOrDefault(jc => jc.CanConvert(typeof(HttpExceptionDescriptor))); - if (dc != null) { sut2.Settings.Converters.Remove(dc); } - sut2.Settings.Converters.AddHttpExceptionDescriptorConverter(o => - { - o.SensitivityDetails = sensitivityDetails; - }); - - Assert.Collection(sut2.Settings.Converters.Where(jc => jc.CanConvert(typeof(HttpExceptionDescriptor))), jc => - { - var result = StreamFactory.Create(writer => - { - var js = JsonSerializer.Create(sut2.Settings); - using (var jsonWriter = new JsonTextWriter(writer)) - { - jsonWriter.CloseOutput = false; - js.Serialize(jsonWriter, sut1); - } - }); - - var json = result.ToEncodedString(); - - Assert.True(jc.CanWrite); - Assert.False(jc.CanRead); - Assert.True(jc.CanConvert(typeof(HttpExceptionDescriptor))); - - Assert.Contains("\"error\":", json); - Assert.Contains("\"status\": 500", json); - Assert.Contains("\"code\": \"InternalServerError\"", json); - Assert.Contains("\"message\": \"Custom non-revealing message.\"", json); - Assert.Contains("\"helpLink\": \"https://docs.microsoft.com/en-us/dotnet/api/system.outofmemoryexception\"", json); - - Assert.Contains($"\"correlationId\": \"{correlationId}\"", json); - Assert.Contains($"\"requestId\": \"{requestId}\"", json); - - Condition.FlipFlop(sensitivityDetails.HasFlag(FaultSensitivityDetails.Failure), () => - { - Assert.Contains("\"failure\":", json); - Assert.Contains("\"type\": \"System.OutOfMemoryException\"", json); - Assert.Contains("\"source\": \"Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json.Tests\"", json); - Assert.Contains("\"message\": \"Insufficient memory to continue the execution of the program.\"", json); - }, () => - { - Assert.DoesNotContain("\"failure\":", json); - Assert.DoesNotContain("\"type\": \"System.OutOfMemoryException\"", json); - Assert.DoesNotContain("\"source\": \"Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json.Tests\"", json); - Assert.DoesNotContain("\"message\": \"Insufficient memory to continue the execution of the program.\"", json); - }); - - Condition.FlipFlop(sensitivityDetails.HasFlag(FaultSensitivityDetails.StackTrace), () => - { - Assert.Contains("\"stack\":", json); - Assert.Contains("\"at Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json.Converters.JsonConverterCollectionExtensionsTest.AddHttpExceptionDescriptorConverter_ShouldAddHttpExceptionDescriptorToConverterCollection", json); - }, () => - { - Assert.DoesNotContain("\"stack\":", json); - Assert.DoesNotContain("\"at Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json.Converters.JsonConverterCollectionExtensionsTest.AddHttpExceptionDescriptorConverter_ShouldAddHttpExceptionDescriptorToConverterCollection", json); - }); - - Condition.FlipFlop(sensitivityDetails.HasFlag(FaultSensitivityDetails.Evidence), () => - { - Assert.Contains("\"evidence\":", json); - Assert.Contains("\"request\":", json); - Assert.Contains("\"location\": \"http:///\"", json); - Assert.Contains("\"method\": \"GET\"", json); - Assert.Contains("\"headers\":", json); - Assert.Contains("\"query\":", json); - Assert.Contains("\"cookies\":", json); - Assert.Contains("\"body\":", json); - }, () => - { - Assert.DoesNotContain("\"evidence\":", json); - }); - - TestOutput.WriteLine(json); - }); - } - } - - [Fact] - public void AddStringValuesConverter_ShouldAddStringValuesConverterToConverterCollection() - { - var sut1 = new StringValues(Arguments.ToArrayOf("This", "is", "a", "test", "!")); - - var sut2 = new NewtonsoftJsonFormatterOptions(); - - var dc = sut2.Settings.Converters.SingleOrDefault(jc => jc.CanConvert(typeof(StringValues))); - if (dc != null) { sut2.Settings.Converters.Remove(dc); } - sut2.Settings.Converters.AddStringValuesConverter(); - - Assert.Collection(sut2.Settings.Converters.Where(jc => jc.CanConvert(typeof(StringValues))), jc => - { - var result = StreamFactory.Create(writer => - { - var js = JsonSerializer.Create(sut2.Settings); - using (var jsonWriter = new JsonTextWriter(writer)) - { - jsonWriter.CloseOutput = false; - js.Serialize(jsonWriter, sut1); - } - }); - - var json = result.ToEncodedString(); - - Assert.True(jc.CanWrite); - Assert.False(jc.CanRead); - Assert.True(jc.CanConvert(typeof(StringValues))); - - Assert.Contains("[", json); - Assert.Contains("\"This\",", json); - Assert.Contains("\"is\"", json); - Assert.Contains("\"a\"", json); - Assert.Contains("\"test\"", json); - Assert.Contains("\"!\"", json); - Assert.Contains("]", json); - - TestOutput.WriteLine(json); - }); - } - - [Fact] - public void AddStringValuesConverter_ShouldAddStringValuesConverterToConverterCollection_OneValue() - { - var sut1 = new StringValues(Arguments.ToArrayOf("This")); - - var sut2 = new NewtonsoftJsonFormatterOptions(); - - var dc = sut2.Settings.Converters.SingleOrDefault(jc => jc.CanConvert(typeof(StringValues))); - if (dc != null) { sut2.Settings.Converters.Remove(dc); } - sut2.Settings.Converters.AddStringValuesConverter(); - - Assert.Collection(sut2.Settings.Converters.Where(jc => jc.CanConvert(typeof(StringValues))).ToList(), jc => - { - var jf = new NewtonsoftJsonFormatter(sut2); - - var result = jf.Serialize(sut1); - - var json = result.ToEncodedString(o => o.LeaveOpen = true); - - TestOutput.WriteLine(json); - - Assert.True(jc.CanConvert(typeof(StringValues))); - - Assert.Equal("\"This\"", json); - }); - } - } -} \ No newline at end of file diff --git a/test/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json.Tests/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json.Tests.csproj b/test/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json.Tests/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json.Tests.csproj deleted file mode 100644 index 083af57ec..000000000 --- a/test/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json.Tests/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json.Tests.csproj +++ /dev/null @@ -1,17 +0,0 @@ - - - - net9.0;net8.0 - Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json - - - - - - - - - - - - diff --git a/test/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json.Tests/JsonSerializationInputFormatterTest.cs b/test/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json.Tests/JsonSerializationInputFormatterTest.cs deleted file mode 100644 index af9a722aa..000000000 --- a/test/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json.Tests/JsonSerializationInputFormatterTest.cs +++ /dev/null @@ -1,88 +0,0 @@ -ο»Ώusing System; -using System.Net.Http; -using System.Text; -using System.Threading.Tasks; -using Cuemon.AspNetCore.Mvc.Filters.Diagnostics; -using Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json.Assets; -using Cuemon.Extensions.IO; -using Cuemon.Extensions.Newtonsoft.Json.Formatters; -using Codebelt.Extensions.Xunit; -using Codebelt.Extensions.Xunit.Hosting.AspNetCore; -using Microsoft.AspNetCore.Builder; -using Microsoft.AspNetCore.Http; -using Microsoft.AspNetCore.TestHost; -using Microsoft.Extensions.DependencyInjection; -using Newtonsoft.Json; -using Xunit; -using Xunit.Abstractions; - -namespace Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json -{ - public class JsonSerializationInputFormatterTest : Test - { - public JsonSerializationInputFormatterTest(ITestOutputHelper output) : base(output) - { - } - - [Fact] - public void Ctor_VerifyThatUtf8AndUtf16_WasAdded_ToSupportedEncodings() - { - var sut = new JsonSerializationInputFormatter(new NewtonsoftJsonFormatterOptions()); - - Assert.Equal(2, sut.SupportedEncodings.Count); - Assert.Collection(sut.SupportedEncodings, - e => Assert.Equal(Encoding.UTF8, e), - e => Assert.Equal(Encoding.Unicode, e)); - } - - [Fact] - public void Ctor_VerifyThatApplicationJsonAndTextJson_WasAdded_ToSupportedMediaTypes() - { - var sut = new JsonSerializationInputFormatter(new NewtonsoftJsonFormatterOptions()); - - Assert.Equal(3, sut.SupportedMediaTypes.Count); - Assert.Collection(sut.SupportedMediaTypes, - s => Assert.Contains("application/json", s), - s => Assert.Contains("text/json", s), - s => Assert.Contains("application/problem+json", s)); - } - - [Fact] - public async Task ReadRequestBodyAsync_ShouldReturnCreated() - { - using (var filter = WebHostTestFactory.Create(services => - { - services.AddControllers(o => { o.Filters.Add(); }) - .AddApplicationPart(typeof(FakeController).Assembly) - .AddNewtonsoftJsonFormatters(o => o.Settings.DateFormatString = "yyyy'-'MM'-'dd'T'HH':'mm':'ss'.'fffffffK"); // default ISO8601 (ToString("O") - }, app => - { - app.UseRouting(); - app.UseEndpoints(routes => { routes.MapControllers(); }); - })) - { - var wf = new WeatherForecast(); - var formatter = new NewtonsoftJsonFormatter(o => - { - o.Settings.DateFormatString = "yyyy'-'MM'-'dd'T'HH':'mm':'ss'.'fffffffK"; // default ISO8601 (ToString("O") - o.Settings.Formatting = Formatting.Indented; - }); - var stream = formatter.Serialize(wf); - var client = filter.Host.GetTestClient(); - - var result = await client.PostAsync("/fake", new StringContent(stream.ToEncodedString(o => o.LeaveOpen = true), Encoding.UTF8, "application/json")); - var model = await result.Content.ReadAsStringAsync(); - - TestOutput.WriteLine(stream.ToEncodedString(o => o.LeaveOpen = true)); - TestOutput.WriteLine("---"); - TestOutput.WriteLine(model); - - Assert.Equal(stream.ToEncodedString(), model, ignoreLineEndingDifferences: true); - - Assert.Equal(StatusCodes.Status201Created, (int)result.StatusCode); - Assert.Equal(HttpMethod.Post, result.RequestMessage.Method); - Assert.Equal(new Uri("http://localhost/fake"), result.RequestMessage.RequestUri); - } - } - } -} \ No newline at end of file diff --git a/test/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json.Tests/JsonSerializationOutputFormatterTest.cs b/test/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json.Tests/JsonSerializationOutputFormatterTest.cs deleted file mode 100644 index 1c5e4cd76..000000000 --- a/test/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json.Tests/JsonSerializationOutputFormatterTest.cs +++ /dev/null @@ -1,78 +0,0 @@ -ο»Ώusing System.Net.Http; -using System.Text; -using System.Threading.Tasks; -using Cuemon.AspNetCore.Mvc.Filters.Diagnostics; -using Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json.Assets; -using Cuemon.Extensions.Newtonsoft.Json.Formatters; -using Codebelt.Extensions.Xunit; -using Codebelt.Extensions.Xunit.Hosting.AspNetCore; -using Microsoft.AspNetCore.Builder; -using Microsoft.AspNetCore.Http; -using Microsoft.AspNetCore.TestHost; -using Microsoft.Extensions.DependencyInjection; -using Xunit; -using Xunit.Abstractions; - -namespace Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json -{ - public class JsonSerializationOutputFormatterTest : Test - { - public JsonSerializationOutputFormatterTest(ITestOutputHelper output) : base(output) - { - } - - [Fact] - public void Ctor_VerifyThatUtf8AndUtf16_WasAdded_ToSupportedEncodings() - { - var sut = new JsonSerializationOutputFormatter(new NewtonsoftJsonFormatterOptions()); - - Assert.Equal(2, sut.SupportedEncodings.Count); - Assert.Collection(sut.SupportedEncodings, - e => Assert.Equal(Encoding.UTF8, e), - e => Assert.Equal(Encoding.Unicode, e)); - } - - [Fact] - public void Ctor_VerifyThatApplicationJsonAndTextJson_WasAdded_ToSupportedMediaTypes() - { - var sut = new JsonSerializationOutputFormatter(new NewtonsoftJsonFormatterOptions()); - - Assert.Equal(3, sut.SupportedMediaTypes.Count); - Assert.Collection(sut.SupportedMediaTypes, - s => Assert.Contains("application/json", s), - s => Assert.Contains("text/json", s), - s => Assert.Contains("application/problem+json", s)); - } - - [Fact] - public async Task WriteResponseBodyAsync_ShouldReturnOk() - { - using (var filter = WebHostTestFactory.Create(services => - { - services.AddControllers(o => { o.Filters.Add(); }) - .AddApplicationPart(typeof(FakeController).Assembly) - .AddNewtonsoftJsonFormatters(); - }, app => - { - app.UseRouting(); - app.UseEndpoints(routes => { routes.MapControllers(); }); - })) - { - var client = filter.Host.GetTestClient(); - - var result = await client.GetAsync("/fake"); - var model = await result.Content.ReadAsStringAsync(); - - TestOutput.WriteLine(model); - - Assert.Contains("\"date\":", model); - Assert.Contains("\"temperatureC\":", model); - Assert.Contains("\"temperatureF\":", model); - Assert.Contains("\"summary\":", model); - - Assert.Equal(StatusCodes.Status200OK, (int)result.StatusCode); - Assert.Equal(HttpMethod.Get, result.RequestMessage.Method); - } - } - } -} \ No newline at end of file diff --git a/test/Cuemon.Extensions.Newtonsoft.Json.Tests/Converters/JsonConverterCollectionExtensionsTest.cs b/test/Cuemon.Extensions.Newtonsoft.Json.Tests/Converters/JsonConverterCollectionExtensionsTest.cs deleted file mode 100644 index 39511792e..000000000 --- a/test/Cuemon.Extensions.Newtonsoft.Json.Tests/Converters/JsonConverterCollectionExtensionsTest.cs +++ /dev/null @@ -1,274 +0,0 @@ -ο»Ώusing System; -using System.Linq; -using Cuemon.Diagnostics; -using Cuemon.Extensions.IO; -using Cuemon.Extensions.Newtonsoft.Json.Formatters; -using Codebelt.Extensions.Xunit; -using Cuemon.IO; -using Newtonsoft.Json; -using Newtonsoft.Json.Serialization; -using Xunit; -using Xunit.Abstractions; - -namespace Cuemon.Extensions.Newtonsoft.Json.Converters -{ - public class JsonConverterCollectionExtensionsTest : Test - { - public JsonConverterCollectionExtensionsTest(ITestOutputHelper output) : base(output) - { - } - - [Fact] - public void AddStringEnumConverter_ShouldAddStringEnumConverterToConverterCollection_WithPascalCase() - { - var sut1 = HorizontalDirection.Left; - var sut2 = new NewtonsoftJsonFormatterOptions(); - sut2.Settings.ContractResolver = new DefaultContractResolver(); - sut2.Settings.Converters.Clear(); - sut2.Settings.Converters.AddStringEnumConverter(new DefaultNamingStrategy()); - - Assert.Collection(sut2.Settings.Converters.Where(jc => jc.CanConvert(sut1.GetType())), jc => - { - var result = StreamFactory.Create(writer => - { - var js = JsonSerializer.Create(sut2.Settings); - using (var jsonWriter = new JsonTextWriter(writer)) - { - jsonWriter.CloseOutput = false; - js.Serialize(jsonWriter, sut1); - } - }); - - var json = result.ToEncodedString(); - - Assert.True(jc.CanWrite); - Assert.True(jc.CanRead); - Assert.True(jc.CanConvert(typeof(HorizontalDirection))); - Assert.Equal("\"Left\"", json); - - TestOutput.WriteLine(json); - }); - } - - [Fact] - public void AddStringFlagsEnumConverter_ShouldAddStringFlagsEnumConverterToConverterCollection_WithPascalCase() - { - var sut1 = GuidFormats.N | GuidFormats.X; - var sut2 = new NewtonsoftJsonFormatterOptions(); - sut2.Settings.ContractResolver = new DefaultContractResolver(); - sut2.Settings.Converters.Clear(); - sut2.Settings.Converters.AddStringFlagsEnumConverter(new DefaultNamingStrategy()); - - Assert.Collection(sut2.Settings.Converters.Where(jc => jc.CanConvert(sut1.GetType())), jc => - { - var result = StreamFactory.Create(writer => - { - var js = JsonSerializer.Create(sut2.Settings); - using (var jsonWriter = new JsonTextWriter(writer)) - { - jsonWriter.CloseOutput = false; - js.Serialize(jsonWriter, sut1); - } - }); - - var json = result.ToEncodedString(); - - Assert.True(jc.CanWrite); - Assert.True(jc.CanRead); - Assert.True(jc.CanConvert(typeof(GuidFormats))); - Assert.Contains("[", json); - Assert.Contains("\"N\",", json); - Assert.Contains("\"X\"", json); - Assert.Contains("]", json); - - TestOutput.WriteLine(json); - }); - } - - [Fact] - public void AddStringEnumConverter_ShouldAddStringEnumConverterToConverterCollection() - { - var sut1 = HorizontalDirection.Left; - var sut2 = new NewtonsoftJsonFormatterOptions(); - sut2.Settings.Converters.Clear(); - sut2.Settings.Converters.AddStringEnumConverter(); - - Assert.Collection(sut2.Settings.Converters.Where(jc => jc.CanConvert(sut1.GetType())), jc => - { - var result = StreamFactory.Create(writer => - { - var js = JsonSerializer.Create(sut2.Settings); - using (var jsonWriter = new JsonTextWriter(writer)) - { - jsonWriter.CloseOutput = false; - js.Serialize(jsonWriter, sut1); - } - }); - - var json = result.ToEncodedString(); - - Assert.True(jc.CanWrite); - Assert.True(jc.CanRead); - Assert.True(jc.CanConvert(typeof(HorizontalDirection))); - Assert.Equal("\"left\"", json); - - TestOutput.WriteLine(json); - }); - } - - [Fact] - public void AddStringFlagsEnumConverter_ShouldAddStringFlagsEnumConverterToConverterCollection() - { - var sut1 = GuidFormats.N | GuidFormats.X; - var sut2 = new NewtonsoftJsonFormatterOptions(); - sut2.Settings.Converters.Clear(); - sut2.Settings.Converters.AddStringFlagsEnumConverter(); - - Assert.Collection(sut2.Settings.Converters.Where(jc => jc.CanConvert(sut1.GetType())), jc => - { - var result = StreamFactory.Create(writer => - { - var js = JsonSerializer.Create(sut2.Settings); - using (var jsonWriter = new JsonTextWriter(writer)) - { - jsonWriter.CloseOutput = false; - js.Serialize(jsonWriter, sut1); - } - }); - - var json = result.ToEncodedString(); - - Assert.True(jc.CanWrite); - Assert.True(jc.CanRead); - Assert.True(jc.CanConvert(typeof(GuidFormats))); - Assert.Contains("[", json); - Assert.Contains("\"n\",", json); - Assert.Contains("\"x\"", json); - Assert.Contains("]", json); - - TestOutput.WriteLine(json); - }); - } - - [Theory] - [InlineData(FaultSensitivityDetails.All)] - [InlineData(FaultSensitivityDetails.None)] - public void AddExceptionDescriptorConverter_ShouldAddExceptionDescriptorConverterToConverterCollection_AndMakeUseOfIncludeOptions(FaultSensitivityDetails sensitivityDetails) - { - InsufficientMemoryException ime = null; - try - { - throw new InsufficientMemoryException(); - } - catch (InsufficientMemoryException e) - { - ime = e; - } - - var sut1 = new ExceptionDescriptor(ime, "NoMemory", "System has exhausted memory.", new Uri("https://docs.microsoft.com/en-us/dotnet/api/system.insufficientmemoryexception")); - sut1.AddEvidence("CorrelationId", Guid.Empty, correlationId => correlationId.ToString("N")); - - var sut2 = new NewtonsoftJsonFormatterOptions() - { - SensitivityDetails = sensitivityDetails - }; - - sut2.Settings.Converters.AddExceptionDescriptorConverterOf(o => - { - o.SensitivityDetails = sensitivityDetails; - }); - - Assert.Collection(sut2.Settings.Converters.Where(jc => jc.CanConvert(typeof(ExceptionDescriptor))), jc => - { - var result = StreamFactory.Create(writer => - { - var js = JsonSerializer.Create(sut2.Settings); - using (var jsonWriter = new JsonTextWriter(writer)) - { - jsonWriter.CloseOutput = false; - js.Serialize(jsonWriter, sut1); - } - }); - - var json = result.ToEncodedString(); - - Assert.True(jc.CanWrite); - Assert.False(jc.CanRead); - Assert.True(jc.CanConvert(typeof(ExceptionDescriptor))); - Assert.Contains("\"error\":", json); - Assert.Contains("\"code\": \"NoMemory\"", json); - Assert.Contains("\"message\": \"System has exhausted memory.\"", json); - Assert.Contains("\"helpLink\": \"https://docs.microsoft.com/en-us/dotnet/api/system.insufficientmemoryexception\"", json); - - Condition.FlipFlop(sensitivityDetails.HasFlag(FaultSensitivityDetails.Failure), () => - { - Assert.Contains("\"failure\":", json); - Assert.Contains("\"type\": \"System.InsufficientMemoryException\"", json); - Assert.Contains("\"source\": \"Cuemon.Extensions.Newtonsoft.Json.Tests\"", json); - Assert.Contains("\"message\": \"Insufficient memory to continue the execution of the program.\"", json); - }, () => - { - Assert.DoesNotContain("\"failure\":", json); - Assert.DoesNotContain("\"type\": \"System.InsufficientMemoryException\"", json); - Assert.DoesNotContain("\"source\": \"Cuemon.Extensions.Newtonsoft.Json.Tests\"", json); - Assert.DoesNotContain("\"message\": \"Insufficient memory to continue the execution of the program.\"", json); - }); - - Condition.FlipFlop(sensitivityDetails.HasFlag(FaultSensitivityDetails.StackTrace), () => - { - Assert.Contains("\"stack\":", json); - Assert.Contains("\"at Cuemon.Extensions.Newtonsoft.Json.Converters.JsonConverterCollectionExtensionsTest.AddExceptionDescriptorConverter_ShouldAddExceptionDescriptorConverterToConverterCollection", json); - }, () => - { - Assert.DoesNotContain("\"stack\":", json); - Assert.DoesNotContain("\"at Cuemon.Extensions.Newtonsoft.Json.Converters.JsonConverterCollectionExtensionsTest.AddExceptionDescriptorConverter_ShouldAddExceptionDescriptorConverterToConverterCollection", json); - }); - - Condition.FlipFlop(sensitivityDetails.HasFlag(FaultSensitivityDetails.Evidence), () => - { - Assert.Contains("\"evidence\":", json); - Assert.Contains("\"correlationId\": \"00000000000000000000000000000000\"", json); - }, () => - { - Assert.DoesNotContain("\"evidence\":", json); - Assert.DoesNotContain("\"correlationId\": \"00000000000000000000000000000000\"", json); - }); - - TestOutput.WriteLine(json); - }); - } - - [Fact] - public void AddDataPairConverter_ShouldAddDataPairConverterToConverterCollection() - { - var sut1 = new DataPair("AnswerToEverything", 42); - var sut2 = new NewtonsoftJsonFormatterOptions(); - sut2.Settings.Converters.Clear(); - sut2.Settings.Converters.AddDataPairConverter(); - - Assert.Collection(sut2.Settings.Converters.Where(jc => jc.CanConvert(typeof(DataPair))), jc => - { - var result = StreamFactory.Create(writer => - { - var js = JsonSerializer.Create(sut2.Settings); - using (var jsonWriter = new JsonTextWriter(writer)) - { - jsonWriter.CloseOutput = false; - js.Serialize(jsonWriter, sut1); - } - }); - - var json = result.ToEncodedString(); - - Assert.True(jc.CanWrite); - Assert.False(jc.CanRead); - Assert.True(jc.CanConvert(typeof(DataPair))); - Assert.Contains("\"name\": \"AnswerToEverything\"", json); - Assert.Contains("\"value\": 42", json); - Assert.Contains("\"type\": \"Int32\"", json); - - TestOutput.WriteLine(json); - }); - } - } -} \ No newline at end of file diff --git a/test/Cuemon.Extensions.Newtonsoft.Json.Tests/Cuemon.Extensions.Newtonsoft.Json.Tests.csproj b/test/Cuemon.Extensions.Newtonsoft.Json.Tests/Cuemon.Extensions.Newtonsoft.Json.Tests.csproj deleted file mode 100644 index e1bd75ad5..000000000 --- a/test/Cuemon.Extensions.Newtonsoft.Json.Tests/Cuemon.Extensions.Newtonsoft.Json.Tests.csproj +++ /dev/null @@ -1,17 +0,0 @@ - - - - Cuemon.Extensions.Newtonsoft.Json - - - - - - - - - - - - - \ No newline at end of file diff --git a/test/Cuemon.Extensions.Newtonsoft.Json.Tests/Formatters/NewtonsoftJsonFormatterOptionsTest.cs b/test/Cuemon.Extensions.Newtonsoft.Json.Tests/Formatters/NewtonsoftJsonFormatterOptionsTest.cs deleted file mode 100644 index 601dfe933..000000000 --- a/test/Cuemon.Extensions.Newtonsoft.Json.Tests/Formatters/NewtonsoftJsonFormatterOptionsTest.cs +++ /dev/null @@ -1,85 +0,0 @@ -ο»Ώusing System; -using System.Collections.Generic; -using System.Linq; -using Cuemon.Diagnostics; -using Codebelt.Extensions.Xunit; -using Cuemon.Reflection; -using Newtonsoft.Json; -using Xunit; -using Xunit.Abstractions; - -namespace Cuemon.Extensions.Newtonsoft.Json.Formatters -{ - public class NewtonsoftJsonFormatterOptionsTest : Test - { - public NewtonsoftJsonFormatterOptionsTest(ITestOutputHelper output) : base(output) - { - } - - [Fact] - public void JsonFormatterOptions_SettingsIsNull_ShouldThrowInvalidOperationException() - { - var sut1 = new NewtonsoftJsonFormatterOptions() - { - Settings = null - }; - var sut2 = Assert.Throws(() => sut1.ValidateOptions()); - var sut3 = Assert.Throws(() => Validator.ThrowIfInvalidOptions(sut1)); - - Assert.Equal("Operation is not valid due to the current state of the object. (Expression 'Settings == null')", sut2.Message); - Assert.StartsWith($"{nameof(NewtonsoftJsonFormatterOptions)} are not in a valid state.", sut3.Message); - Assert.Contains("sut1", sut3.Message); - Assert.IsType(sut3.InnerException); - } - - [Fact] - public void JsonFormatterOptions_SupportedMediaTypesIsNull_ShouldThrowInvalidOperationException() - { - var sut1 = new NewtonsoftJsonFormatterOptions() - { - SupportedMediaTypes = null - }; - var sut2 = Assert.Throws(() => sut1.ValidateOptions()); - var sut3 = Assert.Throws(() => Validator.ThrowIfInvalidOptions(sut1)); - - Assert.Equal("Operation is not valid due to the current state of the object. (Expression 'SupportedMediaTypes == null')", sut2.Message); - Assert.StartsWith($"{nameof(NewtonsoftJsonFormatterOptions)} are not in a valid state.", sut3.Message); - Assert.Contains("sut1", sut3.Message); - Assert.IsType(sut3.InnerException); - } - - [Fact] - public void JsonFormatterOptions_ShouldHaveDefaultValues() - { - var sut = new NewtonsoftJsonFormatterOptions(); - - Assert.NotNull(sut.Settings); - Assert.NotNull(sut.SupportedMediaTypes); - Assert.Equal(FaultSensitivityDetails.None, sut.SensitivityDetails); - Assert.False(sut.SynchronizeWithJsonConvert); - } - - [Fact] - public void DefaultConverters_ShouldHaveSameAmountOfDefaultConverters() - { - var defaultConverters = new List(); - NewtonsoftJsonFormatterOptions.DefaultConverters(defaultConverters); - - var x = new NewtonsoftJsonFormatterOptions(); - var y = new NewtonsoftJsonFormatterOptions(); - var bootstrapInvocationList = NewtonsoftJsonFormatterOptions.DefaultConverters.GetInvocationList().Length; - - x.GetType().GetMethod("RefreshWithConverterDependencies", MemberReflection.Everything).Invoke(x, new object[] { }); - y.GetType().GetMethod("RefreshWithConverterDependencies", MemberReflection.Everything).Invoke(y, new object[] { }); - - Assert.Equal(5, defaultConverters.Count); - Assert.Equal(1, bootstrapInvocationList); - Assert.Equal(2, x.Settings.Converters.Count - defaultConverters.Count); - Assert.Equal(2, y.Settings.Converters.Count - defaultConverters.Count); - - Assert.Equal(x.Settings.Converters.Count, y.Settings.Converters.Count); - - Assert.Equal(NewtonsoftJsonFormatterOptions.DefaultMediaType, x.SupportedMediaTypes.First()); - } - } -} diff --git a/test/Cuemon.Extensions.Newtonsoft.Json.Tests/Formatters/NewtonsoftJsonFormatterTest.cs b/test/Cuemon.Extensions.Newtonsoft.Json.Tests/Formatters/NewtonsoftJsonFormatterTest.cs deleted file mode 100644 index 247e25106..000000000 --- a/test/Cuemon.Extensions.Newtonsoft.Json.Tests/Formatters/NewtonsoftJsonFormatterTest.cs +++ /dev/null @@ -1,147 +0,0 @@ -ο»Ώusing System; -using System.IO; -using System.Linq; -using System.Reflection; -using System.Threading; -using Cuemon.Diagnostics; -using Cuemon.Extensions.IO; -using Codebelt.Extensions.Xunit; -using Newtonsoft.Json.Serialization; -using Xunit; -using Xunit.Abstractions; - -namespace Cuemon.Extensions.Newtonsoft.Json.Formatters -{ - public class NewtonsoftJsonFormatterTest : Test - { - public NewtonsoftJsonFormatterTest(ITestOutputHelper output) : base(output) - { - } - - [Fact] - public void DeserializeObject_ShouldBeEquivalentToOriginal_BindingFlags() - { - var sut1 = BindingFlags.DeclaredOnly; - - TestOutput.WriteLine(sut1.ToString()); - - var json = NewtonsoftJsonFormatter.SerializeObject(sut1); - - TestOutput.WriteLine(json.ToEncodedString(o => o.LeaveOpen = true)); - - var sut2 = NewtonsoftJsonFormatter.DeserializeObject(json); - - Assert.Equal(sut1, sut2); - } - - [Fact] - public void DeserializeObject_ShouldBeEquivalentToOriginal_UriScheme() - { - var sut1 = UriScheme.Https; - - TestOutput.WriteLine(sut1.ToString()); - - var json = NewtonsoftJsonFormatter.SerializeObject(sut1); - - TestOutput.WriteLine(json.ToEncodedString(o => o.LeaveOpen = true)); - - var sut2 = NewtonsoftJsonFormatter.DeserializeObject(json); - - Assert.Equal(sut1, sut2); - } - - [Fact] - public void DeserializeObject_ShouldBeEquivalentToOriginal_TimeSpan() - { - var sut1 = TimeSpan.Parse("01:12:05"); - - TestOutput.WriteLine(sut1.ToString()); - - var json = NewtonsoftJsonFormatter.SerializeObject(sut1); - - TestOutput.WriteLine(json.ToEncodedString(o => o.LeaveOpen = true)); - - var sut2 = NewtonsoftJsonFormatter.DeserializeObject(json); - - Assert.Equal(sut1, sut2); - } - - [Fact] - public void SerializeObject_ShouldBeEquivalentToOriginal_String() - { - var sut1 = "\"01:12:05\""; - - TestOutput.WriteLine(sut1); - - var timeSpan = NewtonsoftJsonFormatter.DeserializeObject(sut1.ToStream()); - - TestOutput.WriteLine(timeSpan.ToString()); - - var sut2 = NewtonsoftJsonFormatter.SerializeObject(timeSpan); - - Assert.Equal(sut1, sut2.ToEncodedString()); - } - - [Fact] - public void Deserialize_ShouldBeEquivalentToOriginal_DateTime() - { - var sut = DateTime.Parse("2022-06-26T22:39:14.3512950Z").ToUniversalTime(); - TestOutput.WriteLine(sut.ToString("O")); - - var formatter = new NewtonsoftJsonFormatter(o => o.Settings.DateFormatString = "yyyy'-'MM'-'dd'T'HH':'mm':'ss'.'fffffffK"); - var serializedStream = formatter.Serialize(sut); - - var sutAsIso8601String = serializedStream.ToEncodedString(o => o.LeaveOpen = true); - - TestOutput.WriteLine(sutAsIso8601String); // note: trailing zeros stay true the formatter specification and do not omit anything - - var deserializedDt = formatter.Deserialize(serializedStream); - - TestOutput.WriteLine(deserializedDt.ToString("O")); - - Assert.Equal(@$"""{sut.ToString("O")}""", sutAsIso8601String); - Assert.Equal(sut, deserializedDt); - } - - [Fact] - public void Serialize_ShouldSerializeUsingExceptionConverter_WithPascalCase() - { - try - { - throw new OutOfMemoryException("First", new AggregateException(new AccessViolationException("I1"), new AbandonedMutexException("I2"), new ArithmeticException("I3"))); - } - catch (Exception e) - { - e.Data.Add("Cuemon", "XmlFormatterTest"); - var f = new NewtonsoftJsonFormatter(o => - { - o.Settings.ContractResolver = new DefaultContractResolver(); - o.SensitivityDetails = FaultSensitivityDetails.FailureWithStackTraceAndData; - }); - var r = f.Serialize(e); - - TestOutput.WriteLine(r.ToEncodedString(o => o.LeaveOpen = true)); - - var x = new StreamReader(r).ReadAllLines().ToList(); - Assert.Contains(e.Data.Keys.Cast(), s => s.Equals("Cuemon")); - Assert.Contains(e.Data.Values.Cast(), s => s.Equals("XmlFormatterTest")); - Assert.Equal("{", x[0]); - Assert.Contains("\"Type\": \"System.OutOfMemoryException\"", x[1]); - Assert.Contains("\"Source\": \"Cuemon.Extensions.Newtonsoft.Json.Tests\"", x[2]); - Assert.Contains("\"Message\": \"First\"", x[3]); - Assert.Contains("\"Stack\": [", x[4]); - Assert.Contains("at Cuemon.Extensions.Newtonsoft.Json.Formatters.NewtonsoftJsonFormatterTest", x[5]); - Assert.Contains("\"Data\": {", x[7]); - Assert.Contains("\"Cuemon\": \"XmlFormatterTest\"", x[8]); - Assert.Contains("},", x[9]); - Assert.Contains("\"Inner\": {", x[10]); - Assert.Contains("\"Type\": \"System.AggregateException\",", x[11]); - Assert.Contains("\"Type\": \"System.AccessViolationException\"", x[14]); - Assert.Contains("\"Type\": \"System.Threading.AbandonedMutexException\"", x[17]); - Assert.Contains("\"Type\": \"System.ArithmeticException\"", x[21]); - - r.Dispose(); - } - } - } -} \ No newline at end of file diff --git a/test/Cuemon.Extensions.Newtonsoft.Json.Tests/JDataTest.cs b/test/Cuemon.Extensions.Newtonsoft.Json.Tests/JDataTest.cs deleted file mode 100644 index e4ceb1c81..000000000 --- a/test/Cuemon.Extensions.Newtonsoft.Json.Tests/JDataTest.cs +++ /dev/null @@ -1,125 +0,0 @@ -ο»Ώusing System; -using System.Linq; -using System.Threading; -using Cuemon.Extensions.IO; -using Cuemon.Extensions.Newtonsoft.Json.Formatters; -using Codebelt.Extensions.Xunit; -using Newtonsoft.Json.Serialization; -using Xunit; -using Xunit.Abstractions; - -namespace Cuemon.Extensions.Newtonsoft.Json -{ - public class JDataTest : Test - { - public JDataTest(ITestOutputHelper output) : base(output) - { - } - - [Fact] - public void ReadAll_PrimitiveValuesShouldBeCompliantWithRfc7159() - { - object[] primitives = { "null", 1, 2, 3, 4, 5, 6, 7, 8, 9, "\"cuemon\"", false, true, 100.4 }; - - foreach (var p in primitives) - { - var f = new NewtonsoftJsonFormatter(); - var r = f.Serialize(p); - - var x0 = JData.ReadAll(r, o => o.LeaveOpen = true); - - TestOutput.WriteLine(DelimitedString.Create(x0, o => o.Delimiter = Environment.NewLine)); - TestOutput.WriteLine(r.ToEncodedString()); - } - } - - [Fact] - public void ReadAll_ShouldReadSimpleObject() - { - var e = new ArgumentException("The amazing message of this exception.", "fakeArg"); - var f = new NewtonsoftJsonFormatter(); - var r = f.Serialize(e); - var x0 = JData.ReadAll(r, o => o.LeaveOpen = true); - - TestOutput.WriteLine(DelimitedString.Create(x0, o => o.Delimiter = Environment.NewLine)); - - TestOutput.WriteLine(r.ToEncodedString()); - } - - [Fact] - public void ReadAll_ShouldReadSimpleArray() - { - var a = Generate.RangeOf(50, i => i); - var f = new NewtonsoftJsonFormatter(); - var r = f.Serialize(a); - var x0 = JData.ReadAll(r, o => o.LeaveOpen = true).ToList(); - - for (var i = 0; i < 50; i++) - { - Assert.Equal(Convert.ChangeType(i, x0[i].Type), x0[i].Value); // should be int32 - but Newtonsoft resolves it as int64 - } - - TestOutput.WriteLine(r.ToEncodedString()); - } - - [Fact] - public void ReadAll_ShouldHaveOuterAndNestedExceptionsBothHierarchyAndFlattened_WithPascalCase() - { - var e = new OutOfMemoryException("First", new AggregateException(new AccessViolationException("I1"), new AbandonedMutexException("I2"), new ArithmeticException("I3"))); - var f = new NewtonsoftJsonFormatter(o => - { - o.Settings.ContractResolver = new DefaultContractResolver(); - }); - var r = f.Serialize(e); - var x0 = JData.ReadAll(r, o => o.LeaveOpen = true); - var x1 = x0.Last(r => r.Children.Any()).Children; - var x2 = x1.Last(r => r.Children.Any()).Children; - var x3 = x2.Last(r => r.Children.Any()).Children; - var x4 = x3.Last(r => r.Children.Any()).Children; - var xFlat = x0.Flatten().ToList(); - - TestOutput.WriteLine(DelimitedString.Create(xFlat, o => o.Delimiter = Environment.NewLine)); - TestOutput.WriteLine(""); - TestOutput.WriteLine(r.ToEncodedString()); - - Assert.Equal(3, x0.Count()); - Assert.Equal(3, x1.Count); - Assert.Equal(3, x2.Count); - Assert.Equal(4, x3.Count); - Assert.Equal(2, x4.Count); - - Assert.Equal("System.OutOfMemoryException", x0.Single(result => result.PropertyName == "Type").Value); - Assert.Equal("First", x0.Single(result => result.PropertyName == "Message").Value); - Assert.Equal("System.AggregateException", x1.Single(result => result.PropertyName == "Type").Value); -#if NET48_OR_GREATER - Assert.Equal("One or more errors occurred.", x1.Single(result => result.PropertyName == "Message").Value); -#else - Assert.Equal("One or more errors occurred. (I1) (I2) (I3)", x1.Single(result => result.PropertyName == "Message").Value); -#endif - Assert.Equal("System.AccessViolationException", x2.Single(result => result.PropertyName == "Type").Value); - Assert.Equal("I1", x2.Single(result => result.PropertyName == "Message").Value); - Assert.Equal("System.Threading.AbandonedMutexException", x3.Single(result => result.PropertyName == "Type").Value); - Assert.Equal("I2", x3.Single(result => result.PropertyName == "Message").Value); - var x3jdr = x3.Single(result => result.PropertyName == "MutexIndex"); - Assert.Equal(Convert.ChangeType(-1, x3jdr.Type), x3jdr.Value); // should be int32 - but Newtonsoft resolves it as int64 - Assert.Equal("System.ArithmeticException", x4.Single(result => result.PropertyName == "Type").Value); - Assert.Equal("I3", x4.Single(result => result.PropertyName == "Message").Value); - - Assert.Equal("System.OutOfMemoryException", xFlat[0].Value); - Assert.Equal("First", xFlat[1].Value); - Assert.Equal("System.AggregateException", xFlat[3].Value); -#if NET48_OR_GREATER - Assert.Equal("One or more errors occurred.", xFlat[4].Value); -#else - Assert.Equal("One or more errors occurred. (I1) (I2) (I3)", xFlat[4].Value); -#endif - Assert.Equal("System.AccessViolationException", xFlat[6].Value); - Assert.Equal("I1", xFlat[7].Value); - Assert.Equal("System.Threading.AbandonedMutexException", xFlat[9].Value); - Assert.Equal("I2", xFlat[10].Value); - Assert.Equal(Convert.ChangeType(-1, xFlat[11].Type), xFlat[11].Value); // should be int32 - but Newtonsoft resolves it as int64 - Assert.Equal("System.ArithmeticException", xFlat[13].Value); - Assert.Equal("I3", xFlat[14].Value); - } - } -} \ No newline at end of file diff --git a/test/Cuemon.Extensions.Newtonsoft.Json.Tests/Serialization/ContractResolverExtensionsTest.cs b/test/Cuemon.Extensions.Newtonsoft.Json.Tests/Serialization/ContractResolverExtensionsTest.cs deleted file mode 100644 index 9cf97b287..000000000 --- a/test/Cuemon.Extensions.Newtonsoft.Json.Tests/Serialization/ContractResolverExtensionsTest.cs +++ /dev/null @@ -1,213 +0,0 @@ -ο»Ώusing System; -using Cuemon.Extensions.IO; -using Cuemon.Extensions.Newtonsoft.Json.Formatters; -using Codebelt.Extensions.Xunit; -using Newtonsoft.Json; -using Newtonsoft.Json.Serialization; -using Xunit; -using Xunit.Abstractions; - -namespace Cuemon.Extensions.Newtonsoft.Json.Serialization -{ - public class ContractResolverExtensionsTest : Test - { - private readonly JsonConverter _tsConverter = DynamicJsonConverter.Create((writer, value, serializer) => - { - writer.WriteStartObject(); - writer.WritePropertyName("Ticks", serializer); - writer.WriteValue(value.Ticks); - writer.WritePropertyName("Days", serializer); - writer.WriteValue(value.Days); - writer.WritePropertyName("Hours", serializer); - writer.WriteValue(value.Hours); - writer.WritePropertyName("Minutes", serializer); - writer.WriteValue(value.Minutes); - writer.WritePropertyName("Seconds", serializer); - writer.WriteValue(value.Seconds); - writer.WritePropertyName("TotalDays", serializer); - writer.WriteValue(value.TotalDays); - writer.WritePropertyName("TotalHours", serializer); - writer.WriteValue(value.TotalHours); - writer.WritePropertyName("TotalMilliseconds", serializer); - writer.WriteValue(value.TotalMilliseconds); - writer.WritePropertyName("TotalMinutes", serializer); - writer.WriteValue(value.TotalMinutes); - writer.WritePropertyName("TotalSeconds", serializer); - writer.WriteValue(value.TotalSeconds); - writer.WriteEndObject(); - }); - - public ContractResolverExtensionsTest(ITestOutputHelper output) : base(output) - { - } - - [Fact] - public void ResolveNamingStrategyOrDefault_ShouldResolveDefaultNamingStrategy() - { - var sut1 = TimeSpan.MaxValue; - var sut2 = new NewtonsoftJsonFormatter(o => - { - o.Settings.Converters.Add(_tsConverter); - o.Settings.ContractResolver = new DefaultContractResolver(); - }); - var json = sut2.Serialize(sut1).ToEncodedString(); - - TestOutput.WriteLine(json); - - Assert.IsType(sut2.Options.Settings.ContractResolver.ResolveNamingStrategyOrDefault()); -#if NET48_OR_GREATER - Assert.Equal(@"{ - ""Ticks"": 9223372036854775807, - ""Days"": 10675199, - ""Hours"": 2, - ""Minutes"": 48, - ""Seconds"": 5, - ""TotalDays"": 10675199.116730064, - ""TotalHours"": 256204778.80152154, - ""TotalMilliseconds"": 922337203685477.0, - ""TotalMinutes"": 15372286728.091293, - ""TotalSeconds"": 922337203685.47754 -}".ReplaceLineEndings(), json); -#else - Assert.Equal(@"{ - ""Ticks"": 9223372036854775807, - ""Days"": 10675199, - ""Hours"": 2, - ""Minutes"": 48, - ""Seconds"": 5, - ""TotalDays"": 10675199.116730064, - ""TotalHours"": 256204778.80152154, - ""TotalMilliseconds"": 922337203685477.0, - ""TotalMinutes"": 15372286728.091293, - ""TotalSeconds"": 922337203685.4775 -}".ReplaceLineEndings(), json); -#endif - } - - [Fact] - public void ResolveNamingStrategyOrDefault_ShouldResolveCamelCaseNamingStrategy() - { - var sut1 = TimeSpan.MaxValue; - var sut2 = new NewtonsoftJsonFormatter(o => o.Settings.Converters.Add(_tsConverter)); - var json = sut2.Serialize(sut1).ToEncodedString(); - - TestOutput.WriteLine(json); - - Assert.IsType(sut2.Options.Settings.ContractResolver.ResolveNamingStrategyOrDefault()); - -#if NET48_OR_GREATER - Assert.Equal(@"{ - ""ticks"": 9223372036854775807, - ""days"": 10675199, - ""hours"": 2, - ""minutes"": 48, - ""seconds"": 5, - ""totalDays"": 10675199.116730064, - ""totalHours"": 256204778.80152154, - ""totalMilliseconds"": 922337203685477.0, - ""totalMinutes"": 15372286728.091293, - ""totalSeconds"": 922337203685.47754 -}".ReplaceLineEndings(), json); -#else - Assert.Equal(@"{ - ""ticks"": 9223372036854775807, - ""days"": 10675199, - ""hours"": 2, - ""minutes"": 48, - ""seconds"": 5, - ""totalDays"": 10675199.116730064, - ""totalHours"": 256204778.80152154, - ""totalMilliseconds"": 922337203685477.0, - ""totalMinutes"": 15372286728.091293, - ""totalSeconds"": 922337203685.4775 -}".ReplaceLineEndings(), json); -#endif - } - - [Fact] - public void ResolveNamingStrategyOrDefault_ShouldResolveSnakeCaseNamingStrategy() - { - var sut1 = TimeSpan.MaxValue; - var sut2 = new NewtonsoftJsonFormatter(o => - { - o.Settings.Converters.Add(_tsConverter); - o.Settings.ContractResolver = new DefaultContractResolver() { NamingStrategy = new SnakeCaseNamingStrategy() }; - }); - var json = sut2.Serialize(sut1).ToEncodedString(); - - TestOutput.WriteLine(json); - - Assert.IsType(sut2.Options.Settings.ContractResolver.ResolveNamingStrategyOrDefault()); -#if NET48_OR_GREATER - Assert.Equal(@"{ - ""ticks"": 9223372036854775807, - ""days"": 10675199, - ""hours"": 2, - ""minutes"": 48, - ""seconds"": 5, - ""total_days"": 10675199.116730064, - ""total_hours"": 256204778.80152154, - ""total_milliseconds"": 922337203685477.0, - ""total_minutes"": 15372286728.091293, - ""total_seconds"": 922337203685.47754 -}".ReplaceLineEndings(), json); -#else - Assert.Equal(@"{ - ""ticks"": 9223372036854775807, - ""days"": 10675199, - ""hours"": 2, - ""minutes"": 48, - ""seconds"": 5, - ""total_days"": 10675199.116730064, - ""total_hours"": 256204778.80152154, - ""total_milliseconds"": 922337203685477.0, - ""total_minutes"": 15372286728.091293, - ""total_seconds"": 922337203685.4775 -}".ReplaceLineEndings(), json); -#endif - } - - [Fact] - public void ResolveNamingStrategyOrDefault_ShouldResolveKebabCaseNamingStrategy() - { - var sut1 = TimeSpan.MaxValue; - var sut2 = new NewtonsoftJsonFormatter(o => - { - o.Settings.Converters.Add(_tsConverter); - o.Settings.ContractResolver = new DefaultContractResolver() { NamingStrategy = new KebabCaseNamingStrategy() }; - }); - var json = sut2.Serialize(sut1).ToEncodedString(); - - TestOutput.WriteLine(json); - - Assert.IsType(sut2.Options.Settings.ContractResolver.ResolveNamingStrategyOrDefault()); -#if NET48_OR_GREATER - Assert.Equal(@"{ - ""ticks"": 9223372036854775807, - ""days"": 10675199, - ""hours"": 2, - ""minutes"": 48, - ""seconds"": 5, - ""total-days"": 10675199.116730064, - ""total-hours"": 256204778.80152154, - ""total-milliseconds"": 922337203685477.0, - ""total-minutes"": 15372286728.091293, - ""total-seconds"": 922337203685.47754 -}".ReplaceLineEndings(), json); -#else - Assert.Equal(@"{ - ""ticks"": 9223372036854775807, - ""days"": 10675199, - ""hours"": 2, - ""minutes"": 48, - ""seconds"": 5, - ""total-days"": 10675199.116730064, - ""total-hours"": 256204778.80152154, - ""total-milliseconds"": 922337203685477.0, - ""total-minutes"": 15372286728.091293, - ""total-seconds"": 922337203685.4775 -}".ReplaceLineEndings(), json); -#endif - } - } -} \ No newline at end of file diff --git a/test/Cuemon.Extensions.Newtonsoft.Json.Tests/ValidatorExtensionsTest.cs b/test/Cuemon.Extensions.Newtonsoft.Json.Tests/ValidatorExtensionsTest.cs deleted file mode 100644 index bdccdff45..000000000 --- a/test/Cuemon.Extensions.Newtonsoft.Json.Tests/ValidatorExtensionsTest.cs +++ /dev/null @@ -1,50 +0,0 @@ -ο»Ώusing System; -using System.IO; -using Codebelt.Extensions.Xunit; -using Newtonsoft.Json; -using Xunit; -using Xunit.Abstractions; - -namespace Cuemon.Extensions.Newtonsoft.Json -{ - public class ValidatorExtensionsTest : Test - { - public ValidatorExtensionsTest(ITestOutputHelper output) : base(output) - { - } - - [Fact] - public void InvalidJsonDocument_ShouldThrowArgumentException() - { - var sut = Assert.Throws(() => Validator.ThrowIf.InvalidJsonDocument($$"""{ "id" "{{Guid.NewGuid():D}}" }""", "paramName")); - - Assert.Equal("paramName", sut.ParamName); - Assert.StartsWith("Value must be a JSON representation that complies with RFC 8259.", sut.Message); - - var json = $$"""{ "id" "{{Guid.NewGuid():D}}" }"""; - sut = Assert.Throws(() => Validator.ThrowIf.InvalidJsonDocument(json)); - - Assert.Equal("json", sut.ParamName); - Assert.StartsWith("Value must be a JSON representation that complies with RFC 8259.", sut.Message); - - var reader = GetJsonReader($$"""{ "id" "{{Guid.NewGuid():D}}" }"""); - sut = Assert.Throws(() => Validator.ThrowIf.InvalidJsonDocument(ref reader)); - Assert.Equal("reader", sut.ParamName); - Assert.StartsWith("Value must be a JSON representation that complies with RFC 8259.", sut.Message); - } - - [Fact] - public void InvalidJsonDocument_ShouldNotThrowArgumentException() - { - Validator.ThrowIf.InvalidJsonDocument($$"""{ "id": "{{Guid.NewGuid():D}}" }"""); - var reader = GetJsonReader($$"""{ "id": "{{Guid.NewGuid():D}}" }"""); - Validator.ThrowIf.InvalidJsonDocument(ref reader); - } - - private JsonReader GetJsonReader(string json) - { - var sr = new StringReader(json); - return new JsonTextReader(sr); - } - } -} From 1da9d6a2ae8aa8542c0d9820061b6ad05052f97d Mon Sep 17 00:00:00 2001 From: Michael Mortensen Date: Sun, 22 Sep 2024 23:37:53 +0200 Subject: [PATCH 7/7] :speech_balloon: updated community health pages --- CHANGELOG.md | 6 ++---- README.md | 4 ---- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c114f3a2b..5d830e238 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -22,14 +22,14 @@ Removed features: - Cuemon.Extensions.YamlDotNet was removed from the solution and migrated to [Codebelt.Extensions.YamlDotNet](https://github.com/codebeltnet/yamldotnet) - Cuemon.Extensions.AspNetCore, Cuemon.Extensions.AspNetCore.Mvc and Cuemon.Extensions.Diagnostics was inflicted with a breaking change as a result of this migration due to removal of YAML related code - Cuemon.Extensions.Asp.Versioning was removed from the solution and migrated to [Codebelt.Extensions.Asp.Versioning](https://github.com/codebeltnet/asp-versioning) -- Cuemon.Extensions.Asp.Versioning was removed from the solution and migrated to [Codebelt.Extensions.Swashbuckle.AspNetCore](https://github.com/codebeltnet/swashbuckle-aspnetcore) +- Cuemon.Extensions.Swashbuckle.AspNetCore was removed from the solution and migrated to [Codebelt.Extensions.Swashbuckle.AspNetCore](https://github.com/codebeltnet/swashbuckle-aspnetcore) +- Cuemon.Extensions.Newtonsoft.Json was removed from the solution and migrated to [Codebelt.Extensions.Newtonsoft.Json](https://github.com/codebeltnet/newtonsoft-json) ### Added - HttpClientExtensions class in the Cuemon.Extensions.Xunit.Hosting.AspNetCore namespace that consist of one extension method for the HttpClient class: ToHttpResponseMessageAsync - PreferredFaultDescriptor enum in the Cuemon.AspNetCore.Diagnostics namespace that specifies the preferred output format of an Exception raised in the context of either vanilla ASP.NET or ASP.NET MVC - Failure record in the Cuemon.Diagnostics namespace that represents a failure model with detailed information about an exception -- FailureConverter class in the Cuemon.Extensions.Newtonsoft.Json.Converters namespace to convert FailureConverter to JSON - FailureConverter class in the Cuemon.Extensions.Text.Json.Converters namespace to convert FailureConverter to JSON - FailureConverter class in the Cuemon.Xml.Serialization.Converters namespace to convert FailureConverter to XML - Support for System.Threading.Lock object that targets TFMs prior to .NET 9 (credits to Mark Cilia Vincenti, https://github.com/MarkCiliaVincenti/Backport.System.Threading.Lock) @@ -81,11 +81,9 @@ Removed features: - FaultDescriptorFilter class in the Cuemon.AspNetCore.Mvc.Filters.Diagnostics namespace to support preferred fault descriptor (e.g., FaultDetails or ProblemDetails) - FaultDescriptorOptions class in the Cuemon.AspNetCore.Diagnostics namespace to include a property named FaultDescriptor (PreferredFaultDescriptor); default is PreferredFaultDescriptor.FaultDetails - HttpExceptionDescriptor class in the Cuemon.AspNetCore.Diagnostics namespace to include two new properties; Instance (Uri) and TraceId (string) -- JsonConverterCollectionExtensions class in the Cuemon.Extensions.AspNetCore.Newtonsoft.Json.Converters namespace was extended to include one new extension method: AddProblemDetailsConverter - JsonConverterCollectionExtensions class in the Cuemon.Extensions.AspNetCore.Text.Json.Converters namespace was extended to include one new extension method: AddProblemDetailsConverter - XmlConverterExtensions class in the Cuemon.Extensions.AspNetCore.Xml.Converters namespace was extended to include one new extension method: AddProblemDetailsConverter - ApplicationBuilderExtensions class in the Cuemon.Extensions.AspNetCore.Diagnostics namespace to support preferred fault descriptor (e.g., FaultDetails or ProblemDetails) in the UseFaultDescriptorExceptionHandler extension method -- JsonConverterCollectionExtensions class in the Cuemon.Extensions.Newtonsoft.Json.Converters namespace was extended to include one new extension method: AddFailureConverter - JsonConverterCollectionExtensions class in the Cuemon.Extensions.Text.Json.Converters namespace was extended to include one new extension method: AddFailureConverter - XmlConverterExtensions class in the Cuemon.Extensions.Xml.Serialization.Converters namespace was extended to include one new extension method: AddFailureConverter - XmlConverter{T} class in the Cuemon.Xml.Serialization.Converters namespace to use generic type T with two new abstract methods: WriteXml and ReadXml diff --git a/README.md b/README.md index 47cd1c59a..35ecf174e 100644 --- a/README.md +++ b/README.md @@ -78,11 +78,9 @@ Provides a focused API for building various types of .NET projects. | [Cuemon.Extensions.AspNetCore.Authentication](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Authentication/) | ![vNext](https://img.shields.io/nuget/vpre/Cuemon.Extensions.AspNetCore.Authentication?logo=nuget) | ![Stable](https://img.shields.io/nuget/v/Cuemon.Extensions.AspNetCore.Authentication?logo=nuget) | ![Downloads](https://img.shields.io/nuget/dt/Cuemon.Extensions.AspNetCore.Authentication?color=blueviolet&logo=nuget) | | [Cuemon.Extensions.AspNetCore.Authentication.AwsSignature4](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Authentication.AwsSignature4/) | ![vNext](https://img.shields.io/nuget/vpre/Cuemon.Extensions.AspNetCore.Authentication.AwsSignature4?logo=nuget) | ![Stable](https://img.shields.io/nuget/v/Cuemon.Extensions.AspNetCore.Authentication.AwsSignature4?logo=nuget) | ![Downloads](https://img.shields.io/nuget/dt/Cuemon.Extensions.AspNetCore.Authentication.AwsSignature4?color=blueviolet&logo=nuget) | | [Cuemon.Extensions.AspNetCore.Mvc](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc/) | ![vNext](https://img.shields.io/nuget/vpre/Cuemon.Extensions.AspNetCore.Mvc?logo=nuget) | ![Stable](https://img.shields.io/nuget/v/Cuemon.Extensions.AspNetCore.Mvc?logo=nuget) | ![Downloads](https://img.shields.io/nuget/dt/Cuemon.Extensions.AspNetCore.Mvc?color=blueviolet&logo=nuget) | -| [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json/) | ![vNext](https://img.shields.io/nuget/vpre/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json?logo=nuget) | ![Stable](https://img.shields.io/nuget/v/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json?logo=nuget) | ![Downloads](https://img.shields.io/nuget/dt/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json?color=blueviolet&logo=nuget) | | [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json/) | ![vNext](https://img.shields.io/nuget/vpre/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json?logo=nuget) | ![Stable](https://img.shields.io/nuget/v/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json?logo=nuget) | ![Downloads](https://img.shields.io/nuget/dt/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json?color=blueviolet&logo=nuget) | | [Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml/) | ![vNext](https://img.shields.io/nuget/vpre/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml?logo=nuget) | ![Stable](https://img.shields.io/nuget/v/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml?logo=nuget) | ![Downloads](https://img.shields.io/nuget/dt/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml?color=blueviolet&logo=nuget) | | [Cuemon.Extensions.AspNetCore.Mvc.RazorPages](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Mvc.RazorPages/) | ![vNext](https://img.shields.io/nuget/vpre/Cuemon.Extensions.AspNetCore.Mvc.RazorPages?logo=nuget) | ![Stable](https://img.shields.io/nuget/v/Cuemon.Extensions.AspNetCore.Mvc.RazorPages?logo=nuget) | ![Downloads](https://img.shields.io/nuget/dt/Cuemon.Extensions.AspNetCore.Mvc.RazorPages?color=blueviolet&logo=nuget) | -| [Cuemon.Extensions.AspNetCore.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Newtonsoft.Json/) | ![vNext](https://img.shields.io/nuget/vpre/Cuemon.Extensions.AspNetCore.Newtonsoft.Json?logo=nuget) | ![Stable](https://img.shields.io/nuget/v/Cuemon.Extensions.AspNetCore.Newtonsoft.Json?logo=nuget) | ![Downloads](https://img.shields.io/nuget/dt/Cuemon.Extensions.AspNetCore.Newtonsoft.Json?color=blueviolet&logo=nuget) | | [Cuemon.Extensions.AspNetCore.Text.Json](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Text.Json/) | ![vNext](https://img.shields.io/nuget/vpre/Cuemon.Extensions.AspNetCore.Text.Json?logo=nuget) | ![Stable](https://img.shields.io/nuget/v/Cuemon.Extensions.AspNetCore.Text.Json?logo=nuget) | ![Downloads](https://img.shields.io/nuget/dt/Cuemon.Extensions.AspNetCore.Text.Json?color=blueviolet&logo=nuget) | | [Cuemon.Extensions.AspNetCore.Xml](https://www.nuget.org/packages/Cuemon.Extensions.AspNetCore.Xml/) | ![vNext](https://img.shields.io/nuget/vpre/Cuemon.Extensions.AspNetCore.Xml?logo=nuget) | ![Stable](https://img.shields.io/nuget/v/Cuemon.Extensions.AspNetCore.Xml?logo=nuget) | ![Downloads](https://img.shields.io/nuget/dt/Cuemon.Extensions.AspNetCore.Xml?color=blueviolet&logo=nuget) | | [Cuemon.Extensions.Collections.Generic](https://www.nuget.org/packages/Cuemon.Extensions.Collections.Generic/) | ![vNext](https://img.shields.io/nuget/vpre/Cuemon.Extensions.Collections.Generic?logo=nuget) | ![Stable](https://img.shields.io/nuget/v/Cuemon.Extensions.Collections.Generic?logo=nuget) | ![Downloads](https://img.shields.io/nuget/dt/Cuemon.Extensions.Collections.Generic?color=blueviolet&logo=nuget) | @@ -96,7 +94,6 @@ Provides a focused API for building various types of .NET projects. | [Cuemon.Extensions.Hosting](https://www.nuget.org/packages/Cuemon.Extensions.Hosting/) | ![vNext](https://img.shields.io/nuget/vpre/Cuemon.Extensions.Hosting?logo=nuget) | ![Stable](https://img.shields.io/nuget/v/Cuemon.Extensions.Hosting?logo=nuget) | ![Downloads](https://img.shields.io/nuget/dt/Cuemon.Extensions.Hosting?color=blueviolet&logo=nuget) | | [Cuemon.Extensions.IO](https://www.nuget.org/packages/Cuemon.Extensions.IO/) | ![vNext](https://img.shields.io/nuget/vpre/Cuemon.Extensions.IO?logo=nuget) | ![Stable](https://img.shields.io/nuget/v/Cuemon.Extensions.IO?logo=nuget) | ![Downloads](https://img.shields.io/nuget/dt/Cuemon.Extensions.IO?color=blueviolet&logo=nuget) | | [Cuemon.Extensions.Net](https://www.nuget.org/packages/Cuemon.Extensions.Net/) | ![vNext](https://img.shields.io/nuget/vpre/Cuemon.Extensions.Net?logo=nuget) | ![Stable](https://img.shields.io/nuget/v/Cuemon.Extensions.Net?logo=nuget) | ![Downloads](https://img.shields.io/nuget/dt/Cuemon.Extensions.Net?color=blueviolet&logo=nuget) | -| [Cuemon.Extensions.Newtonsoft.Json](https://www.nuget.org/packages/Cuemon.Extensions.Newtonsoft.Json/) | ![vNext](https://img.shields.io/nuget/vpre/Cuemon.Extensions.Newtonsoft.Json?logo=nuget) | ![Stable](https://img.shields.io/nuget/v/Cuemon.Extensions.Newtonsoft.Json?logo=nuget) | ![Downloads](https://img.shields.io/nuget/dt/Cuemon.Extensions.Newtonsoft.Json?color=blueviolet&logo=nuget) | | [Cuemon.Extensions.Reflection](https://www.nuget.org/packages/Cuemon.Extensions.Reflection/) | ![vNext](https://img.shields.io/nuget/vpre/Cuemon.Extensions.Reflection?logo=nuget) | ![Stable](https://img.shields.io/nuget/v/Cuemon.Extensions.Reflection?logo=nuget) | ![Downloads](https://img.shields.io/nuget/dt/Cuemon.Extensions.Reflection?color=blueviolet&logo=nuget) | | [Cuemon.Extensions.Runtime.Caching](https://www.nuget.org/packages/Cuemon.Extensions.Runtime.Caching/) | ![vNext](https://img.shields.io/nuget/vpre/Cuemon.Extensions.Runtime.Caching?logo=nuget) | ![Stable](https://img.shields.io/nuget/v/Cuemon.Extensions.Runtime.Caching?logo=nuget) | ![Downloads](https://img.shields.io/nuget/dt/Cuemon.Extensions.Runtime.Caching?color=blueviolet&logo=nuget) | | [Cuemon.Extensions.Text](https://www.nuget.org/packages/Cuemon.Extensions.Text/) | ![vNext](https://img.shields.io/nuget/vpre/Cuemon.Extensions.Text?logo=nuget) | ![Stable](https://img.shields.io/nuget/v/Cuemon.Extensions.Text?logo=nuget) | ![Downloads](https://img.shields.io/nuget/dt/Cuemon.Extensions.Text?color=blueviolet&logo=nuget) | @@ -119,7 +116,6 @@ Provides a convenient set of default API additions for building various types of |:--|:-:|:-:|:-:| | [Cuemon.AspNetCore.App](https://www.nuget.org/packages/Cuemon.AspNetCore.App/) | ![vNext](https://img.shields.io/nuget/vpre/Cuemon.AspNetCore.App?logo=nuget) | ![Stable](https://img.shields.io/nuget/v/Cuemon.AspNetCore.App?logo=nuget) | ![Downloads](https://img.shields.io/nuget/dt/Cuemon.AspNetCore.App?color=blueviolet&logo=nuget) | | [Cuemon.Core.App](https://www.nuget.org/packages/Cuemon.Core.App/) | ![vNext](https://img.shields.io/nuget/vpre/Cuemon.Core.App?logo=nuget) | ![Stable](https://img.shields.io/nuget/v/Cuemon.Core.App?logo=nuget) | ![Downloads](https://img.shields.io/nuget/dt/Cuemon.Core.App?color=blueviolet&logo=nuget) | -| [Cuemon.Extensions.Newtonsoft.Json.App](https://www.nuget.org/packages/Cuemon.Extensions.Newtonsoft.Json.App/) | ![vNext](https://img.shields.io/nuget/vpre/Cuemon.Extensions.Newtonsoft.Json.App?logo=nuget) | ![Stable](https://img.shields.io/nuget/v/Cuemon.Extensions.Newtonsoft.Json.App?logo=nuget) | ![Downloads](https://img.shields.io/nuget/dt/Cuemon.Extensions.Newtonsoft.Json.App?color=blueviolet&logo=nuget) | # Credits & Appreciation