diff --git a/Dockerfile b/Dockerfile
index 7c716358..db13e02d 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,4 +1,4 @@
-FROM mcr.microsoft.com/dotnet/aspnet:6.0 AS base
+FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base
RUN sed -i 's/DEFAULT@SECLEVEL=2/DEFAULT@SECLEVEL=1/g' /etc/ssl/openssl.cnf
RUN sed -i 's/MinProtocol = TLSv1.2/MinProtocol = TLSv1/g' /etc/ssl/openssl.cnf
RUN sed -i 's/DEFAULT@SECLEVEL=2/DEFAULT@SECLEVEL=1/g' /usr/lib/ssl/openssl.cnf
@@ -6,7 +6,7 @@ RUN sed -i 's/MinProtocol = TLSv1.2/MinProtocol = TLSv1/g' /usr/lib/ssl/openssl.
WORKDIR /app
EXPOSE 5000
-FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build
+FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
WORKDIR /src
COPY ["src/AgileConfig.Server.Apisite/AgileConfig.Server.Apisite.csproj", "AgileConfig.Server.Apisite/"]
COPY ["src/AgileConfig.Server.Data.Entity/AgileConfig.Server.Data.Entity.csproj", "AgileConfig.Server.Data.Entity/"]
diff --git a/src/Agile.Config.Protocol/Agile.Config.Protocol.csproj b/src/Agile.Config.Protocol/Agile.Config.Protocol.csproj
index dbc15171..58990cd5 100644
--- a/src/Agile.Config.Protocol/Agile.Config.Protocol.csproj
+++ b/src/Agile.Config.Protocol/Agile.Config.Protocol.csproj
@@ -1,7 +1,7 @@
- net6.0
+ net8.0
diff --git a/src/AgileConfig.Server.Apisite/AgileConfig - Backup.Server.Apisite.csproj b/src/AgileConfig.Server.Apisite/AgileConfig - Backup.Server.Apisite.csproj
new file mode 100644
index 00000000..8c424cc6
--- /dev/null
+++ b/src/AgileConfig.Server.Apisite/AgileConfig - Backup.Server.Apisite.csproj
@@ -0,0 +1,65 @@
+
+
+
+ net8.0
+ InProcess
+ 1.8
+ 1.8
+ 1.6.20
+ Linux
+ 1.7.3
+ kklldog
+ kklldog
+
+
+
+ bin\Debug\AgileConfig.Server.Apisite.xml
+ 1701;1702;1591;1573
+
+
+
+ bin\Release\AgileConfig.Server.Apisite.xml
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Always
+
+
+ PreserveNewest
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/AgileConfig.Server.Apisite/AgileConfig.Server.Apisite.csproj b/src/AgileConfig.Server.Apisite/AgileConfig.Server.Apisite.csproj
index 62742144..7a25e770 100644
--- a/src/AgileConfig.Server.Apisite/AgileConfig.Server.Apisite.csproj
+++ b/src/AgileConfig.Server.Apisite/AgileConfig.Server.Apisite.csproj
@@ -1,13 +1,13 @@
- net6.0
+ net8.0
InProcess
- 1.7.3
- 1.7.3
- 1.6.20
+ 1.8
+ 1.8
+ 1.8
Linux
- 1.7.3
+ 1.8
kklldog
kklldog
@@ -26,15 +26,15 @@
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
diff --git a/src/AgileConfig.Server.Apisite/Program.cs b/src/AgileConfig.Server.Apisite/Program.cs
index 475a4b93..d8da189f 100644
--- a/src/AgileConfig.Server.Apisite/Program.cs
+++ b/src/AgileConfig.Server.Apisite/Program.cs
@@ -1,12 +1,8 @@
using System;
-using System.IO;
using AgileConfig.Server.Common;
-using AgileConfig.Server.IService;
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
-using Microsoft.Extensions.DependencyInjection;
-using Microsoft.Extensions.Logging;
using NLog.Web;
namespace AgileConfig.Server.Apisite
diff --git a/src/AgileConfig.Server.Common/AgileConfig.Server.Common.csproj b/src/AgileConfig.Server.Common/AgileConfig.Server.Common.csproj
index fac82794..0ed6ad66 100644
--- a/src/AgileConfig.Server.Common/AgileConfig.Server.Common.csproj
+++ b/src/AgileConfig.Server.Common/AgileConfig.Server.Common.csproj
@@ -1,16 +1,14 @@
- net6.0
+ net8.0
-
-
-
-
-
-
+
+
+
+
diff --git a/src/AgileConfig.Server.Data.Entity/AgileConfig.Server.Data.Entity.csproj b/src/AgileConfig.Server.Data.Entity/AgileConfig.Server.Data.Entity.csproj
index 114a83d7..2f74890f 100644
--- a/src/AgileConfig.Server.Data.Entity/AgileConfig.Server.Data.Entity.csproj
+++ b/src/AgileConfig.Server.Data.Entity/AgileConfig.Server.Data.Entity.csproj
@@ -1,12 +1,11 @@
- net6.0
+ net8.0
-
diff --git a/src/AgileConfig.Server.Data.Freesql/AgileConfig.Server.Data.Freesql.csproj b/src/AgileConfig.Server.Data.Freesql/AgileConfig.Server.Data.Freesql.csproj
index 29091334..4fb5adc6 100644
--- a/src/AgileConfig.Server.Data.Freesql/AgileConfig.Server.Data.Freesql.csproj
+++ b/src/AgileConfig.Server.Data.Freesql/AgileConfig.Server.Data.Freesql.csproj
@@ -1,7 +1,7 @@
- net6.0
+ net8.0
diff --git a/src/AgileConfig.Server.IService/AgileConfig.Server.IService.csproj b/src/AgileConfig.Server.IService/AgileConfig.Server.IService.csproj
index 6485ad29..0f5bb84b 100644
--- a/src/AgileConfig.Server.IService/AgileConfig.Server.IService.csproj
+++ b/src/AgileConfig.Server.IService/AgileConfig.Server.IService.csproj
@@ -1,16 +1,13 @@
-
+
-
- net6.0
-
+
+ net8.0
+
-
-
-
-
-
-
-
-
+
+
+
+
+
diff --git a/src/AgileConfig.Server.OIDC/AgileConfig.Server.OIDC.csproj b/src/AgileConfig.Server.OIDC/AgileConfig.Server.OIDC.csproj
index 50f69027..ff97aaf8 100644
--- a/src/AgileConfig.Server.OIDC/AgileConfig.Server.OIDC.csproj
+++ b/src/AgileConfig.Server.OIDC/AgileConfig.Server.OIDC.csproj
@@ -1,14 +1,14 @@
- net6.0
+ net8.0
enable
disable
-
+
diff --git a/src/AgileConfig.Server.Service/AgileConfig.Server.Service.csproj b/src/AgileConfig.Server.Service/AgileConfig.Server.Service.csproj
index cd7d6a1c..363061e7 100644
--- a/src/AgileConfig.Server.Service/AgileConfig.Server.Service.csproj
+++ b/src/AgileConfig.Server.Service/AgileConfig.Server.Service.csproj
@@ -1,7 +1,7 @@
- net6.0
+ net8.0
diff --git a/src/AgileConfig.Server.Service/RemoteServerNodeProxy.cs b/src/AgileConfig.Server.Service/RemoteServerNodeProxy.cs
index c7e97bdd..ec2130ea 100644
--- a/src/AgileConfig.Server.Service/RemoteServerNodeProxy.cs
+++ b/src/AgileConfig.Server.Service/RemoteServerNodeProxy.cs
@@ -12,7 +12,6 @@
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Threading.Tasks;
-using Microsoft.EntityFrameworkCore;
namespace AgileConfig.Server.Service
{
diff --git a/src/AgileConfig.Server.Service/ServerNodeService.cs b/src/AgileConfig.Server.Service/ServerNodeService.cs
index 6d434d97..2a87fd85 100644
--- a/src/AgileConfig.Server.Service/ServerNodeService.cs
+++ b/src/AgileConfig.Server.Service/ServerNodeService.cs
@@ -3,7 +3,6 @@
using System.Collections.Generic;
using System.Threading.Tasks;
using AgileConfig.Server.Common;
-using Microsoft.EntityFrameworkCore;
using System;
using AgileConfig.Server.Data.Freesql;
diff --git a/src/AgileConfig.Server.UI/react-ui-antd/src/layouts/compos/LayoutFooter.tsx b/src/AgileConfig.Server.UI/react-ui-antd/src/layouts/compos/LayoutFooter.tsx
index 2a86a6b5..225af795 100644
--- a/src/AgileConfig.Server.UI/react-ui-antd/src/layouts/compos/LayoutFooter.tsx
+++ b/src/AgileConfig.Server.UI/react-ui-antd/src/layouts/compos/LayoutFooter.tsx
@@ -14,7 +14,7 @@ const LayoutFooter : React.FC =()=>{
{ getAppVer()}
- Powered by .NET6.0 ant-design-pro4
+ Powered by .NET8 ant-design-pro4
)
}
diff --git a/test/AgileConfig.Server.CommonTests/AgileConfig.Server.CommonTests.csproj b/test/AgileConfig.Server.CommonTests/AgileConfig.Server.CommonTests.csproj
index 412f6a16..343ed964 100644
--- a/test/AgileConfig.Server.CommonTests/AgileConfig.Server.CommonTests.csproj
+++ b/test/AgileConfig.Server.CommonTests/AgileConfig.Server.CommonTests.csproj
@@ -1,7 +1,7 @@
- net6.0
+ net8.0
false
diff --git a/test/AgileConfig.Server.ServiceTests/AgileConfig.Server.ServiceTests.csproj b/test/AgileConfig.Server.ServiceTests/AgileConfig.Server.ServiceTests.csproj
index c19aa5e3..581ad7c0 100644
--- a/test/AgileConfig.Server.ServiceTests/AgileConfig.Server.ServiceTests.csproj
+++ b/test/AgileConfig.Server.ServiceTests/AgileConfig.Server.ServiceTests.csproj
@@ -1,7 +1,7 @@
- net6.0
+ net8.0
false
diff --git a/test/ApiSiteTests/ApiSiteTests.csproj b/test/ApiSiteTests/ApiSiteTests.csproj
index fbc4b726..94188534 100644
--- a/test/ApiSiteTests/ApiSiteTests.csproj
+++ b/test/ApiSiteTests/ApiSiteTests.csproj
@@ -1,7 +1,7 @@
- net6.0
+ net8.0
false