From 856e6c27619267b5deeb62f1076eeb0297d084e8 Mon Sep 17 00:00:00 2001 From: Chris Date: Wed, 1 Oct 2025 09:48:25 +0200 Subject: [PATCH] Changed targets to .Net 9. Changed web port from 80 to 9000. --- src/Client/InverterMon.Client.csproj | 12 ++++++------ src/Client/Properties/launchSettings.json | 2 +- src/Server/InverterMon.Server.csproj | 18 +++++++++--------- src/Server/Properties/launchSettings.json | 2 +- src/Server/appsettings.json | 4 ++-- src/Shared/InverterMon.Shared.csproj | 6 +++--- 6 files changed, 22 insertions(+), 22 deletions(-) diff --git a/src/Client/InverterMon.Client.csproj b/src/Client/InverterMon.Client.csproj index cc6d1ff..09d32c3 100644 --- a/src/Client/InverterMon.Client.csproj +++ b/src/Client/InverterMon.Client.csproj @@ -1,7 +1,7 @@  - net7.0 + net9.0 enable enable service-worker-assets.js @@ -15,17 +15,17 @@ - - - + + + - + - + \ No newline at end of file diff --git a/src/Client/Properties/launchSettings.json b/src/Client/Properties/launchSettings.json index 6aed4c3..07f5671 100644 --- a/src/Client/Properties/launchSettings.json +++ b/src/Client/Properties/launchSettings.json @@ -5,7 +5,7 @@ "dotnetRunMessages": true, "launchBrowser": true, "inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}", - "applicationUrl": "http://localhost:5238", + "applicationUrl": "http://localhost:9000", "environmentVariables": { "ASPNETCORE_ENVIRONMENT": "Development" } diff --git a/src/Server/InverterMon.Server.csproj b/src/Server/InverterMon.Server.csproj index 59bcba5..d3cca1c 100644 --- a/src/Server/InverterMon.Server.csproj +++ b/src/Server/InverterMon.Server.csproj @@ -1,7 +1,7 @@  - net7.0 + net9.0 enable enable CS8618;CA2016 @@ -28,20 +28,20 @@ - - - - - + + + + + - - + + - + \ No newline at end of file diff --git a/src/Server/Properties/launchSettings.json b/src/Server/Properties/launchSettings.json index a91018f..80ae1f1 100644 --- a/src/Server/Properties/launchSettings.json +++ b/src/Server/Properties/launchSettings.json @@ -5,7 +5,7 @@ "dotnetRunMessages": true, "launchBrowser": true, "inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}", - "applicationUrl": "http://localhost:80", + "applicationUrl": "http://localhost:9000", "environmentVariables": { "ASPNETCORE_ENVIRONMENT": "Development" } diff --git a/src/Server/appsettings.json b/src/Server/appsettings.json index 0bd4571..d035681 100644 --- a/src/Server/appsettings.json +++ b/src/Server/appsettings.json @@ -1,8 +1,8 @@ { "LaunchSettings": { - "DeviceAddress": "COM3", + "DeviceAddress": "COM5", "JkBmsAddress": "/dev/ttyUSB0", - "WebPort": 80 + "WebPort": 9000 }, "Logging": { "LogLevel": { diff --git a/src/Shared/InverterMon.Shared.csproj b/src/Shared/InverterMon.Shared.csproj index bfeae64..c689c5c 100644 --- a/src/Shared/InverterMon.Shared.csproj +++ b/src/Shared/InverterMon.Shared.csproj @@ -1,6 +1,6 @@ - + - net7.0 + net9.0 enable enable CS8618 @@ -11,7 +11,7 @@ - + \ No newline at end of file