diff --git a/.nuget/Cuemon.AspNetCore.App/PackageReleaseNotes.txt b/.nuget/Cuemon.AspNetCore.App/PackageReleaseNotes.txt
index d6b51f152..f87a75831 100644
--- a/.nuget/Cuemon.AspNetCore.App/PackageReleaseNotes.txt
+++ b/.nuget/Cuemon.AspNetCore.App/PackageReleaseNotes.txt
@@ -1,4 +1,10 @@
-Version 9.0.3
+Version 9.0.4
+Availability: .NET 9 and .NET 8
+
+# ALM
+- CHANGED Dependencies to latest and greatest with respect to TFMs
+
+Version 9.0.3
Availability: .NET 9 and .NET 8
# ALM
diff --git a/.nuget/Cuemon.AspNetCore.Authentication/PackageReleaseNotes.txt b/.nuget/Cuemon.AspNetCore.Authentication/PackageReleaseNotes.txt
index 1dba0a2cf..d43e0516b 100644
--- a/.nuget/Cuemon.AspNetCore.Authentication/PackageReleaseNotes.txt
+++ b/.nuget/Cuemon.AspNetCore.Authentication/PackageReleaseNotes.txt
@@ -1,4 +1,10 @@
-Version 9.0.3
+Version 9.0.4
+Availability: .NET 9 and .NET 8
+
+# ALM
+- CHANGED Dependencies to latest and greatest with respect to TFMs
+
+Version 9.0.3
Availability: .NET 9 and .NET 8
# ALM
diff --git a/.nuget/Cuemon.AspNetCore.Mvc/PackageReleaseNotes.txt b/.nuget/Cuemon.AspNetCore.Mvc/PackageReleaseNotes.txt
index 03b222557..94ad46851 100644
--- a/.nuget/Cuemon.AspNetCore.Mvc/PackageReleaseNotes.txt
+++ b/.nuget/Cuemon.AspNetCore.Mvc/PackageReleaseNotes.txt
@@ -1,4 +1,10 @@
-Version 9.0.3
+Version 9.0.4
+Availability: .NET 9 and .NET 8
+
+# ALM
+- CHANGED Dependencies to latest and greatest with respect to TFMs
+
+Version 9.0.3
Availability: .NET 9 and .NET 8
# ALM
diff --git a/.nuget/Cuemon.AspNetCore.Razor.TagHelpers/PackageReleaseNotes.txt b/.nuget/Cuemon.AspNetCore.Razor.TagHelpers/PackageReleaseNotes.txt
index 23788d7dc..2cfda1244 100644
--- a/.nuget/Cuemon.AspNetCore.Razor.TagHelpers/PackageReleaseNotes.txt
+++ b/.nuget/Cuemon.AspNetCore.Razor.TagHelpers/PackageReleaseNotes.txt
@@ -1,4 +1,10 @@
-Version 9.0.3
+Version 9.0.4
+Availability: .NET 9 and .NET 8
+
+# ALM
+- CHANGED Dependencies to latest and greatest with respect to TFMs
+
+Version 9.0.3
Availability: .NET 9 and .NET 8
# ALM
diff --git a/.nuget/Cuemon.AspNetCore/PackageReleaseNotes.txt b/.nuget/Cuemon.AspNetCore/PackageReleaseNotes.txt
index 86f06a29f..a78e22d6d 100644
--- a/.nuget/Cuemon.AspNetCore/PackageReleaseNotes.txt
+++ b/.nuget/Cuemon.AspNetCore/PackageReleaseNotes.txt
@@ -1,4 +1,10 @@
-Version 9.0.3
+Version 9.0.4
+Availability: .NET 9 and .NET 8
+
+# ALM
+- CHANGED Dependencies to latest and greatest with respect to TFMs
+
+Version 9.0.3
Availability: .NET 9 and .NET 8
# ALM
diff --git a/.nuget/Cuemon.Core.App/PackageReleaseNotes.txt b/.nuget/Cuemon.Core.App/PackageReleaseNotes.txt
index 50dea2a53..d3a6e574a 100644
--- a/.nuget/Cuemon.Core.App/PackageReleaseNotes.txt
+++ b/.nuget/Cuemon.Core.App/PackageReleaseNotes.txt
@@ -1,4 +1,10 @@
-Version 9.0.3
+Version 9.0.4
+Availability: .NET 9, .NET 8 and .NET Standard 2.0
+
+# ALM
+- CHANGED Dependencies to latest and greatest with respect to TFMs
+
+Version 9.0.3
Availability: .NET 9, .NET 8 and .NET Standard 2.0
# ALM
diff --git a/.nuget/Cuemon.Core/PackageReleaseNotes.txt b/.nuget/Cuemon.Core/PackageReleaseNotes.txt
index 1fedd19ea..670ec46ca 100644
--- a/.nuget/Cuemon.Core/PackageReleaseNotes.txt
+++ b/.nuget/Cuemon.Core/PackageReleaseNotes.txt
@@ -1,4 +1,10 @@
-Version 9.0.3
+Version 9.0.4
+Availability: .NET 9, .NET 8 and .NET Standard 2.0
+
+# ALM
+- CHANGED Dependencies to latest and greatest with respect to TFMs
+
+Version 9.0.3
Availability: .NET 9, .NET 8 and .NET Standard 2.0
# ALM
diff --git a/.nuget/Cuemon.Data.Integrity/PackageReleaseNotes.txt b/.nuget/Cuemon.Data.Integrity/PackageReleaseNotes.txt
index 7eb127ab9..4d5276a1b 100644
--- a/.nuget/Cuemon.Data.Integrity/PackageReleaseNotes.txt
+++ b/.nuget/Cuemon.Data.Integrity/PackageReleaseNotes.txt
@@ -1,4 +1,10 @@
-Version 9.0.3
+Version 9.0.4
+Availability: .NET 9, .NET 8 and .NET Standard 2.0
+
+# ALM
+- CHANGED Dependencies to latest and greatest with respect to TFMs
+
+Version 9.0.3
Availability: .NET 9, .NET 8 and .NET Standard 2.0
# ALM
diff --git a/.nuget/Cuemon.Data.SqlClient/PackageReleaseNotes.txt b/.nuget/Cuemon.Data.SqlClient/PackageReleaseNotes.txt
index dd4248a0e..c5288e3c6 100644
--- a/.nuget/Cuemon.Data.SqlClient/PackageReleaseNotes.txt
+++ b/.nuget/Cuemon.Data.SqlClient/PackageReleaseNotes.txt
@@ -1,4 +1,10 @@
-Version 9.0.3
+Version 9.0.4
+Availability: .NET 9, .NET 8 and .NET Standard 2.0
+
+# ALM
+- CHANGED Dependencies to latest and greatest with respect to TFMs
+
+Version 9.0.3
Availability: .NET 9, .NET 8 and .NET Standard 2.0
# ALM
diff --git a/.nuget/Cuemon.Data/PackageReleaseNotes.txt b/.nuget/Cuemon.Data/PackageReleaseNotes.txt
index 68e79a02b..22fbad002 100644
--- a/.nuget/Cuemon.Data/PackageReleaseNotes.txt
+++ b/.nuget/Cuemon.Data/PackageReleaseNotes.txt
@@ -1,4 +1,10 @@
-Version 9.0.3
+Version 9.0.4
+Availability: .NET 9, .NET 8 and .NET Standard 2.0
+
+# ALM
+- CHANGED Dependencies to latest and greatest with respect to TFMs
+
+Version 9.0.3
Availability: .NET 9, .NET 8 and .NET Standard 2.0
# ALM
diff --git a/.nuget/Cuemon.Diagnostics/PackageReleaseNotes.txt b/.nuget/Cuemon.Diagnostics/PackageReleaseNotes.txt
index ad880dc44..1ef50b5ce 100644
--- a/.nuget/Cuemon.Diagnostics/PackageReleaseNotes.txt
+++ b/.nuget/Cuemon.Diagnostics/PackageReleaseNotes.txt
@@ -1,4 +1,10 @@
-Version 9.0.3
+Version 9.0.4
+Availability: .NET 9, .NET 8 and .NET Standard 2.0
+
+# ALM
+- CHANGED Dependencies to latest and greatest with respect to TFMs
+
+Version 9.0.3
Availability: .NET 9, .NET 8 and .NET Standard 2.0
# ALM
diff --git a/.nuget/Cuemon.Extensions.AspNetCore.Authentication/PackageReleaseNotes.txt b/.nuget/Cuemon.Extensions.AspNetCore.Authentication/PackageReleaseNotes.txt
index 3d0372f02..c1a99c13d 100644
--- a/.nuget/Cuemon.Extensions.AspNetCore.Authentication/PackageReleaseNotes.txt
+++ b/.nuget/Cuemon.Extensions.AspNetCore.Authentication/PackageReleaseNotes.txt
@@ -1,4 +1,10 @@
-Version 9.0.3
+Version 9.0.4
+Availability: .NET 9 and .NET 8
+
+# ALM
+- CHANGED Dependencies to latest and greatest with respect to TFMs
+
+Version 9.0.3
Availability: .NET 9 and .NET 8
# ALM
diff --git a/.nuget/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json/PackageReleaseNotes.txt b/.nuget/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json/PackageReleaseNotes.txt
index 72b8dea2b..7da5fe9e2 100644
--- a/.nuget/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json/PackageReleaseNotes.txt
+++ b/.nuget/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json/PackageReleaseNotes.txt
@@ -1,4 +1,10 @@
-Version 9.0.3
+Version 9.0.4
+Availability: .NET 9 and .NET 8
+
+# ALM
+- CHANGED Dependencies to latest and greatest with respect to TFMs
+
+Version 9.0.3
Availability: .NET 9 and .NET 8
# ALM
diff --git a/.nuget/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml/PackageReleaseNotes.txt b/.nuget/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml/PackageReleaseNotes.txt
index 216e176c6..053852ca1 100644
--- a/.nuget/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml/PackageReleaseNotes.txt
+++ b/.nuget/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml/PackageReleaseNotes.txt
@@ -1,4 +1,10 @@
-Version 9.0.3
+Version 9.0.4
+Availability: .NET 9 and .NET 8
+
+# ALM
+- CHANGED Dependencies to latest and greatest with respect to TFMs
+
+Version 9.0.3
Availability: .NET 9 and .NET 8
# ALM
diff --git a/.nuget/Cuemon.Extensions.AspNetCore.Mvc.RazorPages/PackageReleaseNotes.txt b/.nuget/Cuemon.Extensions.AspNetCore.Mvc.RazorPages/PackageReleaseNotes.txt
index 8f1d8f869..8bc9af39f 100644
--- a/.nuget/Cuemon.Extensions.AspNetCore.Mvc.RazorPages/PackageReleaseNotes.txt
+++ b/.nuget/Cuemon.Extensions.AspNetCore.Mvc.RazorPages/PackageReleaseNotes.txt
@@ -1,4 +1,10 @@
-Version 9.0.3
+Version 9.0.4
+Availability: .NET 9 and .NET 8
+
+# ALM
+- CHANGED Dependencies to latest and greatest with respect to TFMs
+
+Version 9.0.3
Availability: .NET 9 and .NET 8
# ALM
diff --git a/.nuget/Cuemon.Extensions.AspNetCore.Mvc/PackageReleaseNotes.txt b/.nuget/Cuemon.Extensions.AspNetCore.Mvc/PackageReleaseNotes.txt
index a430d6642..dd5329d57 100644
--- a/.nuget/Cuemon.Extensions.AspNetCore.Mvc/PackageReleaseNotes.txt
+++ b/.nuget/Cuemon.Extensions.AspNetCore.Mvc/PackageReleaseNotes.txt
@@ -1,4 +1,10 @@
-Version 9.0.3
+Version 9.0.4
+Availability: .NET 9 and .NET 8
+
+# ALM
+- CHANGED Dependencies to latest and greatest with respect to TFMs
+
+Version 9.0.3
Availability: .NET 9 and .NET 8
# ALM
diff --git a/.nuget/Cuemon.Extensions.AspNetCore.Text.Json/PackageReleaseNotes.txt b/.nuget/Cuemon.Extensions.AspNetCore.Text.Json/PackageReleaseNotes.txt
index 373db0d61..093cd090b 100644
--- a/.nuget/Cuemon.Extensions.AspNetCore.Text.Json/PackageReleaseNotes.txt
+++ b/.nuget/Cuemon.Extensions.AspNetCore.Text.Json/PackageReleaseNotes.txt
@@ -1,4 +1,10 @@
-Version 9.0.3
+Version 9.0.4
+Availability: .NET 9 and .NET 8
+
+# ALM
+- CHANGED Dependencies to latest and greatest with respect to TFMs
+
+Version 9.0.3
Availability: .NET 9 and .NET 8
# ALM
diff --git a/.nuget/Cuemon.Extensions.AspNetCore.Xml/PackageReleaseNotes.txt b/.nuget/Cuemon.Extensions.AspNetCore.Xml/PackageReleaseNotes.txt
index 6668ba242..ae1331ede 100644
--- a/.nuget/Cuemon.Extensions.AspNetCore.Xml/PackageReleaseNotes.txt
+++ b/.nuget/Cuemon.Extensions.AspNetCore.Xml/PackageReleaseNotes.txt
@@ -1,4 +1,10 @@
-Version 9.0.3
+Version 9.0.4
+Availability: .NET 9 and .NET 8
+
+# ALM
+- CHANGED Dependencies to latest and greatest with respect to TFMs
+
+Version 9.0.3
Availability: .NET 9 and .NET 8
# ALM
diff --git a/.nuget/Cuemon.Extensions.AspNetCore/PackageReleaseNotes.txt b/.nuget/Cuemon.Extensions.AspNetCore/PackageReleaseNotes.txt
index f7d6c5fd2..feefd7ee8 100644
--- a/.nuget/Cuemon.Extensions.AspNetCore/PackageReleaseNotes.txt
+++ b/.nuget/Cuemon.Extensions.AspNetCore/PackageReleaseNotes.txt
@@ -1,4 +1,10 @@
-Version 9.0.3
+Version 9.0.4
+Availability: .NET 9 and .NET 8
+
+# ALM
+- CHANGED Dependencies to latest and greatest with respect to TFMs
+
+Version 9.0.3
Availability: .NET 9 and .NET 8
# ALM
diff --git a/.nuget/Cuemon.Extensions.Collections.Generic/PackageReleaseNotes.txt b/.nuget/Cuemon.Extensions.Collections.Generic/PackageReleaseNotes.txt
index 7eb127ab9..4d5276a1b 100644
--- a/.nuget/Cuemon.Extensions.Collections.Generic/PackageReleaseNotes.txt
+++ b/.nuget/Cuemon.Extensions.Collections.Generic/PackageReleaseNotes.txt
@@ -1,4 +1,10 @@
-Version 9.0.3
+Version 9.0.4
+Availability: .NET 9, .NET 8 and .NET Standard 2.0
+
+# ALM
+- CHANGED Dependencies to latest and greatest with respect to TFMs
+
+Version 9.0.3
Availability: .NET 9, .NET 8 and .NET Standard 2.0
# ALM
diff --git a/.nuget/Cuemon.Extensions.Collections.Specialized/PackageReleaseNotes.txt b/.nuget/Cuemon.Extensions.Collections.Specialized/PackageReleaseNotes.txt
index 7eb127ab9..4d5276a1b 100644
--- a/.nuget/Cuemon.Extensions.Collections.Specialized/PackageReleaseNotes.txt
+++ b/.nuget/Cuemon.Extensions.Collections.Specialized/PackageReleaseNotes.txt
@@ -1,4 +1,10 @@
-Version 9.0.3
+Version 9.0.4
+Availability: .NET 9, .NET 8 and .NET Standard 2.0
+
+# ALM
+- CHANGED Dependencies to latest and greatest with respect to TFMs
+
+Version 9.0.3
Availability: .NET 9, .NET 8 and .NET Standard 2.0
# ALM
diff --git a/.nuget/Cuemon.Extensions.Core/PackageReleaseNotes.txt b/.nuget/Cuemon.Extensions.Core/PackageReleaseNotes.txt
index 645bb8a5a..00b3138d5 100644
--- a/.nuget/Cuemon.Extensions.Core/PackageReleaseNotes.txt
+++ b/.nuget/Cuemon.Extensions.Core/PackageReleaseNotes.txt
@@ -1,4 +1,10 @@
-Version 9.0.3
+Version 9.0.4
+Availability: .NET 9, .NET 8 and .NET Standard 2.0
+
+# ALM
+- CHANGED Dependencies to latest and greatest with respect to TFMs
+
+Version 9.0.3
Availability: .NET 9, .NET 8 and .NET Standard 2.0
# ALM
diff --git a/.nuget/Cuemon.Extensions.Data.Integrity/PackageReleaseNotes.txt b/.nuget/Cuemon.Extensions.Data.Integrity/PackageReleaseNotes.txt
index 7eb127ab9..4d5276a1b 100644
--- a/.nuget/Cuemon.Extensions.Data.Integrity/PackageReleaseNotes.txt
+++ b/.nuget/Cuemon.Extensions.Data.Integrity/PackageReleaseNotes.txt
@@ -1,4 +1,10 @@
-Version 9.0.3
+Version 9.0.4
+Availability: .NET 9, .NET 8 and .NET Standard 2.0
+
+# ALM
+- CHANGED Dependencies to latest and greatest with respect to TFMs
+
+Version 9.0.3
Availability: .NET 9, .NET 8 and .NET Standard 2.0
# ALM
diff --git a/.nuget/Cuemon.Extensions.Data/PackageReleaseNotes.txt b/.nuget/Cuemon.Extensions.Data/PackageReleaseNotes.txt
index 8a009da61..bbc7ea42e 100644
--- a/.nuget/Cuemon.Extensions.Data/PackageReleaseNotes.txt
+++ b/.nuget/Cuemon.Extensions.Data/PackageReleaseNotes.txt
@@ -1,4 +1,10 @@
-Version 9.0.3
+Version 9.0.4
+Availability: .NET 9, .NET 8 and .NET Standard 2.0
+
+# ALM
+- CHANGED Dependencies to latest and greatest with respect to TFMs
+
+Version 9.0.3
Availability: .NET 9, .NET 8 and .NET Standard 2.0
# ALM
diff --git a/.nuget/Cuemon.Extensions.DependencyInjection/PackageReleaseNotes.txt b/.nuget/Cuemon.Extensions.DependencyInjection/PackageReleaseNotes.txt
index 156ca2d56..e845fe90d 100644
--- a/.nuget/Cuemon.Extensions.DependencyInjection/PackageReleaseNotes.txt
+++ b/.nuget/Cuemon.Extensions.DependencyInjection/PackageReleaseNotes.txt
@@ -1,4 +1,10 @@
-Version 9.0.3
+Version 9.0.4
+Availability: .NET 9, .NET 8 and .NET Standard 2.0
+
+# ALM
+- CHANGED Dependencies to latest and greatest with respect to TFMs
+
+Version 9.0.3
Availability: .NET 9, .NET 8 and .NET Standard 2.0
# ALM
diff --git a/.nuget/Cuemon.Extensions.Diagnostics/PackageReleaseNotes.txt b/.nuget/Cuemon.Extensions.Diagnostics/PackageReleaseNotes.txt
index 4d80b2d8d..8b13cac55 100644
--- a/.nuget/Cuemon.Extensions.Diagnostics/PackageReleaseNotes.txt
+++ b/.nuget/Cuemon.Extensions.Diagnostics/PackageReleaseNotes.txt
@@ -1,4 +1,10 @@
-Version 9.0.3
+Version 9.0.4
+Availability: .NET 9, .NET 8 and .NET Standard 2.0
+
+# ALM
+- CHANGED Dependencies to latest and greatest with respect to TFMs
+
+Version 9.0.3
Availability: .NET 9, .NET 8 and .NET Standard 2.0
# ALM
diff --git a/.nuget/Cuemon.Extensions.Hosting/PackageReleaseNotes.txt b/.nuget/Cuemon.Extensions.Hosting/PackageReleaseNotes.txt
index 0f7031e0b..1d28316b1 100644
--- a/.nuget/Cuemon.Extensions.Hosting/PackageReleaseNotes.txt
+++ b/.nuget/Cuemon.Extensions.Hosting/PackageReleaseNotes.txt
@@ -1,4 +1,10 @@
-Version 9.0.3
+Version 9.0.4
+Availability: .NET 9, .NET 8 and .NET Standard 2.0
+
+# ALM
+- CHANGED Dependencies to latest and greatest with respect to TFMs
+
+Version 9.0.3
Availability: .NET 9, .NET 8 and .NET Standard 2.0
# ALM
diff --git a/.nuget/Cuemon.Extensions.IO/PackageReleaseNotes.txt b/.nuget/Cuemon.Extensions.IO/PackageReleaseNotes.txt
index f8a6bf7ba..7c7b4fea2 100644
--- a/.nuget/Cuemon.Extensions.IO/PackageReleaseNotes.txt
+++ b/.nuget/Cuemon.Extensions.IO/PackageReleaseNotes.txt
@@ -1,4 +1,10 @@
-Version 9.0.3
+Version 9.0.4
+Availability: .NET 9, .NET 8, .NET Standard 2.1 and .NET Standard 2.0
+
+# ALM
+- CHANGED Dependencies to latest and greatest with respect to TFMs
+
+Version 9.0.3
Availability: .NET 9, .NET 8, .NET Standard 2.1 and .NET Standard 2.0
# ALM
diff --git a/.nuget/Cuemon.Extensions.Net/PackageReleaseNotes.txt b/.nuget/Cuemon.Extensions.Net/PackageReleaseNotes.txt
index 42ada6081..723e326f4 100644
--- a/.nuget/Cuemon.Extensions.Net/PackageReleaseNotes.txt
+++ b/.nuget/Cuemon.Extensions.Net/PackageReleaseNotes.txt
@@ -1,4 +1,10 @@
-Version 9.0.3
+Version 9.0.4
+Availability: .NET 9, .NET 8 and .NET Standard 2.0
+
+# ALM
+- CHANGED Dependencies to latest and greatest with respect to TFMs
+
+Version 9.0.3
Availability: .NET 9, .NET 8 and .NET Standard 2.0
# ALM
diff --git a/.nuget/Cuemon.Extensions.Reflection/PackageReleaseNotes.txt b/.nuget/Cuemon.Extensions.Reflection/PackageReleaseNotes.txt
index 7eb127ab9..4d5276a1b 100644
--- a/.nuget/Cuemon.Extensions.Reflection/PackageReleaseNotes.txt
+++ b/.nuget/Cuemon.Extensions.Reflection/PackageReleaseNotes.txt
@@ -1,4 +1,10 @@
-Version 9.0.3
+Version 9.0.4
+Availability: .NET 9, .NET 8 and .NET Standard 2.0
+
+# ALM
+- CHANGED Dependencies to latest and greatest with respect to TFMs
+
+Version 9.0.3
Availability: .NET 9, .NET 8 and .NET Standard 2.0
# ALM
diff --git a/.nuget/Cuemon.Extensions.Runtime.Caching/PackageReleaseNotes.txt b/.nuget/Cuemon.Extensions.Runtime.Caching/PackageReleaseNotes.txt
index 7eb127ab9..4d5276a1b 100644
--- a/.nuget/Cuemon.Extensions.Runtime.Caching/PackageReleaseNotes.txt
+++ b/.nuget/Cuemon.Extensions.Runtime.Caching/PackageReleaseNotes.txt
@@ -1,4 +1,10 @@
-Version 9.0.3
+Version 9.0.4
+Availability: .NET 9, .NET 8 and .NET Standard 2.0
+
+# ALM
+- CHANGED Dependencies to latest and greatest with respect to TFMs
+
+Version 9.0.3
Availability: .NET 9, .NET 8 and .NET Standard 2.0
# ALM
diff --git a/.nuget/Cuemon.Extensions.Text.Json/PackageReleaseNotes.txt b/.nuget/Cuemon.Extensions.Text.Json/PackageReleaseNotes.txt
index 6214dca0f..5bc24e409 100644
--- a/.nuget/Cuemon.Extensions.Text.Json/PackageReleaseNotes.txt
+++ b/.nuget/Cuemon.Extensions.Text.Json/PackageReleaseNotes.txt
@@ -1,4 +1,10 @@
-Version 9.0.3
+Version 9.0.4
+Availability: .NET 9, .NET 8 and .NET Standard 2.0
+
+# ALM
+- CHANGED Dependencies to latest and greatest with respect to TFMs
+
+Version 9.0.3
Availability: .NET 9, .NET 8 and .NET Standard 2.0
# ALM
diff --git a/.nuget/Cuemon.Extensions.Text/PackageReleaseNotes.txt b/.nuget/Cuemon.Extensions.Text/PackageReleaseNotes.txt
index 7eb127ab9..4d5276a1b 100644
--- a/.nuget/Cuemon.Extensions.Text/PackageReleaseNotes.txt
+++ b/.nuget/Cuemon.Extensions.Text/PackageReleaseNotes.txt
@@ -1,4 +1,10 @@
-Version 9.0.3
+Version 9.0.4
+Availability: .NET 9, .NET 8 and .NET Standard 2.0
+
+# ALM
+- CHANGED Dependencies to latest and greatest with respect to TFMs
+
+Version 9.0.3
Availability: .NET 9, .NET 8 and .NET Standard 2.0
# ALM
diff --git a/.nuget/Cuemon.Extensions.Threading/PackageReleaseNotes.txt b/.nuget/Cuemon.Extensions.Threading/PackageReleaseNotes.txt
index 88f56fbf8..2927ef060 100644
--- a/.nuget/Cuemon.Extensions.Threading/PackageReleaseNotes.txt
+++ b/.nuget/Cuemon.Extensions.Threading/PackageReleaseNotes.txt
@@ -1,4 +1,10 @@
-Version 9.0.3
+Version 9.0.4
+Availability: .NET 9, .NET 8 and .NET Standard 2.0
+
+# ALM
+- CHANGED Dependencies to latest and greatest with respect to TFMs
+
+Version 9.0.3
Availability: .NET 9, .NET 8 and .NET Standard 2.0
# ALM
diff --git a/.nuget/Cuemon.Extensions.Xml/PackageReleaseNotes.txt b/.nuget/Cuemon.Extensions.Xml/PackageReleaseNotes.txt
index 50ad9fe8f..e4f4ef0c6 100644
--- a/.nuget/Cuemon.Extensions.Xml/PackageReleaseNotes.txt
+++ b/.nuget/Cuemon.Extensions.Xml/PackageReleaseNotes.txt
@@ -1,4 +1,10 @@
-Version 9.0.3
+Version 9.0.4
+Availability: .NET 9, .NET 8 and .NET Standard 2.0
+
+# ALM
+- CHANGED Dependencies to latest and greatest with respect to TFMs
+
+Version 9.0.3
Availability: .NET 9, .NET 8 and .NET Standard 2.0
# ALM
diff --git a/.nuget/Cuemon.IO/PackageReleaseNotes.txt b/.nuget/Cuemon.IO/PackageReleaseNotes.txt
index f8a6bf7ba..7c7b4fea2 100644
--- a/.nuget/Cuemon.IO/PackageReleaseNotes.txt
+++ b/.nuget/Cuemon.IO/PackageReleaseNotes.txt
@@ -1,4 +1,10 @@
-Version 9.0.3
+Version 9.0.4
+Availability: .NET 9, .NET 8, .NET Standard 2.1 and .NET Standard 2.0
+
+# ALM
+- CHANGED Dependencies to latest and greatest with respect to TFMs
+
+Version 9.0.3
Availability: .NET 9, .NET 8, .NET Standard 2.1 and .NET Standard 2.0
# ALM
diff --git a/.nuget/Cuemon.Net/PackageReleaseNotes.txt b/.nuget/Cuemon.Net/PackageReleaseNotes.txt
index 7eb127ab9..4d5276a1b 100644
--- a/.nuget/Cuemon.Net/PackageReleaseNotes.txt
+++ b/.nuget/Cuemon.Net/PackageReleaseNotes.txt
@@ -1,4 +1,10 @@
-Version 9.0.3
+Version 9.0.4
+Availability: .NET 9, .NET 8 and .NET Standard 2.0
+
+# ALM
+- CHANGED Dependencies to latest and greatest with respect to TFMs
+
+Version 9.0.3
Availability: .NET 9, .NET 8 and .NET Standard 2.0
# ALM
diff --git a/.nuget/Cuemon.Resilience/PackageReleaseNotes.txt b/.nuget/Cuemon.Resilience/PackageReleaseNotes.txt
index a8471412b..436b3ce87 100644
--- a/.nuget/Cuemon.Resilience/PackageReleaseNotes.txt
+++ b/.nuget/Cuemon.Resilience/PackageReleaseNotes.txt
@@ -1,4 +1,10 @@
-Version 9.0.3
+Version 9.0.4
+Availability: .NET 9, .NET 8 and .NET Standard 2.0
+
+# ALM
+- CHANGED Dependencies to latest and greatest with respect to TFMs
+
+Version 9.0.3
Availability: .NET 9, .NET 8 and .NET Standard 2.0
# ALM
diff --git a/.nuget/Cuemon.Runtime.Caching/PackageReleaseNotes.txt b/.nuget/Cuemon.Runtime.Caching/PackageReleaseNotes.txt
index 1780f9ed2..89771b0cb 100644
--- a/.nuget/Cuemon.Runtime.Caching/PackageReleaseNotes.txt
+++ b/.nuget/Cuemon.Runtime.Caching/PackageReleaseNotes.txt
@@ -1,4 +1,10 @@
-Version 9.0.3
+Version 9.0.4
+Availability: .NET 9, .NET 8 and .NET Standard 2.0
+
+# ALM
+- CHANGED Dependencies to latest and greatest with respect to TFMs
+
+Version 9.0.3
Availability: .NET 9, .NET 8 and .NET Standard 2.0
# ALM
diff --git a/.nuget/Cuemon.Security.Cryptography/PackageReleaseNotes.txt b/.nuget/Cuemon.Security.Cryptography/PackageReleaseNotes.txt
index 7eb127ab9..4d5276a1b 100644
--- a/.nuget/Cuemon.Security.Cryptography/PackageReleaseNotes.txt
+++ b/.nuget/Cuemon.Security.Cryptography/PackageReleaseNotes.txt
@@ -1,4 +1,10 @@
-Version 9.0.3
+Version 9.0.4
+Availability: .NET 9, .NET 8 and .NET Standard 2.0
+
+# ALM
+- CHANGED Dependencies to latest and greatest with respect to TFMs
+
+Version 9.0.3
Availability: .NET 9, .NET 8 and .NET Standard 2.0
# ALM
diff --git a/.nuget/Cuemon.Threading/PackageReleaseNotes.txt b/.nuget/Cuemon.Threading/PackageReleaseNotes.txt
index d2d0813f5..4872cf56c 100644
--- a/.nuget/Cuemon.Threading/PackageReleaseNotes.txt
+++ b/.nuget/Cuemon.Threading/PackageReleaseNotes.txt
@@ -1,4 +1,10 @@
-Version 9.0.3
+Version 9.0.4
+Availability: .NET 9, .NET 8 and .NET Standard 2.0
+
+# ALM
+- CHANGED Dependencies to latest and greatest with respect to TFMs
+
+Version 9.0.3
Availability: .NET 9, .NET 8 and .NET Standard 2.0
# ALM
diff --git a/.nuget/Cuemon.Xml/PackageReleaseNotes.txt b/.nuget/Cuemon.Xml/PackageReleaseNotes.txt
index 2c9e79391..1bf8a2616 100644
--- a/.nuget/Cuemon.Xml/PackageReleaseNotes.txt
+++ b/.nuget/Cuemon.Xml/PackageReleaseNotes.txt
@@ -1,4 +1,10 @@
-Version 9.0.3
+Version 9.0.4
+Availability: .NET 9, .NET 8 and .NET Standard 2.0
+
+# ALM
+- CHANGED Dependencies to latest and greatest with respect to TFMs
+
+Version 9.0.3
Availability: .NET 9, .NET 8 and .NET Standard 2.0
# ALM
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 83ea58725..9accb0bd0 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
For more details, please refer to `PackageReleaseNotes.txt` on a per assembly basis in the `.nuget` folder.
+## [9.0.4] - 2025-04-09
+
+This is a service update that focuses on package dependencies.
+
## [9.0.3] - 2025-03-31
This is a service update that focuses on package dependencies.
diff --git a/Directory.Packages.props b/Directory.Packages.props
index ddbf886e9..2a165d354 100644
--- a/Directory.Packages.props
+++ b/Directory.Packages.props
@@ -5,9 +5,9 @@
-
-
-
+
+
+
@@ -23,7 +23,7 @@
-
+
@@ -32,10 +32,10 @@
-
+
-
+
@@ -43,11 +43,11 @@
-
-
-
-
-
-
+
+
+
+
+
+
\ No newline at end of file
diff --git a/test/Cuemon.AspNetCore.Authentication.Tests/Basic/BasicAuthenticationHandlerTest.cs b/test/Cuemon.AspNetCore.Authentication.Tests/Basic/BasicAuthenticationHandlerTest.cs
index a90cf765c..c5ec94455 100644
--- a/test/Cuemon.AspNetCore.Authentication.Tests/Basic/BasicAuthenticationHandlerTest.cs
+++ b/test/Cuemon.AspNetCore.Authentication.Tests/Basic/BasicAuthenticationHandlerTest.cs
@@ -54,7 +54,8 @@ public async Task HandleAuthenticateAsync_ShouldReturnContent()
app.UseAuthorization();
app.UseEndpoints(routes => { routes.MapControllers(); });
- }))
+ },
+ hostFixture: null))
{
var client = webApp.Host.GetTestClient();
var bb = new BasicAuthorizationHeaderBuilder()
@@ -92,7 +93,7 @@ public async Task HandleAuthenticateAsync_ShouldReturn401WithUnauthorizedMessage
app.UseAuthorization();
app.UseEndpoints(routes => { routes.MapControllers(); });
- }))
+ }, hostFixture: null))
{
var options = webApp.ServiceProvider.GetRequiredScopedService>().Get(BasicAuthorizationHeader.Scheme);
var client = webApp.Host.GetTestClient();
@@ -140,7 +141,7 @@ public async Task HandleAuthenticateAsync_EnsureAnonymousIsWorking()
app.UseAuthorization();
app.UseEndpoints(routes => { routes.MapControllers(); });
- }))
+ }, hostFixture: null))
{
var client = webApp.Host.GetTestClient();
diff --git a/test/Cuemon.AspNetCore.Authentication.Tests/Basic/BasicAuthenticationMiddlewareTest.cs b/test/Cuemon.AspNetCore.Authentication.Tests/Basic/BasicAuthenticationMiddlewareTest.cs
index eeb773c05..698cd0dfa 100644
--- a/test/Cuemon.AspNetCore.Authentication.Tests/Basic/BasicAuthenticationMiddlewareTest.cs
+++ b/test/Cuemon.AspNetCore.Authentication.Tests/Basic/BasicAuthenticationMiddlewareTest.cs
@@ -36,7 +36,7 @@ public async Task InvokeAsync_ShouldThrowUnauthorizedException_InvalidCredential
}, app =>
{
app.UseBasicAuthentication();
- }))
+ }, hostFixture: null))
{
var context = middleware.ServiceProvider.GetRequiredService().HttpContext;
var options = middleware.ServiceProvider.GetRequiredService>();
@@ -78,7 +78,7 @@ public async Task InvokeAsync_ShouldCaptureUnauthorizedException_InvalidCredenti
{
app.UseFaultDescriptorExceptionHandler();
app.UseBasicAuthentication();
- }))
+ }, hostFixture: null))
{
var context = middleware.ServiceProvider.GetRequiredService().HttpContext;
var options = middleware.ServiceProvider.GetRequiredService>();
@@ -130,7 +130,7 @@ public async Task InvokeAsync_ShouldAuthenticateWhenApplyingAuthorizationHeader(
context.Response.StatusCode = 200;
return Task.CompletedTask;
});
- }))
+ }, hostFixture: null))
{
var context = middleware.ServiceProvider.GetRequiredService().HttpContext;
var options = middleware.ServiceProvider.GetRequiredService>();
diff --git a/test/Cuemon.AspNetCore.Authentication.Tests/Digest/DigestAccessAuthenticationHandlerTest.cs b/test/Cuemon.AspNetCore.Authentication.Tests/Digest/DigestAccessAuthenticationHandlerTest.cs
index 6ddcef7a2..c2cd513be 100644
--- a/test/Cuemon.AspNetCore.Authentication.Tests/Digest/DigestAccessAuthenticationHandlerTest.cs
+++ b/test/Cuemon.AspNetCore.Authentication.Tests/Digest/DigestAccessAuthenticationHandlerTest.cs
@@ -59,7 +59,7 @@ public async Task HandleAuthenticateAsync_ShouldReturnContent_WithQopAuthenticat
app.UseAuthorization();
app.UseEndpoints(routes => { routes.MapControllers(); });
- }))
+ }, hostFixture: null))
{
var options = webApp.ServiceProvider.GetRequiredScopedService>().Get(DigestAuthorizationHeader.Scheme);
@@ -135,7 +135,7 @@ public async Task HandleAuthenticateAsync_ShouldReturnContent_QopAuthenticationI
app.UseAuthorization();
app.UseEndpoints(routes => { routes.MapControllers(); });
- }))
+ }, hostFixture: null))
{
var options = webApp.ServiceProvider.GetRequiredScopedService>().Get(DigestAuthorizationHeader.Scheme);
@@ -214,7 +214,7 @@ public async Task HandleAuthenticateAsync_ShouldReturnContent_WithServerSideHa1S
app.UseAuthorization();
app.UseEndpoints(routes => { routes.MapControllers(); });
- }))
+ }, hostFixture: null))
{
var options = webApp.ServiceProvider.GetRequiredScopedService>().Get(DigestAuthorizationHeader.Scheme);
@@ -289,7 +289,7 @@ public async Task HandleAuthenticateAsync_ShouldReturn401WithUnauthorizedMessage
app.UseAuthorization();
app.UseEndpoints(routes => { routes.MapControllers(); });
- }))
+ }, hostFixture: null))
{
var options = webApp.ServiceProvider.GetRequiredScopedService>().Get(DigestAuthorizationHeader.Scheme);
var client = webApp.Host.GetTestClient();
@@ -331,7 +331,7 @@ public async Task HandleAuthenticateAsync_EnsureAnonymousIsWorking()
app.UseAuthorization();
app.UseEndpoints(routes => { routes.MapControllers(); });
- }))
+ }, hostFixture: null))
{
var client = webApp.Host.GetTestClient();
diff --git a/test/Cuemon.AspNetCore.Authentication.Tests/Digest/DigestAccessAuthenticationMiddlewareTest.cs b/test/Cuemon.AspNetCore.Authentication.Tests/Digest/DigestAccessAuthenticationMiddlewareTest.cs
index f91e42233..d5532196f 100644
--- a/test/Cuemon.AspNetCore.Authentication.Tests/Digest/DigestAccessAuthenticationMiddlewareTest.cs
+++ b/test/Cuemon.AspNetCore.Authentication.Tests/Digest/DigestAccessAuthenticationMiddlewareTest.cs
@@ -52,7 +52,7 @@ public async Task InvokeAsync_ShouldNotBeAuthenticated()
{
app.UseExceptionMiddleware();
app.UseDigestAccessAuthentication();
- }))
+ }, hostFixture: null))
{
var context = middleware.ServiceProvider.GetRequiredService().HttpContext;
var options = middleware.ServiceProvider.GetRequiredService>();
@@ -101,7 +101,7 @@ public async Task InvokeAsync_ShouldAuthenticateWhenApplyingAuthorizationHeader(
context.Response.StatusCode = 200;
return Task.CompletedTask;
});
- }))
+ }, hostFixture: null))
{
var context = middleware.ServiceProvider.GetRequiredService().HttpContext;
var options = middleware.ServiceProvider.GetRequiredService>();
@@ -178,7 +178,7 @@ public async Task InvokeAsync_ShouldAuthenticateWhenApplyingAuthorizationHeaderN
context.Response.StatusCode = 200;
return Task.CompletedTask;
});
- }))
+ }, hostFixture: null))
{
var context = middleware.ServiceProvider.GetRequiredService().HttpContext;
var options = middleware.ServiceProvider.GetRequiredService>();
@@ -253,7 +253,7 @@ public async Task InvokeAsync_ShouldAuthenticateWhenApplyingAuthorizationHeaderW
context.Response.StatusCode = 200;
return Task.CompletedTask;
});
- }))
+ }, hostFixture: null))
{
var context = middleware.ServiceProvider.GetRequiredService().HttpContext;
var options = middleware.ServiceProvider.GetRequiredService>();
diff --git a/test/Cuemon.AspNetCore.Authentication.Tests/Hmac/HmacAuthenticationHandlerTest.cs b/test/Cuemon.AspNetCore.Authentication.Tests/Hmac/HmacAuthenticationHandlerTest.cs
index f4a3e35ab..6f4c40e84 100644
--- a/test/Cuemon.AspNetCore.Authentication.Tests/Hmac/HmacAuthenticationHandlerTest.cs
+++ b/test/Cuemon.AspNetCore.Authentication.Tests/Hmac/HmacAuthenticationHandlerTest.cs
@@ -60,7 +60,7 @@ public async Task HandleAuthenticateAsync_ShouldReturnContent()
app.UseAuthorization();
app.UseEndpoints(routes => { routes.MapControllers(); });
- }))
+ }, hostFixture: null))
{
var client = webApp.Host.GetTestClient();
@@ -126,7 +126,7 @@ public async Task HandleAuthenticateAsync_ShouldReturn401WithUnauthorizedMessage
app.UseAuthorization();
app.UseEndpoints(routes => { routes.MapControllers(); });
- }))
+ }, hostFixture: null))
{
var options = webApp.ServiceProvider.GetRequiredScopedService>().Get(AuthenticationScheme);
var client = webApp.Host.GetTestClient();
@@ -183,7 +183,7 @@ public async Task HandleAuthenticateAsync_EnsureAnonymousIsWorking()
app.UseAuthorization();
app.UseEndpoints(routes => { routes.MapControllers(); });
- }))
+ }, hostFixture: null))
{
var client = webApp.Host.GetTestClient();
diff --git a/test/Cuemon.AspNetCore.Authentication.Tests/Hmac/HmacAuthenticationMiddlewareTest.cs b/test/Cuemon.AspNetCore.Authentication.Tests/Hmac/HmacAuthenticationMiddlewareTest.cs
index b0dc1f8d4..fc70663ed 100644
--- a/test/Cuemon.AspNetCore.Authentication.Tests/Hmac/HmacAuthenticationMiddlewareTest.cs
+++ b/test/Cuemon.AspNetCore.Authentication.Tests/Hmac/HmacAuthenticationMiddlewareTest.cs
@@ -50,7 +50,7 @@ public async Task InvokeAsync_ShouldAuthenticateWhenApplyingAuthorizationHeader(
context.Response.StatusCode = 200;
return Task.CompletedTask;
});
- }))
+ }, hostFixture: null))
{
var context = middleware.ServiceProvider.GetRequiredService().HttpContext;
var options = middleware.ServiceProvider.GetRequiredService>();
diff --git a/test/Cuemon.AspNetCore.Authentication.Tests/Hmac/HmacAuthorizationHeaderBuilderTest.cs b/test/Cuemon.AspNetCore.Authentication.Tests/Hmac/HmacAuthorizationHeaderBuilderTest.cs
index f829d8928..e5a08bdf0 100644
--- a/test/Cuemon.AspNetCore.Authentication.Tests/Hmac/HmacAuthorizationHeaderBuilderTest.cs
+++ b/test/Cuemon.AspNetCore.Authentication.Tests/Hmac/HmacAuthorizationHeaderBuilderTest.cs
@@ -20,7 +20,7 @@ public HmacAuthorizationHeaderBuilderTest(ITestOutputHelper output) : base(outpu
[Fact]
public void Build_ShouldGenerateValidAuthorizationHeader()
{
- using var mw = WebHostTestFactory.Create();
+ using var mw = WebHostTestFactory.Create(hostFixture: null);
var context = mw.ServiceProvider.GetRequiredService().HttpContext;
var timestamp = DateTime.Parse("2022-07-10T12:50:42.2737531Z", CultureInfo.InvariantCulture, DateTimeStyles.RoundtripKind);
diff --git a/test/Cuemon.AspNetCore.FunctionalTests/Diagnostics/ApplicationBuilderExtensionsTest.cs b/test/Cuemon.AspNetCore.FunctionalTests/Diagnostics/ApplicationBuilderExtensionsTest.cs
index ed1514087..f4729c520 100644
--- a/test/Cuemon.AspNetCore.FunctionalTests/Diagnostics/ApplicationBuilderExtensionsTest.cs
+++ b/test/Cuemon.AspNetCore.FunctionalTests/Diagnostics/ApplicationBuilderExtensionsTest.cs
@@ -66,7 +66,7 @@ public async Task UseFaultDescriptorExceptionHandler_ShouldCaptureException_Rend
{
client.DefaultRequestHeaders.Accept.Add(MediaTypeWithQualityHeaderValue.Parse("application/json"));
return client.GetAsync("/");
- });
+ }, hostFixture: null);
var body = await response.Content.ReadAsStringAsync();
@@ -342,7 +342,7 @@ public async Task UseFaultDescriptorExceptionHandler_ShouldCaptureException_Rend
{
client.DefaultRequestHeaders.Accept.Add(MediaTypeWithQualityHeaderValue.Parse("application/json"));
return client.GetAsync("/");
- });
+ }, hostFixture: null);
var body = await response.Content.ReadAsStringAsync();
@@ -600,7 +600,7 @@ public async Task UseFaultDescriptorExceptionHandler_ShouldCaptureException_Rend
{
client.DefaultRequestHeaders.Accept.Add(MediaTypeWithQualityHeaderValue.Parse("application/xml"));
return client.GetAsync("/");
- });
+ }, hostFixture: null);
var body = await response.Content.ReadAsStringAsync();
@@ -690,7 +690,7 @@ public async Task UseFaultDescriptorExceptionHandler_ShouldCaptureException_Rend
{
client.DefaultRequestHeaders.Accept.Add(MediaTypeWithQualityHeaderValue.Parse("application/xml"));
return client.GetAsync("/");
- });
+ }, hostFixture: null);
var body = await response.Content.ReadAsStringAsync();
diff --git a/test/Cuemon.AspNetCore.Mvc.FunctionalTests/Filters/Diagnostics/FaultDescriptorFilterTest.cs b/test/Cuemon.AspNetCore.Mvc.FunctionalTests/Filters/Diagnostics/FaultDescriptorFilterTest.cs
index 3a4414a5f..cffb71cee 100644
--- a/test/Cuemon.AspNetCore.Mvc.FunctionalTests/Filters/Diagnostics/FaultDescriptorFilterTest.cs
+++ b/test/Cuemon.AspNetCore.Mvc.FunctionalTests/Filters/Diagnostics/FaultDescriptorFilterTest.cs
@@ -51,7 +51,7 @@ public async Task OnException_ShouldCaptureException_RenderAsProblemDetails_Usin
{
client.DefaultRequestHeaders.Accept.Add(MediaTypeWithQualityHeaderValue.Parse("application/json"));
return client.GetAsync("/statuscodes/XXX/serverError");
- });
+ }, hostFixture: null);
var body = await response.Content.ReadAsStringAsync();
TestOutput.WriteLine(body);
@@ -311,7 +311,7 @@ public async Task OnException_ShouldCaptureException_RenderAsDefault_UsingJson(F
{
client.DefaultRequestHeaders.Accept.Add(MediaTypeWithQualityHeaderValue.Parse("application/json"));
return client.GetAsync("/statuscodes/XXX/serverError");
- });
+ }, hostFixture: null);
var body = await response.Content.ReadAsStringAsync();
TestOutput.WriteLine(body);
@@ -584,7 +584,7 @@ public async Task OnException_ShouldCaptureException_RenderAsProblemDetails_Usin
{
client.DefaultRequestHeaders.Accept.Add(MediaTypeWithQualityHeaderValue.Parse("application/xml"));
return client.GetAsync("/statuscodes/XXX/serverError");
- });
+ }, hostFixture: null);
var body = await response.Content.ReadAsStringAsync();
TestOutput.WriteLine(body);
@@ -831,7 +831,7 @@ public async Task OnException_ShouldCaptureException_RenderAsDefault_UsingXml(Fa
{
client.DefaultRequestHeaders.Accept.Add(MediaTypeWithQualityHeaderValue.Parse("application/xml"));
return client.GetAsync("/statuscodes/XXX/serverError");
- });
+ }, hostFixture: null);
var body = await response.Content.ReadAsStringAsync();
TestOutput.WriteLine(body);
diff --git a/test/Cuemon.AspNetCore.Mvc.Tests/Filters/Cacheable/HttpCacheableFilterTest.cs b/test/Cuemon.AspNetCore.Mvc.Tests/Filters/Cacheable/HttpCacheableFilterTest.cs
index edb6f8d44..5b0e6dfa2 100644
--- a/test/Cuemon.AspNetCore.Mvc.Tests/Filters/Cacheable/HttpCacheableFilterTest.cs
+++ b/test/Cuemon.AspNetCore.Mvc.Tests/Filters/Cacheable/HttpCacheableFilterTest.cs
@@ -35,7 +35,7 @@ public async Task GetEtag_ShouldReturnOkWithEtagAndSubsequentlyNotModified(strin
{
app.UseRouting();
app.UseEndpoints(routes => { routes.MapControllers(); });
- }))
+ }, hostFixture: null))
{
var client = filter.Host.GetTestClient();
var result = await client.GetAsync(relativeEndpoint);
@@ -64,7 +64,7 @@ public async Task GetLastModified_ShouldReturnOkWithLastModifiedAndSubsequentlyN
{
app.UseRouting();
app.UseEndpoints(routes => { routes.MapControllers(); });
- }))
+ }, hostFixture: null))
{
var client = filter.Host.GetTestClient();
var result = await client.GetAsync("/fake/getCacheByLastModified");
diff --git a/test/Cuemon.AspNetCore.Mvc.Tests/Filters/Diagnostics/FaultDescriptorFilterTest.cs b/test/Cuemon.AspNetCore.Mvc.Tests/Filters/Diagnostics/FaultDescriptorFilterTest.cs
index 198b161eb..92a137afa 100644
--- a/test/Cuemon.AspNetCore.Mvc.Tests/Filters/Diagnostics/FaultDescriptorFilterTest.cs
+++ b/test/Cuemon.AspNetCore.Mvc.Tests/Filters/Diagnostics/FaultDescriptorFilterTest.cs
@@ -41,7 +41,7 @@ public async Task OnException_ShouldIncludeFailure_DifferentiateOnUseBaseExcepti
{
app.UseRouting();
app.UseEndpoints(routes => { routes.MapControllers(); });
- }))
+ }, hostFixture: null))
{
var client = filter.Host.GetTestClient();
var result = await client.GetAsync("/statuscodes/400");
@@ -109,7 +109,7 @@ public async Task OnException_ShouldCaptureUserAgentException_BadRequestMessage(
{
app.UseRouting();
app.UseEndpoints(routes => { routes.MapControllers(); });
- }))
+ }, hostFixture: null))
{
var client = filter.Host.GetTestClient();
var result = await client.GetAsync("/fake/it");
@@ -152,7 +152,7 @@ public async Task OnException_ShouldCaptureThrottlingException_TooManyRequests()
{
app.UseRouting();
app.UseEndpoints(routes => { routes.MapControllers(); });
- }))
+ }, hostFixture: null))
{
var client = filter.Host.GetTestClient();
var result = await client.GetAsync("/fake/it");
@@ -185,7 +185,7 @@ public async Task OnException_ShouldCaptureBadRequest()
{
app.UseRouting();
app.UseEndpoints(routes => { routes.MapControllers(); });
- }))
+ }, hostFixture: null))
{
var client = filter.Host.GetTestClient();
var result = await client.GetAsync("/statuscodes/400");
@@ -218,7 +218,7 @@ public async Task OnException_ShouldCaptureConflict()
{
app.UseRouting();
app.UseEndpoints(routes => { routes.MapControllers(); });
- }))
+ }, hostFixture: null))
{
var client = filter.Host.GetTestClient();
var result = await client.GetAsync("/statuscodes/409");
@@ -251,7 +251,7 @@ public async Task OnException_ShouldCaptureForbidden()
{
app.UseRouting();
app.UseEndpoints(routes => { routes.MapControllers(); });
- }))
+ }, hostFixture: null))
{
var client = filter.Host.GetTestClient();
var result = await client.GetAsync("/statuscodes/403");
@@ -284,7 +284,7 @@ public async Task OnException_ShouldCaptureGone()
{
app.UseRouting();
app.UseEndpoints(routes => { routes.MapControllers(); });
- }))
+ }, hostFixture: null))
{
var client = filter.Host.GetTestClient();
var result = await client.GetAsync("/statuscodes/410");
@@ -317,7 +317,7 @@ public async Task OnException_ShouldCaptureNotFound()
{
app.UseRouting();
app.UseEndpoints(routes => { routes.MapControllers(); });
- }))
+ }, hostFixture: null))
{
var client = filter.Host.GetTestClient();
var result = await client.GetAsync("/statuscodes/404");
@@ -350,7 +350,7 @@ public async Task OnException_ShouldCapturePayloadTooLarge()
{
app.UseRouting();
app.UseEndpoints(routes => { routes.MapControllers(); });
- }))
+ }, hostFixture: null))
{
var client = filter.Host.GetTestClient();
var result = await client.GetAsync("/statuscodes/413");
@@ -383,7 +383,7 @@ public async Task OnException_ShouldCapturePreconditionFailed()
{
app.UseRouting();
app.UseEndpoints(routes => { routes.MapControllers(); });
- }))
+ }, hostFixture: null))
{
var client = filter.Host.GetTestClient();
var result = await client.GetAsync("/statuscodes/412");
@@ -416,7 +416,7 @@ public async Task OnException_ShouldCapturePreconditionRequired()
{
app.UseRouting();
app.UseEndpoints(routes => { routes.MapControllers(); });
- }))
+ }, hostFixture: null))
{
var client = filter.Host.GetTestClient();
var result = await client.GetAsync("/statuscodes/428");
@@ -449,7 +449,7 @@ public async Task OnException_ShouldCaptureTooManyRequests()
{
app.UseRouting();
app.UseEndpoints(routes => { routes.MapControllers(); });
- }))
+ }, hostFixture: null))
{
var client = filter.Host.GetTestClient();
var result = await client.GetAsync("/statuscodes/429");
@@ -482,7 +482,7 @@ public async Task OnException_ShouldCaptureUnauthorized()
{
app.UseRouting();
app.UseEndpoints(routes => { routes.MapControllers(); });
- }))
+ }, hostFixture: null))
{
var client = filter.Host.GetTestClient();
var result = await client.GetAsync("/statuscodes/401");
@@ -515,7 +515,7 @@ public async Task OnException_ShouldCaptureMethodNotAllowed()
{
app.UseRouting();
app.UseEndpoints(routes => { routes.MapControllers(); });
- }))
+ }, hostFixture: null))
{
var client = filter.Host.GetTestClient();
var result = await client.GetAsync("/statuscodes/405");
@@ -548,7 +548,7 @@ public async Task OnException_ShouldCaptureNotAcceptable()
{
app.UseRouting();
app.UseEndpoints(routes => { routes.MapControllers(); });
- }))
+ }, hostFixture: null))
{
var client = filter.Host.GetTestClient();
var result = await client.GetAsync("/statuscodes/406");
@@ -581,7 +581,7 @@ public async Task OnException_ShouldCaptureGeneric()
{
app.UseRouting();
app.UseEndpoints(routes => { routes.MapControllers(); });
- }))
+ }, hostFixture: null))
{
var client = filter.Host.GetTestClient();
var result = await client.GetAsync("/statuscodes/XXX");
@@ -611,7 +611,7 @@ public async Task OnException_ShouldCaptureUnsupportedMediaType()
{
app.UseRouting();
app.UseEndpoints(routes => { routes.MapControllers(); });
- }))
+ }, hostFixture: null))
{
var client = filter.Host.GetTestClient();
var result = await client.GetAsync("/statuscodes/415");
diff --git a/test/Cuemon.AspNetCore.Mvc.Tests/Filters/Diagnostics/ServerTimingFilterTest.cs b/test/Cuemon.AspNetCore.Mvc.Tests/Filters/Diagnostics/ServerTimingFilterTest.cs
index 6874e7f67..e9faeb99c 100644
--- a/test/Cuemon.AspNetCore.Mvc.Tests/Filters/Diagnostics/ServerTimingFilterTest.cs
+++ b/test/Cuemon.AspNetCore.Mvc.Tests/Filters/Diagnostics/ServerTimingFilterTest.cs
@@ -51,7 +51,7 @@ public async Task OnActionExecutionAsync_ShouldTimeMeasureFakeControllerAndFicti
await next();
});
app.UseEndpoints(routes => { routes.MapControllers(); });
- }))
+ }, hostFixture: null))
{
var client = filter.Host.GetTestClient();
var profiler = await TimeMeasure.WithFuncAsync(client.GetAsync, "/fake/oneSecond");
@@ -78,7 +78,7 @@ public async Task OnActionExecutionAsync_ShouldTimeMeasureFakeController()
{
app.UseRouting();
app.UseEndpoints(routes => { routes.MapControllers(); });
- }))
+ }, hostFixture: null))
{
var client = filter.Host.GetTestClient();
var profiler = await TimeMeasure.WithFuncAsync(client.GetAsync, "/fake/oneSecond");
@@ -102,7 +102,7 @@ public async Task OnActionExecutionAsync_ShouldTimeMeasureFakeController_Automat
{
app.UseRouting();
app.UseEndpoints(routes => { routes.MapControllers(); });
- }))
+ }, hostFixture: null))
{
var client = filter.Host.GetTestClient();
var profiler = await TimeMeasure.WithFuncAsync(client.GetAsync, "/fake/oneSecondNoServerTimingFilter");
@@ -127,7 +127,7 @@ public async Task OnActionExecutionAsync_ShouldNotTimeMeasureFakeController_Auto
{
app.UseRouting();
app.UseEndpoints(routes => { routes.MapControllers(); });
- }))
+ }, hostFixture: null))
{
var client = filter.Host.GetTestClient();
var profiler = await TimeMeasure.WithFuncAsync(client.GetAsync, "/fake/oneSecondNoServerTimingFilter");
@@ -148,7 +148,7 @@ public async Task ServerTimingAttribute_ShouldTimeMeasureFakeController_GetAfter
{
app.UseRouting();
app.UseEndpoints(routes => { routes.MapControllers(); });
- }))
+ }, hostFixture: null))
{
var client = filter.Host.GetTestClient();
var profiler = await TimeMeasure.WithFuncAsync(client.GetAsync, "/fake/oneSecondAttribute");
@@ -173,7 +173,7 @@ public async Task ServerTimingAttribute_ShouldTimeMeasureFakeController_GetAfter
{
app.UseRouting();
app.UseEndpoints(routes => { routes.MapControllers(); });
- }))
+ }, hostFixture: null))
{
var client = filter.Host.GetTestClient();
var profiler = await TimeMeasure.WithFuncAsync(client.GetAsync, "/fake/oneSecondAttributeWithDefaults");
@@ -207,7 +207,7 @@ public async Task ServerTimingAttribute_ShouldTimeMeasureFakeController_GetAfter
{
app.UseRouting();
app.UseEndpoints(routes => { routes.MapControllers(); });
- }))
+ }, hostFixture: null))
{
var client = filter.Host.GetTestClient();
var profiler = await TimeMeasure.WithFuncAsync(client.GetAsync, "/fake/oneSecondAttributeWithDefaults");
@@ -265,7 +265,7 @@ public async Task ServerTimingAttribute_ShouldSuppressTimeMeasureFakeController_
{
app.UseRouting();
app.UseEndpoints(routes => { routes.MapControllers(); });
- }))
+ }, hostFixture: null))
{
var options = filter.ServiceProvider.GetRequiredService>();
var client = filter.Host.GetTestClient();
diff --git a/test/Cuemon.AspNetCore.Mvc.Tests/Filters/Headers/ApiKeySentinelFilterTest.cs b/test/Cuemon.AspNetCore.Mvc.Tests/Filters/Headers/ApiKeySentinelFilterTest.cs
index 707634232..e0863f4b7 100644
--- a/test/Cuemon.AspNetCore.Mvc.Tests/Filters/Headers/ApiKeySentinelFilterTest.cs
+++ b/test/Cuemon.AspNetCore.Mvc.Tests/Filters/Headers/ApiKeySentinelFilterTest.cs
@@ -38,7 +38,7 @@ public async Task OnAuthorizationAsync_ShouldProvideForbiddenResult_WithBadReque
{
app.UseRouting();
app.UseEndpoints(routes => { routes.MapControllers(); });
- }))
+ }, hostFixture: null))
{
var options = filter.ServiceProvider.GetRequiredService>();
var client = filter.Host.GetTestClient();
@@ -68,7 +68,7 @@ public async Task OnAuthorizationAsync_ShouldProvideForbiddenResult_WithForbidde
{
app.UseRouting();
app.UseEndpoints(routes => { routes.MapControllers(); });
- }))
+ }, hostFixture: null))
{
var options = filter.ServiceProvider.GetRequiredService>();
var client = filter.Host.GetTestClient();
@@ -101,7 +101,7 @@ public async Task OnAuthorizationAsync_ShouldProvideForbiddenResult_WithCustom_C
{
app.UseRouting();
app.UseEndpoints(routes => { routes.MapControllers(); });
- }))
+ }, hostFixture: null))
{
var options = filter.ServiceProvider.GetRequiredService>();
var client = filter.Host.GetTestClient();
@@ -135,7 +135,7 @@ public async Task OnAuthorizationAsync_ShouldProvideForbiddenResult_WithCustom_F
{
app.UseRouting();
app.UseEndpoints(routes => { routes.MapControllers(); });
- }))
+ }, hostFixture: null))
{
var options = filter.ServiceProvider.GetRequiredService>();
var client = filter.Host.GetTestClient();
@@ -167,7 +167,7 @@ public async Task OnAuthorizationAsync_ShouldProvideOkResult_ShouldAllowRequestA
{
app.UseRouting();
app.UseEndpoints(routes => { routes.MapControllers(); });
- }))
+ }, hostFixture: null))
{
var options = filter.ServiceProvider.GetRequiredService>();
var client = filter.Host.GetTestClient();
@@ -194,7 +194,7 @@ public async Task OnAuthorizationAsync_ShouldProvideForbiddenResult_UsingApiKeyS
{
app.UseRouting();
app.UseEndpoints(routes => { routes.MapControllers(); });
- }))
+ }, hostFixture: null))
{
var options = filter.ServiceProvider.GetRequiredService>();
var client = filter.Host.GetTestClient();
diff --git a/test/Cuemon.AspNetCore.Mvc.Tests/Filters/Headers/UserAgentSentinelFilterTest.cs b/test/Cuemon.AspNetCore.Mvc.Tests/Filters/Headers/UserAgentSentinelFilterTest.cs
index 462b4ae29..5d880b088 100644
--- a/test/Cuemon.AspNetCore.Mvc.Tests/Filters/Headers/UserAgentSentinelFilterTest.cs
+++ b/test/Cuemon.AspNetCore.Mvc.Tests/Filters/Headers/UserAgentSentinelFilterTest.cs
@@ -41,7 +41,7 @@ public async Task OnActionExecutionAsync_ShouldCaptureUserAgentException_BadRequ
{
app.UseRouting();
app.UseEndpoints(routes => { routes.MapControllers(); });
- }))
+ }, hostFixture: null))
{
var options = filter.ServiceProvider.GetRequiredService>();
var client = filter.Host.GetTestClient();
@@ -78,7 +78,7 @@ public async Task OnActionExecutionAsync_ShouldCaptureUserAgentException_Forbidd
{
app.UseRouting();
app.UseEndpoints(routes => { routes.MapControllers(); });
- }))
+ }, hostFixture: null))
{
var options = filter.ServiceProvider.GetRequiredService>();
var client = filter.Host.GetTestClient();
@@ -107,7 +107,7 @@ public async Task OnActionExecutionAsync_ShouldThrowUserAgentException_BadReques
{
app.UseRouting();
app.UseEndpoints(routes => { routes.MapControllers(); });
- }))
+ }, hostFixture: null))
{
var options = filter.ServiceProvider.GetRequiredService>();
var client = filter.Host.GetTestClient();
@@ -140,7 +140,7 @@ public async Task OnActionExecutionAsync_ShouldThrowUserAgentException_Forbidden
{
app.UseRouting();
app.UseEndpoints(routes => { routes.MapControllers(); });
- }))
+ }, hostFixture: null))
{
var options = filter.ServiceProvider.GetRequiredService>();
var client = filter.Host.GetTestClient();
@@ -177,7 +177,7 @@ public async Task OnActionExecutionAsync_ShouldThrowUserAgentException_BadReques
{
app.UseRouting();
app.UseEndpoints(routes => { routes.MapControllers(); });
- }))
+ }, hostFixture: null))
{
var options = filter.ServiceProvider.GetRequiredService>();
var client = filter.Host.GetTestClient();
@@ -205,7 +205,7 @@ public async Task OnActionExecutionAsync_ShouldAllowRequestUnconditional()
{
app.UseRouting();
app.UseEndpoints(routes => { routes.MapControllers(); });
- }))
+ }, hostFixture: null))
{
var options = filter.ServiceProvider.GetRequiredService>();
@@ -232,7 +232,7 @@ public async Task OnActionExecutionAsync_ShouldAllowRequestAfterBeingValidated()
{
app.UseRouting();
app.UseEndpoints(routes => { routes.MapControllers(); });
- }))
+ }, hostFixture: null))
{
var options = filter.ServiceProvider.GetRequiredService>();
var client = filter.Host.GetTestClient();
diff --git a/test/Cuemon.AspNetCore.Mvc.Tests/Filters/Throttling/ThrottlingSentinelAttributeTest.cs b/test/Cuemon.AspNetCore.Mvc.Tests/Filters/Throttling/ThrottlingSentinelAttributeTest.cs
index ba5521622..792b75a83 100644
--- a/test/Cuemon.AspNetCore.Mvc.Tests/Filters/Throttling/ThrottlingSentinelAttributeTest.cs
+++ b/test/Cuemon.AspNetCore.Mvc.Tests/Filters/Throttling/ThrottlingSentinelAttributeTest.cs
@@ -100,7 +100,7 @@ public async Task Bearer_VerifyHeadersAreSetCorrectly()
{
app.UseRouting();
app.UseEndpoints(routes => { routes.MapControllers(); });
- }))
+ }, hostFixture: null))
{
var client = filter.Host.GetTestClient();
diff --git a/test/Cuemon.AspNetCore.Mvc.Tests/Filters/Throttling/ThrottlingSentinelFilterTest.cs b/test/Cuemon.AspNetCore.Mvc.Tests/Filters/Throttling/ThrottlingSentinelFilterTest.cs
index 455179428..b6d67e2f1 100644
--- a/test/Cuemon.AspNetCore.Mvc.Tests/Filters/Throttling/ThrottlingSentinelFilterTest.cs
+++ b/test/Cuemon.AspNetCore.Mvc.Tests/Filters/Throttling/ThrottlingSentinelFilterTest.cs
@@ -48,7 +48,7 @@ public async Task OnActionExecutionAsync_ShouldCaptureThrottlingException()
{
app.UseRouting();
app.UseEndpoints(routes => { routes.MapControllers(); });
- }))
+ }, hostFixture: null))
{
var client = filter.Host.GetTestClient();
@@ -99,7 +99,7 @@ public async Task OnActionExecutionAsync_ShouldThrowThrottlingException()
{
app.UseRouting();
app.UseEndpoints(routes => { routes.MapControllers(); });
- }))
+ }, hostFixture: null))
{
var client = filter.Host.GetTestClient();
diff --git a/test/Cuemon.AspNetCore.Mvc.Tests/GoneResultTest.cs b/test/Cuemon.AspNetCore.Mvc.Tests/GoneResultTest.cs
index 98911830f..ec3efb194 100644
--- a/test/Cuemon.AspNetCore.Mvc.Tests/GoneResultTest.cs
+++ b/test/Cuemon.AspNetCore.Mvc.Tests/GoneResultTest.cs
@@ -20,7 +20,7 @@ public GoneResultTest(ITestOutputHelper output) : base(output)
[Fact]
public async Task ExecuteResultAsync_ShouldReturnStatusCode303AndLocationUri()
{
- using (var host = WebHostTestFactory.Create())
+ using (var host = WebHostTestFactory.Create(hostFixture: null))
{
var context = host.ServiceProvider.GetRequiredService().HttpContext;
var sut = new GoneResult();
diff --git a/test/Cuemon.AspNetCore.Razor.TagHelpers.Tests/AppImageTagHelperTest.cs b/test/Cuemon.AspNetCore.Razor.TagHelpers.Tests/AppImageTagHelperTest.cs
index db20a5b33..279ba020c 100644
--- a/test/Cuemon.AspNetCore.Razor.TagHelpers.Tests/AppImageTagHelperTest.cs
+++ b/test/Cuemon.AspNetCore.Razor.TagHelpers.Tests/AppImageTagHelperTest.cs
@@ -37,7 +37,7 @@ public async Task Page_RenderImageTagForAppRole()
{
app.UseRouting();
app.UseEndpoints(endpoints => { endpoints.MapRazorPages(); });
- }))
+ }, hostFixture: null))
{
var client = filter.Host.GetTestClient();
var result = await client.GetAsync("/AppImageTagHelper");
@@ -70,7 +70,7 @@ public async Task Page_RenderImageTagForAppRole_WithCacheBusting()
{
app.UseRouting();
app.UseEndpoints(endpoints => { endpoints.MapRazorPages(); });
- }))
+ }, hostFixture: null))
{
var client = filter.Host.GetTestClient();
var result = await client.GetAsync("/AppImageTagHelper");
diff --git a/test/Cuemon.AspNetCore.Razor.TagHelpers.Tests/AppLinkTagHelperTest.cs b/test/Cuemon.AspNetCore.Razor.TagHelpers.Tests/AppLinkTagHelperTest.cs
index 2acb5996d..4e3259e3d 100644
--- a/test/Cuemon.AspNetCore.Razor.TagHelpers.Tests/AppLinkTagHelperTest.cs
+++ b/test/Cuemon.AspNetCore.Razor.TagHelpers.Tests/AppLinkTagHelperTest.cs
@@ -37,7 +37,7 @@ public async Task Page_RenderLinkTagForAppRole()
{
app.UseRouting();
app.UseEndpoints(endpoints => { endpoints.MapRazorPages(); });
- }))
+ }, hostFixture: null))
{
var client = filter.Host.GetTestClient();
var result = await client.GetAsync("/AppLinkTagHelper");
@@ -70,7 +70,7 @@ public async Task Page_RenderLinkTagForAppRole_WithCacheBusting()
{
app.UseRouting();
app.UseEndpoints(endpoints => { endpoints.MapRazorPages(); });
- }))
+ }, hostFixture: null))
{
var client = filter.Host.GetTestClient();
var result = await client.GetAsync("/AppLinkTagHelper");
diff --git a/test/Cuemon.AspNetCore.Razor.TagHelpers.Tests/AppScriptTagHelperTest.cs b/test/Cuemon.AspNetCore.Razor.TagHelpers.Tests/AppScriptTagHelperTest.cs
index a557335ae..e76d10030 100644
--- a/test/Cuemon.AspNetCore.Razor.TagHelpers.Tests/AppScriptTagHelperTest.cs
+++ b/test/Cuemon.AspNetCore.Razor.TagHelpers.Tests/AppScriptTagHelperTest.cs
@@ -37,7 +37,7 @@ public async Task Page_RenderScriptTagForAppRole()
{
app.UseRouting();
app.UseEndpoints(endpoints => { endpoints.MapRazorPages(); });
- }))
+ }, hostFixture: null))
{
var client = filter.Host.GetTestClient();
var result = await client.GetAsync("/AppScriptTagHelper");
@@ -70,7 +70,7 @@ public async Task Page_RenderScriptTagForAppRole_WithCacheBusting()
{
app.UseRouting();
app.UseEndpoints(endpoints => { endpoints.MapRazorPages(); });
- }))
+ }, hostFixture: null))
{
var client = filter.Host.GetTestClient();
var result = await client.GetAsync("/AppScriptTagHelper");
diff --git a/test/Cuemon.AspNetCore.Razor.TagHelpers.Tests/CdnImageTagHelperTest.cs b/test/Cuemon.AspNetCore.Razor.TagHelpers.Tests/CdnImageTagHelperTest.cs
index 4c0040b3c..f758ddb3b 100644
--- a/test/Cuemon.AspNetCore.Razor.TagHelpers.Tests/CdnImageTagHelperTest.cs
+++ b/test/Cuemon.AspNetCore.Razor.TagHelpers.Tests/CdnImageTagHelperTest.cs
@@ -37,7 +37,7 @@ public async Task Page_RenderImageTagForCdnRole()
{
app.UseRouting();
app.UseEndpoints(endpoints => { endpoints.MapRazorPages(); });
- }))
+ }, hostFixture: null))
{
var client = filter.Host.GetTestClient();
var result = await client.GetAsync("/CdnImageTagHelper");
@@ -70,7 +70,7 @@ public async Task Page_RenderImageTagForCdnRole_WithCacheBusting()
{
app.UseRouting();
app.UseEndpoints(endpoints => { endpoints.MapRazorPages(); });
- }))
+ }, hostFixture: null))
{
var client = filter.Host.GetTestClient();
var result = await client.GetAsync("/CdnImageTagHelper");
diff --git a/test/Cuemon.AspNetCore.Razor.TagHelpers.Tests/CdnLinkTagHelperTest.cs b/test/Cuemon.AspNetCore.Razor.TagHelpers.Tests/CdnLinkTagHelperTest.cs
index c16c9b9a0..4ce2e3f93 100644
--- a/test/Cuemon.AspNetCore.Razor.TagHelpers.Tests/CdnLinkTagHelperTest.cs
+++ b/test/Cuemon.AspNetCore.Razor.TagHelpers.Tests/CdnLinkTagHelperTest.cs
@@ -37,7 +37,7 @@ public async Task Page_RenderLinkTagForCdnRole()
{
app.UseRouting();
app.UseEndpoints(endpoints => { endpoints.MapRazorPages(); });
- }))
+ }, hostFixture: null))
{
var client = filter.Host.GetTestClient();
var result = await client.GetAsync("/CdnLinkTagHelper");
@@ -70,7 +70,7 @@ public async Task Page_RenderLinkTagForCdnRole_WithCacheBusting()
{
app.UseRouting();
app.UseEndpoints(endpoints => { endpoints.MapRazorPages(); });
- }))
+ }, hostFixture: null))
{
var client = filter.Host.GetTestClient();
var result = await client.GetAsync("/CdnLinkTagHelper");
diff --git a/test/Cuemon.AspNetCore.Razor.TagHelpers.Tests/CdnScriptTagHelperTest.cs b/test/Cuemon.AspNetCore.Razor.TagHelpers.Tests/CdnScriptTagHelperTest.cs
index 2a0b3abed..211f81d52 100644
--- a/test/Cuemon.AspNetCore.Razor.TagHelpers.Tests/CdnScriptTagHelperTest.cs
+++ b/test/Cuemon.AspNetCore.Razor.TagHelpers.Tests/CdnScriptTagHelperTest.cs
@@ -37,7 +37,7 @@ public async Task Page_RenderScriptTagForCdnRole()
{
app.UseRouting();
app.UseEndpoints(endpoints => { endpoints.MapRazorPages(); });
- }))
+ }, hostFixture: null))
{
var client = filter.Host.GetTestClient();
var result = await client.GetAsync("/CdnScriptTagHelper");
@@ -70,7 +70,7 @@ public async Task Page_RenderScriptTagForCdnRole_WithCacheBusting()
{
app.UseRouting();
app.UseEndpoints(endpoints => { endpoints.MapRazorPages(); });
- }))
+ }, hostFixture: null))
{
var client = filter.Host.GetTestClient();
var result = await client.GetAsync("/CdnScriptTagHelper");
diff --git a/test/Cuemon.AspNetCore.Razor.TagHelpers.Tests/GenericRazorTest.cs b/test/Cuemon.AspNetCore.Razor.TagHelpers.Tests/GenericRazorTest.cs
index 2e4488653..ada86e758 100644
--- a/test/Cuemon.AspNetCore.Razor.TagHelpers.Tests/GenericRazorTest.cs
+++ b/test/Cuemon.AspNetCore.Razor.TagHelpers.Tests/GenericRazorTest.cs
@@ -43,7 +43,7 @@ public async Task Index_VerifyCachingWorks()
{
app.UseRouting();
app.UseEndpoints(endpoints => { endpoints.MapRazorPages(); });
- }))
+ }, hostFixture: null))
{
var client = filter.Host.GetTestClient();
var result = await client.GetAsync("/Index");
diff --git a/test/Cuemon.AspNetCore.Tests/Diagnostics/ServerTimingMiddlewareTest.cs b/test/Cuemon.AspNetCore.Tests/Diagnostics/ServerTimingMiddlewareTest.cs
index da1a28dd9..80940f66e 100644
--- a/test/Cuemon.AspNetCore.Tests/Diagnostics/ServerTimingMiddlewareTest.cs
+++ b/test/Cuemon.AspNetCore.Tests/Diagnostics/ServerTimingMiddlewareTest.cs
@@ -50,7 +50,7 @@ public async Task InvokeAsync_ShouldMimicSimpleAspNetProject()
Thread.Sleep(400);
return context.Response.WriteAsync("Hello World!");
});
- }).ConfigureAwait(false);
+ }, hostFixture: null).ConfigureAwait(false);
Assert.StartsWith("use-middleware;dur=", response.Headers.Single(kvp => kvp.Key == ServerTiming.HeaderName).Value.FirstOrDefault());
}
@@ -74,7 +74,7 @@ public async Task InvokeAsync_ShouldProviderServerTimingHeaderWithMetrics()
});
app.UseServerTiming();
- }).ConfigureAwait(false);
+ }, hostFixture: null).ConfigureAwait(false);
var header = response.Headers.GetValues(ServerTiming.HeaderName).ToArray();
@@ -103,7 +103,7 @@ public async Task InvokeAsync_ShouldExcludeServerTimingHeaderWithMetrics_ButIncl
await next(context);
});
app.UseServerTiming();
- });
+ }, hostFixture: null);
{
var logger = webApp.ServiceProvider.GetRequiredService>();
var loggerStore = logger.GetTestStore();
@@ -139,7 +139,7 @@ public async Task InvokeAsync_ShouldNotProviderServerTimingHeaderWithMetrics()
await next(context);
});
//app.UseServerTiming();
- }).ConfigureAwait(false);
+ }, hostFixture: null).ConfigureAwait(false);
response.Headers.TryGetValues(ServerTiming.HeaderName, out var serverTimingHeader);
diff --git a/test/Cuemon.AspNetCore.Tests/Http/Headers/ApiKeySentinelMiddlewareTest.cs b/test/Cuemon.AspNetCore.Tests/Http/Headers/ApiKeySentinelMiddlewareTest.cs
index 8af8cc0ea..b21fb677a 100644
--- a/test/Cuemon.AspNetCore.Tests/Http/Headers/ApiKeySentinelMiddlewareTest.cs
+++ b/test/Cuemon.AspNetCore.Tests/Http/Headers/ApiKeySentinelMiddlewareTest.cs
@@ -29,7 +29,7 @@ public async Task InvokeAsync_ShouldThrowApiKeyException_BadRequest()
using (var middleware = WebHostTestFactory.Create(pipelineSetup: app =>
{
app.UseApiKeySentinel();
- }))
+ }, hostFixture: null))
{
var context = middleware.ServiceProvider.GetRequiredService().HttpContext;
var options = middleware.ServiceProvider.GetRequiredService>();
@@ -55,7 +55,7 @@ public async Task InvokeAsync_ShouldThrowApiKeyException_Forbidden()
}, app =>
{
app.UseApiKeySentinel();
- }))
+ }, hostFixture: null))
{
var context = middleware.ServiceProvider.GetRequiredService().HttpContext;
var options = middleware.ServiceProvider.GetRequiredService>();
@@ -86,7 +86,7 @@ public async Task InvokeAsync_ShouldCaptureApiKeyException_Forbidden()
app.UseFaultDescriptorExceptionHandler();
app.UseApiKeySentinel();
- }))
+ }, hostFixture: null))
{
var context = middleware.ServiceProvider.GetRequiredService().HttpContext;
var options = middleware.ServiceProvider.GetRequiredService>();
@@ -112,7 +112,7 @@ public async Task InvokeAsync_ShouldCaptureApiKeyException_BadRequest()
app.UseFaultDescriptorExceptionHandler();
app.UseApiKeySentinel();
- }))
+ }, hostFixture: null))
{
var context = middleware.ServiceProvider.GetRequiredService().HttpContext;
var options = middleware.ServiceProvider.GetRequiredService>();
@@ -140,7 +140,7 @@ public async Task InvokeAsync_ShouldThrowApiKeyException_BadRequest_BecauseOfUse
}, app =>
{
app.UseApiKeySentinel();
- }))
+ }, hostFixture: null))
{
var context = middleware.ServiceProvider.GetRequiredService().HttpContext;
var options = middleware.ServiceProvider.GetRequiredService>();
@@ -171,7 +171,7 @@ public async Task InvokeAsync_ShouldNotAllowRequest()
context.Response.StatusCode = 200;
return Task.CompletedTask;
});
- }))
+ }, hostFixture: null))
{
var context = middleware.ServiceProvider.GetRequiredService().HttpContext;
var options = middleware.ServiceProvider.GetRequiredService>();
@@ -201,7 +201,7 @@ public async Task InvokeAsync_ShouldAllowRequestAfterBeingValidated()
context.Response.StatusCode = 200;
return Task.CompletedTask;
});
- }))
+ }, hostFixture: null))
{
var context = middleware.ServiceProvider.GetRequiredService().HttpContext;
var options = middleware.ServiceProvider.GetRequiredService>();
diff --git a/test/Cuemon.AspNetCore.Tests/Http/Headers/CacheableMiddlewareTest.cs b/test/Cuemon.AspNetCore.Tests/Http/Headers/CacheableMiddlewareTest.cs
index 377df9648..c0a8cc7cd 100644
--- a/test/Cuemon.AspNetCore.Tests/Http/Headers/CacheableMiddlewareTest.cs
+++ b/test/Cuemon.AspNetCore.Tests/Http/Headers/CacheableMiddlewareTest.cs
@@ -54,7 +54,7 @@ await WebHostTestFactory.RunAsync(pipelineSetup: app =>
return Task.CompletedTask;
});
- });
+ }, hostFixture: null);
Assert.Equal("no-transform, public, must-revalidate, max-age=604800", cacheControlHeaderValue);
@@ -90,7 +90,7 @@ await WebHostTestFactory.RunAsync(pipelineSetup: app =>
return Task.CompletedTask;
});
- });
+ }, hostFixture: null);
Assert.Equal("no-transform, public, must-revalidate, max-age=604800", cacheControlHeaderValue);
@@ -130,7 +130,7 @@ await WebHostTestFactory.RunAsync(pipelineSetup: app =>
return Task.CompletedTask;
});
- });
+ }, hostFixture: null);
Assert.Null(cacheControlHeaderValue);
@@ -153,7 +153,7 @@ public async Task InvokeAsync_ShouldUseDefaultCacheControl_WithEtagValidator()
{
await context.Response.WriteAsync("This is a test.");
});
- }))
+ }, hostFixture: null))
{
var context = middleware.ServiceProvider.GetRequiredService().HttpContext;
var pipeline = middleware.Application.Build();
@@ -195,7 +195,7 @@ public async Task InvokeAsync_ShouldUseDefaultCacheControl_WithEtagValidator_Exp
context.Request.Headers.Add(HeaderNames.IfNoneMatch, "\"88b96039b6d7d57e7c7f30f4198882d5\"");
await context.Response.WriteAsync("This is a test.");
});
- }))
+ }, hostFixture: null))
{
var context = middleware.ServiceProvider.GetRequiredService().HttpContext;
var pipeline = middleware.Application.Build();
diff --git a/test/Cuemon.AspNetCore.Tests/Http/Headers/UserAgentSentinelMiddlewareTest.cs b/test/Cuemon.AspNetCore.Tests/Http/Headers/UserAgentSentinelMiddlewareTest.cs
index fd1adc683..19d0d212e 100644
--- a/test/Cuemon.AspNetCore.Tests/Http/Headers/UserAgentSentinelMiddlewareTest.cs
+++ b/test/Cuemon.AspNetCore.Tests/Http/Headers/UserAgentSentinelMiddlewareTest.cs
@@ -32,7 +32,7 @@ public async Task InvokeAsync_ShouldThrowUserAgentException_BadRequest()
}, app =>
{
app.UseUserAgentSentinel();
- }))
+ }, hostFixture: null))
{
var context = middleware.ServiceProvider.GetRequiredService().HttpContext;
var options = middleware.ServiceProvider.GetRequiredService>();
@@ -62,7 +62,7 @@ public async Task InvokeAsync_ShouldThrowUserAgentException_Forbidden()
}, app =>
{
app.UseUserAgentSentinel();
- }))
+ }, hostFixture: null))
{
var context = middleware.ServiceProvider.GetRequiredService().HttpContext;
var options = middleware.ServiceProvider.GetRequiredService>();
@@ -96,7 +96,7 @@ public async Task InvokeAsync_ShouldCaptureUserAgentException_Forbidden()
app.UseFaultDescriptorExceptionHandler();
app.UseUserAgentSentinel();
- }))
+ }, hostFixture: null))
{
var context = middleware.ServiceProvider.GetRequiredService().HttpContext;
var options = middleware.ServiceProvider.GetRequiredService>();
@@ -128,7 +128,7 @@ public async Task InvokeAsync_ShouldCaptureUserAgentException_BadRequest()
app.UseFaultDescriptorExceptionHandler();
app.UseUserAgentSentinel();
- }))
+ }, hostFixture: null))
{
var context = middleware.ServiceProvider.GetRequiredService().HttpContext;
var options = middleware.ServiceProvider.GetRequiredService>();
@@ -159,7 +159,7 @@ public async Task InvokeAsync_ShouldThrowUserAgentException_BadRequest_BecauseOf
}, app =>
{
app.UseUserAgentSentinel();
- }))
+ }, hostFixture: null))
{
var context = middleware.ServiceProvider.GetRequiredService().HttpContext;
var options = middleware.ServiceProvider.GetRequiredService>();
@@ -190,7 +190,7 @@ public async Task InvokeAsync_ShouldAllowRequestUnconditional()
context.Response.StatusCode = 200;
return Task.CompletedTask;
});
- }))
+ }, hostFixture: null))
{
var context = middleware.ServiceProvider.GetRequiredService().HttpContext;
var options = middleware.ServiceProvider.GetRequiredService>();
@@ -222,7 +222,7 @@ public async Task InvokeAsync_ShouldAllowRequestAfterBeingValidated()
context.Response.StatusCode = 200;
return Task.CompletedTask;
});
- }))
+ }, hostFixture: null))
{
var context = middleware.ServiceProvider.GetRequiredService().HttpContext;
var options = middleware.ServiceProvider.GetRequiredService>();
diff --git a/test/Cuemon.AspNetCore.Tests/Http/Throttling/ThrottlingSentinelMiddlewareTest.cs b/test/Cuemon.AspNetCore.Tests/Http/Throttling/ThrottlingSentinelMiddlewareTest.cs
index 54240e419..80124333e 100644
--- a/test/Cuemon.AspNetCore.Tests/Http/Throttling/ThrottlingSentinelMiddlewareTest.cs
+++ b/test/Cuemon.AspNetCore.Tests/Http/Throttling/ThrottlingSentinelMiddlewareTest.cs
@@ -35,7 +35,7 @@ public async Task InvokeAsync_ShouldThrowThrottlingException_TooManyRequests()
}, app =>
{
app.UseThrottlingSentinel();
- }))
+ }, hostFixture: null))
{
var context = middleware.ServiceProvider.GetRequiredService().HttpContext;
var options = middleware.ServiceProvider.GetRequiredService>();
@@ -76,7 +76,7 @@ public async Task InvokeAsync_ShouldCaptureThrottlingException_TooManyRequests()
{
app.UseFaultDescriptorExceptionHandler();
app.UseThrottlingSentinel();
- }))
+ }, hostFixture: null))
{
var context = middleware.ServiceProvider.GetRequiredService().HttpContext;
var options = middleware.ServiceProvider.GetRequiredService>();
@@ -123,7 +123,7 @@ public async Task InvokeAsync_ShouldRehydrate()
context.Response.StatusCode = 200;
return Task.CompletedTask;
});
- }))
+ }, hostFixture: null))
{
var context = middleware.ServiceProvider.GetRequiredService().HttpContext;
var options = middleware.ServiceProvider.GetRequiredService>();
diff --git a/test/Cuemon.Core.Tests/DisposableTest.cs b/test/Cuemon.Core.Tests/DisposableTest.cs
index 43a1cdf2b..7823d4701 100644
--- a/test/Cuemon.Core.Tests/DisposableTest.cs
+++ b/test/Cuemon.Core.Tests/DisposableTest.cs
@@ -170,8 +170,9 @@ public void UnmanagedDisposable_VerifyThatAssetIsBeingDisposedOnFinalize()
}
finally
{
- GC.Collect(0, GCCollectionMode.Forced);
+ GC.Collect(GC.MaxGeneration, GCCollectionMode.Forced);
GC.WaitForPendingFinalizers();
+ Task.Delay(500).Wait(); // Add a small delay
}
if (unmanaged.TryGetTarget(out var ud2))
diff --git a/test/Cuemon.Extensions.AspNetCore.Authentication.Tests/ApplicationBuilderExtensionsTest.cs b/test/Cuemon.Extensions.AspNetCore.Authentication.Tests/ApplicationBuilderExtensionsTest.cs
index 222081031..286801d1a 100644
--- a/test/Cuemon.Extensions.AspNetCore.Authentication.Tests/ApplicationBuilderExtensionsTest.cs
+++ b/test/Cuemon.Extensions.AspNetCore.Authentication.Tests/ApplicationBuilderExtensionsTest.cs
@@ -29,7 +29,7 @@ public void UseBasicAuthentication_ShouldAddBasicAuthenticationMiddlewareAndBasi
o.Authenticator = (username, password) => ClaimsPrincipal.Current;
o.RequireSecureConnection = false;
});
- }))
+ }, hostFixture: null))
{
var options = host.ServiceProvider.GetRequiredService>();
var middleware = host.Application.Build();
@@ -55,7 +55,7 @@ public void UseDigestAuthentication_ShouldAddDigestAuthenticationMiddlewareAndDi
};
o.RequireSecureConnection = false;
});
- }))
+ }, hostFixture: null))
{
var options = host.ServiceProvider.GetRequiredService>();
var middleware = host.Application.Build();
@@ -81,7 +81,7 @@ public void UseHmacAuthentication_ShouldAddHmacAuthenticationMiddlewareAndHmacAu
};
o.RequireSecureConnection = false;
});
- }))
+ }, hostFixture: null))
{
var options = host.ServiceProvider.GetRequiredService>();
var middleware = host.Application.Build();
diff --git a/test/Cuemon.Extensions.AspNetCore.Authentication.Tests/AuthenticationBuilderExtensionsTest.cs b/test/Cuemon.Extensions.AspNetCore.Authentication.Tests/AuthenticationBuilderExtensionsTest.cs
index 7218aa3e3..5e5313fdb 100644
--- a/test/Cuemon.Extensions.AspNetCore.Authentication.Tests/AuthenticationBuilderExtensionsTest.cs
+++ b/test/Cuemon.Extensions.AspNetCore.Authentication.Tests/AuthenticationBuilderExtensionsTest.cs
@@ -28,7 +28,7 @@ public void AddBasic_ShouldAddBasicAuthenticationHandlerAndBasicAuthenticationOp
{
o.Authenticator = (username, password) => ClaimsPrincipal.Current;
});
- }))
+ }, hostFixture: null))
{
var options = host.ServiceProvider.GetRequiredScopedService>().Get(BasicAuthorizationHeader.Scheme);
var handler = host.ServiceProvider.GetRequiredService();
@@ -55,7 +55,7 @@ public void AddDigestAccess_ShouldAddDigestAuthenticationHandlerAndDigestAuthent
return ClaimsPrincipal.Current;
};
});
- }))
+ }, hostFixture: null))
{
var options = host.ServiceProvider.GetRequiredScopedService>().Get(DigestAuthorizationHeader.Scheme);
var handler = host.ServiceProvider.GetRequiredService();
@@ -81,7 +81,7 @@ public void AddHmac_ShouldAddHmacAuthenticationHandlerAndHmacAuthenticationOptio
return ClaimsPrincipal.Current;
};
});
- }))
+ }, hostFixture: null))
{
var options = host.ServiceProvider.GetRequiredScopedService>().Get(HmacFields.Scheme);
var handler = host.ServiceProvider.GetRequiredService();
diff --git a/test/Cuemon.Extensions.AspNetCore.Authentication.Tests/AuthorizationResponseHandlerTest.cs b/test/Cuemon.Extensions.AspNetCore.Authentication.Tests/AuthorizationResponseHandlerTest.cs
index 2e6b812dd..87082ce8e 100644
--- a/test/Cuemon.Extensions.AspNetCore.Authentication.Tests/AuthorizationResponseHandlerTest.cs
+++ b/test/Cuemon.Extensions.AspNetCore.Authentication.Tests/AuthorizationResponseHandlerTest.cs
@@ -67,7 +67,7 @@ public async void AuthorizationResponseHandler_BasicScheme_ShouldRenderResponseU
{
endpoints.MapGet("/", context => context.Response.WriteAsync($"Hello {context.User.Identity!.Name}"));
});
- }))
+ }, hostFixture: null))
{
var client = startup.Host.GetTestClient();
var bb = new BasicAuthorizationHeaderBuilder()
@@ -146,7 +146,7 @@ public async void AuthorizationResponseHandler_BasicScheme_ShouldRenderResponseU
{
endpoints.MapGet("/", context => context.Response.WriteAsync($"Hello {context.User.Identity!.Name}"));
});
- }))
+ }, hostFixture: null))
{
var client = startup.Host.GetTestClient();
var bb = new BasicAuthorizationHeaderBuilder()
@@ -223,7 +223,7 @@ public async void AuthorizationResponseHandler_BasicScheme_ShouldRenderResponseU
{
endpoints.MapGet("/", context => context.Response.WriteAsync($"Hello {context.User.Identity!.Name}"));
});
- }))
+ }, hostFixture: null))
{
var client = startup.Host.GetTestClient();
var bb = new BasicAuthorizationHeaderBuilder()
@@ -293,7 +293,7 @@ public async void AuthorizationResponseHandler_BasicScheme_ShouldRenderResponseI
{
endpoints.MapGet("/", context => context.Response.WriteAsync($"Hello {context.User.Identity!.Name}"));
});
- }))
+ }, hostFixture: null))
{
var client = startup.Host.GetTestClient();
var bb = new BasicAuthorizationHeaderBuilder()
@@ -385,7 +385,7 @@ public async void AuthorizationResponseHandler_BasicScheme_ShouldRenderResponseI
{
endpoints.MapGet("/", context => context.Response.WriteAsync($"Hello {context.User.Identity!.Name}"));
});
- }))
+ }, hostFixture: null))
{
var client = startup.Host.GetTestClient();
var bb = new BasicAuthorizationHeaderBuilder()
@@ -477,7 +477,7 @@ public async void AuthorizationResponseHandler_BasicScheme_ShouldAuthorizeWithTe
{
endpoints.MapGet("/", context => context.Response.WriteAsync($"Hello {context.User.Identity!.Name}"));
});
- }))
+ }, hostFixture: null))
{
var client = startup.Host.GetTestClient();
var bb = new BasicAuthorizationHeaderBuilder()
@@ -535,7 +535,7 @@ public async void AuthorizationResponseHandler_DigestScheme_ShouldAuthorizeWithT
{
endpoints.MapGet("/", context => context.Response.WriteAsync($"Hello {context.User.Identity!.Name}"));
});
- }))
+ }, hostFixture: null))
{
var client = startup.Host.GetTestClient();
var options = startup.ServiceProvider.GetRequiredScopedService>().Get(DigestAuthorizationHeader.Scheme);
@@ -615,7 +615,7 @@ public async void AuthorizationResponseHandler_DigestScheme_ShouldRenderResponse
{
endpoints.MapGet("/", context => context.Response.WriteAsync($"Hello {context.User.Identity!.Name}"));
});
- }))
+ }, hostFixture: null))
{
var client = startup.Host.GetTestClient();
@@ -728,7 +728,7 @@ public async void AuthorizationResponseHandler_HmacScheme_ShouldAuthorizeWithTes
{
endpoints.MapGet("/", context => context.Response.WriteAsync($"Hello {context.User.Identity!.Name}"));
});
- }))
+ }, hostFixture: null))
{
var client = startup.Host.GetTestClient();
@@ -798,7 +798,7 @@ public async void AuthorizationResponseHandler_HmacScheme_ShouldRenderResponseIn
{
endpoints.MapGet("/", context => context.Response.WriteAsync($"Hello {context.User.Identity!.Name}"));
});
- }))
+ }, hostFixture: null))
{
var client = startup.Host.GetTestClient();
@@ -904,7 +904,7 @@ public async void AuthorizationResponseHandler_BasicScheme_VerifyAsyncOptions_Sh
{
endpoints.MapGet("/", context => context.Response.WriteAsync($"Hello {context.User.Identity!.Name}"));
});
- }))
+ }, hostFixture: null))
{
var client = startup.Host.GetTestClient();
var loggerStore = startup.ServiceProvider.GetRequiredService>().GetTestStore();
@@ -967,7 +967,7 @@ public async void AuthorizationResponseHandler_BasicScheme_VerifyAsyncOptions_Sh
{
endpoints.MapGet("/", context => context.Response.WriteAsync($"Hello {context.User.Identity!.Name}"));
});
- }))
+ }, hostFixture: null))
{
var client = startup.Host.GetTestClient();
var loggerStore = startup.ServiceProvider.GetRequiredService>().GetTestStore();
diff --git a/test/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json.Tests/Converters/JsonConverterCollectionExtensionsTest.cs b/test/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json.Tests/Converters/JsonConverterCollectionExtensionsTest.cs
index 3649b95af..af881e475 100644
--- a/test/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json.Tests/Converters/JsonConverterCollectionExtensionsTest.cs
+++ b/test/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json.Tests/Converters/JsonConverterCollectionExtensionsTest.cs
@@ -37,7 +37,7 @@ public void AddHttpExceptionDescriptorConverter_ShouldAddHttpExceptionDescriptor
oome = e;
}
- using (var middleware = WebHostTestFactory.Create(services => { services.AddFakeHttpContextAccessor(ServiceLifetime.Singleton); }))
+ using (var middleware = WebHostTestFactory.Create(services => { services.AddFakeHttpContextAccessor(ServiceLifetime.Singleton); }, hostFixture: null))
{
var context = middleware.ServiceProvider.GetRequiredService().HttpContext;
var correlationId = Guid.NewGuid().ToString("N");
diff --git a/test/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json.Tests/JsonSerializationInputFormatterTest.cs b/test/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json.Tests/JsonSerializationInputFormatterTest.cs
index 7c00194e6..412a77b6d 100644
--- a/test/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json.Tests/JsonSerializationInputFormatterTest.cs
+++ b/test/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json.Tests/JsonSerializationInputFormatterTest.cs
@@ -59,7 +59,7 @@ public async Task ReadRequestBodyAsync_ShouldReturnCreated()
{
app.UseRouting();
app.UseEndpoints(routes => { routes.MapControllers(); });
- }))
+ }, hostFixture: null))
{
var wf = new WeatherForecast();
var formatter = new JsonFormatter(o =>
diff --git a/test/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json.Tests/JsonSerializationOutputFormatterTest.cs b/test/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json.Tests/JsonSerializationOutputFormatterTest.cs
index c2fae01c7..1eae47f52 100644
--- a/test/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json.Tests/JsonSerializationOutputFormatterTest.cs
+++ b/test/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json.Tests/JsonSerializationOutputFormatterTest.cs
@@ -56,7 +56,7 @@ public async Task WriteResponseBodyAsync_ShouldReturnOk()
{
app.UseRouting();
app.UseEndpoints(routes => { routes.MapControllers(); });
- }))
+ }, hostFixture: null))
{
var client = filter.Host.GetTestClient();
diff --git a/test/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml.Tests/XmlSerializationInputFormatterTest.cs b/test/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml.Tests/XmlSerializationInputFormatterTest.cs
index a6f49a670..f9af0a924 100644
--- a/test/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml.Tests/XmlSerializationInputFormatterTest.cs
+++ b/test/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml.Tests/XmlSerializationInputFormatterTest.cs
@@ -59,7 +59,7 @@ public async Task ReadRequestBodyAsync_ShouldReturnCreated()
{
app.UseRouting();
app.UseEndpoints(routes => { routes.MapControllers(); });
- }))
+ }, hostFixture: null))
{
var wf = new WeatherForecast();
var formatter = new XmlFormatter(o => o.Settings.Writer.Indent = true);
diff --git a/test/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml.Tests/XmlSerializationOutputFormatterTest.cs b/test/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml.Tests/XmlSerializationOutputFormatterTest.cs
index 21e5d3c37..8e5d1c856 100644
--- a/test/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml.Tests/XmlSerializationOutputFormatterTest.cs
+++ b/test/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml.Tests/XmlSerializationOutputFormatterTest.cs
@@ -56,7 +56,7 @@ public async Task WriteResponseBodyAsync_ShouldReturnOk()
{
app.UseRouting();
app.UseEndpoints(routes => { routes.MapControllers(); });
- }))
+ }, hostFixture: null))
{
var client = filter.Host.GetTestClient();
diff --git a/test/Cuemon.Extensions.AspNetCore.Mvc.RazorPages.Tests/PageBaseExtensionsTest.cs b/test/Cuemon.Extensions.AspNetCore.Mvc.RazorPages.Tests/PageBaseExtensionsTest.cs
index 8798ba96e..f4352df47 100644
--- a/test/Cuemon.Extensions.AspNetCore.Mvc.RazorPages.Tests/PageBaseExtensionsTest.cs
+++ b/test/Cuemon.Extensions.AspNetCore.Mvc.RazorPages.Tests/PageBaseExtensionsTest.cs
@@ -38,7 +38,7 @@ public async Task Page_RenderUrlForAppRole()
{
app.UseRouting();
app.UseEndpoints(endpoints => { endpoints.MapRazorPages(); });
- }))
+ }, hostFixture: null))
{
var client = filter.Host.GetTestClient();
var result = await client.GetAsync("/AppUrl");
@@ -71,7 +71,7 @@ public async Task Page_RenderUrlForAppRole_WithCacheBusting()
{
app.UseRouting();
app.UseEndpoints(endpoints => { endpoints.MapRazorPages(); });
- }))
+ }, hostFixture: null))
{
var client = filter.Host.GetTestClient();
var result = await client.GetAsync("/AppUrl");
@@ -103,7 +103,7 @@ public async Task Page_RenderUrlForCdnRole()
{
app.UseRouting();
app.UseEndpoints(endpoints => { endpoints.MapRazorPages(); });
- }))
+ }, hostFixture: null))
{
var client = filter.Host.GetTestClient();
var result = await client.GetAsync("/CdnUrl");
@@ -136,7 +136,7 @@ public async Task Page_RenderUrlForCdnRole_WithCacheBusting()
{
app.UseRouting();
app.UseEndpoints(endpoints => { endpoints.MapRazorPages(); });
- }))
+ }, hostFixture: null))
{
var client = filter.Host.GetTestClient();
var result = await client.GetAsync("/CdnUrl");
diff --git a/test/Cuemon.Extensions.AspNetCore.Mvc.Tests/HttpDependencyTest.cs b/test/Cuemon.Extensions.AspNetCore.Mvc.Tests/HttpDependencyTest.cs
index 53d7bc693..2de295e45 100644
--- a/test/Cuemon.Extensions.AspNetCore.Mvc.Tests/HttpDependencyTest.cs
+++ b/test/Cuemon.Extensions.AspNetCore.Mvc.Tests/HttpDependencyTest.cs
@@ -38,7 +38,7 @@ public async Task StartAsync_ShouldReceiveTwoSignalsFromHttpWatcher()
{
app.UseRouting();
app.UseEndpoints(routes => { routes.MapControllers(); });
- }))
+ }, hostFixture: null))
{
var ce = new CountdownEvent(2);
@@ -94,7 +94,7 @@ public async Task StartAsync_ShouldReceiveTwoSignalsFromHttpWatcher_UsingReadRes
{
app.UseRouting();
app.UseEndpoints(routes => { routes.MapControllers(); });
- }))
+ }, hostFixture: null))
{
var ce = new CountdownEvent(2);
@@ -151,7 +151,7 @@ public async Task StartAsync_ShouldReceiveOnlyOneSignalFromHttpWatcher()
{
app.UseRouting();
app.UseEndpoints(routes => { routes.MapControllers(); });
- }))
+ }, hostFixture: null))
{
var are = new AutoResetEvent(false);
diff --git a/test/Cuemon.Extensions.AspNetCore.Mvc.Tests/Rendering/HtmlHelperExtensionsTest.cs b/test/Cuemon.Extensions.AspNetCore.Mvc.Tests/Rendering/HtmlHelperExtensionsTest.cs
index f09609b53..91993f69e 100644
--- a/test/Cuemon.Extensions.AspNetCore.Mvc.Tests/Rendering/HtmlHelperExtensionsTest.cs
+++ b/test/Cuemon.Extensions.AspNetCore.Mvc.Tests/Rendering/HtmlHelperExtensionsTest.cs
@@ -38,7 +38,7 @@ public async Task EnsureThatBothRazorPagesAndControllerViewAreWorking()
name: "default",
pattern: "{controller=Home}/{action=Index}");
});
- }))
+ }, hostFixture: null))
{
var client = filter.Host.GetTestClient();
var page = await client.GetAsync("/regions");
@@ -66,7 +66,7 @@ public async Task UseWhen_ShouldRenderClassWithActiveKeywordOnRegionsAnchorTag_A
name: "default",
pattern: "{controller=Home}/{action=Index}");
});
- }))
+ }, hostFixture: null))
{
var client = filter.Host.GetTestClient();
var view = await client.GetAsync("/regions/da-dk/denmark");
@@ -97,7 +97,7 @@ public async Task UseWhen_ShouldRenderClassWithActiveKeywordOnHomeAnchorTag_AsCo
name: "default",
pattern: "{controller=Home}/{action=Index}");
});
- }))
+ }, hostFixture: null))
{
var client = filter.Host.GetTestClient();
var view = await client.GetAsync("/");
@@ -130,7 +130,7 @@ public async Task UseWhen_ShouldRenderClassWithActiveKeywordOnRegionsAnchorTag_A
{
endpoints.MapRazorPages();
});
- }))
+ }, hostFixture: null))
{
var client = filter.Host.GetTestClient();
var page = await client.GetAsync("/regions/da-dk/denmark");
@@ -164,7 +164,7 @@ public async Task UseWhen_ShouldRenderClassWithActiveKeywordOnHomeAnchorTag_AsPe
{
endpoints.MapRazorPages();
});
- }))
+ }, hostFixture: null))
{
var client = filter.Host.GetTestClient();
var page = await client.GetAsync("/");
diff --git a/test/Cuemon.Extensions.AspNetCore.Tests/Hosting/ApplicationBuilderExtensionsTest.cs b/test/Cuemon.Extensions.AspNetCore.Tests/Hosting/ApplicationBuilderExtensionsTest.cs
index 2372c7c1f..cc9d5c6a5 100644
--- a/test/Cuemon.Extensions.AspNetCore.Tests/Hosting/ApplicationBuilderExtensionsTest.cs
+++ b/test/Cuemon.Extensions.AspNetCore.Tests/Hosting/ApplicationBuilderExtensionsTest.cs
@@ -35,7 +35,7 @@ await WebHostTestFactory.RunAsync(pipelineSetup: app =>
sut = context.Response.Headers;
return Task.CompletedTask;
});
- }, hostSetup: hb => hb.UseEnvironment(Environments.LocalDevelopment));
+ }, hostSetup: hb => hb.UseEnvironment(Environments.LocalDevelopment), hostFixture: null);
Assert.Contains(sut, pair => pair.Key == sutOptions.HeaderName);
Assert.Equal(Environments.LocalDevelopment, sut[sutOptions.HeaderName]);
diff --git a/test/Cuemon.Extensions.AspNetCore.Tests/Http/HttpRequestExtensionsTest.cs b/test/Cuemon.Extensions.AspNetCore.Tests/Http/HttpRequestExtensionsTest.cs
index 4193b4e84..d0ab0ece5 100644
--- a/test/Cuemon.Extensions.AspNetCore.Tests/Http/HttpRequestExtensionsTest.cs
+++ b/test/Cuemon.Extensions.AspNetCore.Tests/Http/HttpRequestExtensionsTest.cs
@@ -37,7 +37,7 @@ await WebHostTestFactory.RunAsync(pipelineSetup: app =>
sut = context.Request.IsGetOrHeadMethod();
return Task.CompletedTask;
});
- });
+ }, hostFixture: null);
Condition.FlipFlop(method.Equals("GET", StringComparison.OrdinalIgnoreCase) || method.Equals("HEAD", StringComparison.OrdinalIgnoreCase), () => Assert.True(sut), () => Assert.False(sut));
}
@@ -62,7 +62,7 @@ await WebHostTestFactory.RunAsync(pipelineSetup: app =>
statusCdoe = context.Response.StatusCode;
return Task.CompletedTask;
});
- });
+ }, hostFixture: null);
Condition.FlipFlop(checksum.Equals("xxxxxxxxxxxxxxxx"), () =>
{
@@ -116,7 +116,7 @@ await WebHostTestFactory.RunAsync(pipelineSetup: app =>
statusCdoe = context.Response.StatusCode;
return Task.CompletedTask;
});
- });
+ }, hostFixture: null);
Condition.FlipFlop(modified.Equals("Thu, 01 Jan 1970 00:00:00 GMT"), () =>
{
diff --git a/testenvironments.json b/testenvironments.json
index 328e82bdf..1c3751573 100644
--- a/testenvironments.json
+++ b/testenvironments.json
@@ -9,7 +9,7 @@
{
"name": "Docker-Ubuntu",
"type": "docker",
- "dockerImage": "gimlichael/ubuntu-testrunner:net8.0.407-9.0.202"
+ "dockerImage": "gimlichael/ubuntu-testrunner:mono-net8.0.408-9.0.203"
}
]
}