diff --git a/LANCommander/LANCommander.csproj b/LANCommander/LANCommander.csproj
index 389f96f..76572ab 100644
--- a/LANCommander/LANCommander.csproj
+++ b/LANCommander/LANCommander.csproj
@@ -13,39 +13,35 @@
- net6.0
+ net7.0
enable
enable
aspnet-LANCommander-C1F79CFA-9767-4AD7-BD5A-2549F8328A2D
-
-
+
+
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
all
runtime; build; native; contentfiles; analyzers; buildtransitive
-
- all
- runtime; build; native; contentfiles; analyzers; buildtransitive
-
-
-
+
+
-
+
@@ -55,7 +51,6 @@
-
diff --git a/LANCommander/Program.cs b/LANCommander/Program.cs
index f7a0c98..8849ad5 100644
--- a/LANCommander/Program.cs
+++ b/LANCommander/Program.cs
@@ -27,6 +27,7 @@ builder.Services.AddServerSideBlazor().AddCircuitOptions(option =>
}).AddHubOptions(option =>
{
option.MaximumReceiveMessageSize = 1024 * 1024 * 11;
+ option.DisableImplicitFromServicesParameters = true;
});
builder.WebHost.ConfigureKestrel(options =>