diff --git a/src/CacheCow.Client.RedisCacheStore/CacheCow.Client.RedisCacheStore.csproj b/src/CacheCow.Client.RedisCacheStore/CacheCow.Client.RedisCacheStore.csproj
index 74d54247..a8300842 100644
--- a/src/CacheCow.Client.RedisCacheStore/CacheCow.Client.RedisCacheStore.csproj
+++ b/src/CacheCow.Client.RedisCacheStore/CacheCow.Client.RedisCacheStore.csproj
@@ -1,7 +1,7 @@
- netstandard2.0;net461
- netstandard2.0
+ netstandard2.0;net461;net5.0
+ netstandard2.0;net5.0
Redis Storage for HTTP Client Caching
CacheCow.Client.RedisCacheStore
CacheCow.Client.RedisCacheStore
@@ -9,7 +9,7 @@
-
+
diff --git a/src/CacheCow.Client/CacheCow.Client.csproj b/src/CacheCow.Client/CacheCow.Client.csproj
index e70ac292..63019d6b 100644
--- a/src/CacheCow.Client/CacheCow.Client.csproj
+++ b/src/CacheCow.Client/CacheCow.Client.csproj
@@ -1,7 +1,7 @@
- netstandard2.0;net452
- netstandard2.0
+ netstandard2.0;net452;net5.0
+ netstandard2.0;net5.0
Client constructs for HTTP Caching
CacheCow.Client
CacheCow.Client
@@ -18,8 +18,11 @@
-
-
-
-
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/CacheCow.Common/CacheCow.Common.csproj b/src/CacheCow.Common/CacheCow.Common.csproj
index 38d2005b..7302a906 100644
--- a/src/CacheCow.Common/CacheCow.Common.csproj
+++ b/src/CacheCow.Common/CacheCow.Common.csproj
@@ -1,7 +1,7 @@
- netstandard2.0;net452
- netstandard2.0
+ netstandard2.0;net452;net5.0
+ netstandard2.0;net5.0
Common constructs for HTTP Caching
CacheCow.Common
CacheCow.Common
diff --git a/src/CacheCow.Server.Core.Mvc/CacheCow.Server.Core.Mvc.csproj b/src/CacheCow.Server.Core.Mvc/CacheCow.Server.Core.Mvc.csproj
index 9df792b4..5c635b94 100644
--- a/src/CacheCow.Server.Core.Mvc/CacheCow.Server.Core.Mvc.csproj
+++ b/src/CacheCow.Server.Core.Mvc/CacheCow.Server.Core.Mvc.csproj
@@ -1,17 +1,22 @@
- netstandard2.0
+ netstandard2.0;net5.0
Server constructs for HTTP Caching in ASP.NET Core MVC
CacheCow.Server.Core.Mvc
CacheCow.Server.Core.Mvc
-
+
+
+
+
+
+
diff --git a/src/CacheCow.Server/CacheCow.Server.csproj b/src/CacheCow.Server/CacheCow.Server.csproj
index 69c2015a..f004024e 100644
--- a/src/CacheCow.Server/CacheCow.Server.csproj
+++ b/src/CacheCow.Server/CacheCow.Server.csproj
@@ -1,8 +1,8 @@
- netstandard2.0;net452
- netstandard2.0
+ netstandard2.0;net452;net5.0
+ netstandard2.0;net5.0
Server constructs for HTTP Caching
CacheCow.Server
CacheCow.Server
@@ -11,17 +11,22 @@
-
+
-
+
-
+
+
+
+
+
+
diff --git a/test/CacheCow.Client.RedisCacheStore.Tests/CacheCow.Client.RedisCacheStore.Tests.csproj b/test/CacheCow.Client.RedisCacheStore.Tests/CacheCow.Client.RedisCacheStore.Tests.csproj
index ec468f58..ed3e147d 100644
--- a/test/CacheCow.Client.RedisCacheStore.Tests/CacheCow.Client.RedisCacheStore.Tests.csproj
+++ b/test/CacheCow.Client.RedisCacheStore.Tests/CacheCow.Client.RedisCacheStore.Tests.csproj
@@ -1,7 +1,7 @@
- netcoreapp2.0;net461;netcoreapp3.0
- netcoreapp2.0;netcoreapp3.0
+ netcoreapp2.1;net461;netcoreapp3.0;net5.0
+ netcoreapp2.1;netcoreapp3.0;net5.0
Client constructs for HTTP Caching
CacheCow.Client.RedisCacheStore.Tests
CacheCow.Client.RedisCacheStore.Tests
diff --git a/test/CacheCow.Client.Tests/CacheCow.Client.Tests.csproj b/test/CacheCow.Client.Tests/CacheCow.Client.Tests.csproj
index 6c905205..60e4f3b5 100644
--- a/test/CacheCow.Client.Tests/CacheCow.Client.Tests.csproj
+++ b/test/CacheCow.Client.Tests/CacheCow.Client.Tests.csproj
@@ -1,7 +1,7 @@
- net452;netcoreapp2.0;netcoreapp2.1;netcoreapp3.0
- netcoreapp2.0;netcoreapp3.0
+ net452;netcoreapp2.0;netcoreapp2.1;netcoreapp3.0;net5.0
+ netcoreapp2.0;netcoreapp3.0;net5.0
Client constructs for HTTP Caching
CacheCow.Client.Tests
CacheCow.Client.Tests
@@ -21,7 +21,7 @@
-
+
diff --git a/test/CacheCow.Client.Tests/Helper/DeepComparer.cs b/test/CacheCow.Client.Tests/Helper/DeepComparer.cs
index 56ba0da5..2dd3a74f 100644
--- a/test/CacheCow.Client.Tests/Helper/DeepComparer.cs
+++ b/test/CacheCow.Client.Tests/Helper/DeepComparer.cs
@@ -75,8 +75,13 @@ private static void RecursiveCompare(string name, object a, object b, List
- netcoreapp3.1
+ netcoreapp3.1;net5.0
Library
-
+
+
+
+
+
-
+
@@ -22,6 +26,13 @@
+
+
+
+
+
+
+
diff --git a/test/CacheCow.Server.Core.Mvc.Tests/SimpleNoCacheHttpCacheFilterTests.cs b/test/CacheCow.Server.Core.Mvc.Tests/SimpleNoCacheHttpCacheFilterTests.cs
index 18fa3e88..4291c74d 100644
--- a/test/CacheCow.Server.Core.Mvc.Tests/SimpleNoCacheHttpCacheFilterTests.cs
+++ b/test/CacheCow.Server.Core.Mvc.Tests/SimpleNoCacheHttpCacheFilterTests.cs
@@ -98,7 +98,10 @@ public HttpCacheFilterTestsStartup(IConfiguration configuration)
// This method gets called by the runtime. Use this method to add services to the container.
public virtual void ConfigureServices(IServiceCollection services)
{
- services.AddMvc();
+ services.AddMvc(options =>
+ {
+ options.EnableEndpointRouting = false;
+ });
services.AddHttpCachingMvc(options =>
{
options.EnableConfiguration = true;
diff --git a/test/CacheCow.Server.Core.Mvc.Tests/WithCustomExtractorTests.cs b/test/CacheCow.Server.Core.Mvc.Tests/WithCustomExtractorTests.cs
index 67885530..635f1fae 100644
--- a/test/CacheCow.Server.Core.Mvc.Tests/WithCustomExtractorTests.cs
+++ b/test/CacheCow.Server.Core.Mvc.Tests/WithCustomExtractorTests.cs
@@ -68,7 +68,10 @@ public class WithCustomExtractorStartup : WithQueryProviderStartup
// This method gets called by the runtime. Use this method to add services to the container.
public override void ConfigureServices(IServiceCollection services)
{
- services.AddMvc();
+ services.AddMvc(options =>
+ {
+ options.EnableEndpointRouting = false;
+ });
services.AddHttpCachingMvc();
services.AddExtractorForViewModelMvc, TestViewModelCollectionExtractor>();
}
diff --git a/test/CacheCow.Server.Core.Mvc.Tests/WithQueryProviderTests.cs b/test/CacheCow.Server.Core.Mvc.Tests/WithQueryProviderTests.cs
index c08998e3..8d443edd 100644
--- a/test/CacheCow.Server.Core.Mvc.Tests/WithQueryProviderTests.cs
+++ b/test/CacheCow.Server.Core.Mvc.Tests/WithQueryProviderTests.cs
@@ -155,7 +155,10 @@ public class WithQueryProviderStartup
// This method gets called by the runtime. Use this method to add services to the container.
public virtual void ConfigureServices(IServiceCollection services)
{
- services.AddMvc();
+ services.AddMvc(options =>
+ {
+ options.EnableEndpointRouting = false;
+ });
services.AddHttpCachingMvc();
services.AddQueryProviderForViewModelMvc();
services.AddQueryProviderForViewModelMvc, TestViewModelCollectionQueryProvider>();
@@ -208,7 +211,10 @@ public class WithQueryProviderStartupWithNoHeaderOptions : WithQueryProviderStar
public override void ConfigureServices(IServiceCollection services)
{
services.AddOptions();
- services.AddMvc();
+ services.AddMvc(options =>
+ {
+ options.EnableEndpointRouting = false;
+ });
services.AddHttpCachingMvc(options => options.DoNotEmitCacheCowHeader = true);
services.AddQueryProviderForViewModelMvc();
services.AddQueryProviderForViewModelMvc, TestViewModelCollectionQueryProvider>();
diff --git a/test/CacheCow.Tests/CacheCow.Tests.csproj b/test/CacheCow.Tests/CacheCow.Tests.csproj
index d8c8e705..400ecee4 100644
--- a/test/CacheCow.Tests/CacheCow.Tests.csproj
+++ b/test/CacheCow.Tests/CacheCow.Tests.csproj
@@ -1,7 +1,7 @@
- netcoreapp3.0;netcoreapp2.0;net452
- netcoreapp2.0;netcoreapp3.0
+ netcoreapp3.0;netcoreapp2.0;net452;net5.0
+ netcoreapp2.0;netcoreapp3.0;net5.0
Client constructs for HTTP Caching
CacheCow.Tests
CacheCow.Tests