Nothing else is wired up by hand: the package drops the generator into the compiler, and
the very next build emits BrouterRoutes from the routes already declared in
diff --git a/src/Brouter/Bit.Brouter.Demo/Client/Pages/GettingStartedPage.razor b/src/Brouter/Bit.Brouter.Demo/Client/Pages/GettingStartedPage.razor
index f15f1e8e0d1..c7560cdfd4d 100644
--- a/src/Brouter/Bit.Brouter.Demo/Client/Pages/GettingStartedPage.razor
+++ b/src/Brouter/Bit.Brouter.Demo/Client/Pages/GettingStartedPage.razor
@@ -24,8 +24,8 @@ dotnet add package Bit.Brouter.Generators
<!-- ...or declare them in your .csproj. PrivateAssets="all" on the generator keeps
the analyzer out of your own package's dependencies: -->
-<PackageReference Include="Bit.Brouter" Version="10.6.2" />
-<PackageReference Include="Bit.Brouter.Generators" Version="10.6.2" PrivateAssets="all" />
+<PackageReference Include="Bit.Brouter" Version="11.0.0-pre-01" />
+<PackageReference Include="Bit.Brouter.Generators" Version="11.0.0-pre-01" PrivateAssets="all" />
diff --git a/src/Brouter/Bit.Brouter.Demo/Server/Bit.Brouter.Demo.Server.csproj b/src/Brouter/Bit.Brouter.Demo/Server/Bit.Brouter.Demo.Server.csproj
index 9468569847a..97aae2652c1 100644
--- a/src/Brouter/Bit.Brouter.Demo/Server/Bit.Brouter.Demo.Server.csproj
+++ b/src/Brouter/Bit.Brouter.Demo/Server/Bit.Brouter.Demo.Server.csproj
@@ -1,7 +1,7 @@
- net10.0
+ net11.0
enable
enable
true
@@ -10,7 +10,7 @@
-
+
diff --git a/src/Brouter/Bit.Brouter.Demo/Server/Program.cs b/src/Brouter/Bit.Brouter.Demo/Server/Program.cs
index 4626fa3d830..98e1e3f0708 100644
--- a/src/Brouter/Bit.Brouter.Demo/Server/Program.cs
+++ b/src/Brouter/Bit.Brouter.Demo/Server/Program.cs
@@ -72,11 +72,7 @@
var app = builder.Build();
-if (app.Environment.IsDevelopment())
-{
- app.UseWebAssemblyDebugging();
-}
-else
+if (app.Environment.IsDevelopment() is false)
{
app.UseExceptionHandler("/Error", createScopeForErrors: true);
app.UseHsts();
diff --git a/src/Brouter/Bit.Brouter.Demo/Server/Properties/launchSettings.json b/src/Brouter/Bit.Brouter.Demo/Server/Properties/launchSettings.json
index d63e94094d3..aed0dd13e20 100644
--- a/src/Brouter/Bit.Brouter.Demo/Server/Properties/launchSettings.json
+++ b/src/Brouter/Bit.Brouter.Demo/Server/Properties/launchSettings.json
@@ -5,7 +5,6 @@
"commandName": "Project",
"dotnetRunMessages": true,
"launchBrowser": true,
- "inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}",
"applicationUrl": "https://localhost:7185;http://localhost:5185",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
diff --git a/src/Brouter/Bit.Brouter/Bit.Brouter.csproj b/src/Brouter/Bit.Brouter/Bit.Brouter.csproj
index 7481d776e8b..4aa175cbde1 100644
--- a/src/Brouter/Bit.Brouter/Bit.Brouter.csproj
+++ b/src/Brouter/Bit.Brouter/Bit.Brouter.csproj
@@ -3,7 +3,7 @@
- net10.0;net9.0;net8.0
+ net11.0;net10.0;net9.0;net8.0
true
@@ -19,9 +19,11 @@
+
+
diff --git a/src/Brouter/Samples/Auto/Bit.Brouter.Samples.Auto.Client/Bit.Brouter.Samples.Auto.Client.csproj b/src/Brouter/Samples/Auto/Bit.Brouter.Samples.Auto.Client/Bit.Brouter.Samples.Auto.Client.csproj
index 9a083d3ebde..177d75f4d2e 100644
--- a/src/Brouter/Samples/Auto/Bit.Brouter.Samples.Auto.Client/Bit.Brouter.Samples.Auto.Client.csproj
+++ b/src/Brouter/Samples/Auto/Bit.Brouter.Samples.Auto.Client/Bit.Brouter.Samples.Auto.Client.csproj
@@ -1,7 +1,8 @@
- net10.0
+ net11.0
+ false
enable
enable
true
@@ -10,7 +11,7 @@
-
+
diff --git a/src/Brouter/Samples/Auto/Bit.Brouter.Samples.Auto/Bit.Brouter.Samples.Auto.csproj b/src/Brouter/Samples/Auto/Bit.Brouter.Samples.Auto/Bit.Brouter.Samples.Auto.csproj
index 08ef34d6c64..87d8faf2cc4 100644
--- a/src/Brouter/Samples/Auto/Bit.Brouter.Samples.Auto/Bit.Brouter.Samples.Auto.csproj
+++ b/src/Brouter/Samples/Auto/Bit.Brouter.Samples.Auto/Bit.Brouter.Samples.Auto.csproj
@@ -1,14 +1,14 @@
- net10.0
+ net11.0
enable
enable
true
-
+
diff --git a/src/Brouter/Samples/Auto/Bit.Brouter.Samples.Auto/Program.cs b/src/Brouter/Samples/Auto/Bit.Brouter.Samples.Auto/Program.cs
index 860cfd9940e..c4d497686d7 100644
--- a/src/Brouter/Samples/Auto/Bit.Brouter.Samples.Auto/Program.cs
+++ b/src/Brouter/Samples/Auto/Bit.Brouter.Samples.Auto/Program.cs
@@ -10,11 +10,7 @@
var app = builder.Build();
-if (app.Environment.IsDevelopment())
-{
- app.UseWebAssemblyDebugging();
-}
-else
+if (app.Environment.IsDevelopment() is false)
{
app.UseExceptionHandler("/Error", createScopeForErrors: true);
app.UseHsts();
diff --git a/src/Brouter/Samples/Auto/Bit.Brouter.Samples.Auto/Properties/launchSettings.json b/src/Brouter/Samples/Auto/Bit.Brouter.Samples.Auto/Properties/launchSettings.json
index 2c2b4cf268a..36cec70ffe0 100644
--- a/src/Brouter/Samples/Auto/Bit.Brouter.Samples.Auto/Properties/launchSettings.json
+++ b/src/Brouter/Samples/Auto/Bit.Brouter.Samples.Auto/Properties/launchSettings.json
@@ -4,7 +4,6 @@
"commandName": "Project",
"dotnetRunMessages": true,
"launchBrowser": true,
- "inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}",
"applicationUrl": "https://localhost:7183;http://localhost:5183",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
diff --git a/src/Brouter/Samples/Core/Bit.Brouter.Samples.Core.csproj b/src/Brouter/Samples/Core/Bit.Brouter.Samples.Core.csproj
index 016007bc608..e32bd929df8 100644
--- a/src/Brouter/Samples/Core/Bit.Brouter.Samples.Core.csproj
+++ b/src/Brouter/Samples/Core/Bit.Brouter.Samples.Core.csproj
@@ -1,7 +1,7 @@
- net10.0
+ net11.0
enable
enable
diff --git a/src/Brouter/Samples/Server/Bit.Brouter.Samples.Server.csproj b/src/Brouter/Samples/Server/Bit.Brouter.Samples.Server.csproj
index 9087b840f04..15caf164210 100644
--- a/src/Brouter/Samples/Server/Bit.Brouter.Samples.Server.csproj
+++ b/src/Brouter/Samples/Server/Bit.Brouter.Samples.Server.csproj
@@ -1,7 +1,7 @@
- net10.0
+ net11.0
enable
enable
true
diff --git a/src/Brouter/Samples/Wasm/Bit.Brouter.Samples.Wasm.Client/Bit.Brouter.Samples.Wasm.Client.csproj b/src/Brouter/Samples/Wasm/Bit.Brouter.Samples.Wasm.Client/Bit.Brouter.Samples.Wasm.Client.csproj
index 9a083d3ebde..177d75f4d2e 100644
--- a/src/Brouter/Samples/Wasm/Bit.Brouter.Samples.Wasm.Client/Bit.Brouter.Samples.Wasm.Client.csproj
+++ b/src/Brouter/Samples/Wasm/Bit.Brouter.Samples.Wasm.Client/Bit.Brouter.Samples.Wasm.Client.csproj
@@ -1,7 +1,8 @@
- net10.0
+ net11.0
+ false
enable
enable
true
@@ -10,7 +11,7 @@
-
+
diff --git a/src/Brouter/Samples/Wasm/Bit.Brouter.Samples.Wasm/Bit.Brouter.Samples.Wasm.csproj b/src/Brouter/Samples/Wasm/Bit.Brouter.Samples.Wasm/Bit.Brouter.Samples.Wasm.csproj
index 23e337c087d..3f6eeb69423 100644
--- a/src/Brouter/Samples/Wasm/Bit.Brouter.Samples.Wasm/Bit.Brouter.Samples.Wasm.csproj
+++ b/src/Brouter/Samples/Wasm/Bit.Brouter.Samples.Wasm/Bit.Brouter.Samples.Wasm.csproj
@@ -1,14 +1,14 @@
- net10.0
+ net11.0
enable
enable
true
-
+
diff --git a/src/Brouter/Samples/Wasm/Bit.Brouter.Samples.Wasm/Program.cs b/src/Brouter/Samples/Wasm/Bit.Brouter.Samples.Wasm/Program.cs
index 91fb3d96f3d..952338d2d0a 100644
--- a/src/Brouter/Samples/Wasm/Bit.Brouter.Samples.Wasm/Program.cs
+++ b/src/Brouter/Samples/Wasm/Bit.Brouter.Samples.Wasm/Program.cs
@@ -10,11 +10,7 @@
var app = builder.Build();
-if (app.Environment.IsDevelopment())
-{
- app.UseWebAssemblyDebugging();
-}
-else
+if (app.Environment.IsDevelopment() is false)
{
app.UseExceptionHandler("/Error", createScopeForErrors: true);
app.UseHsts();
diff --git a/src/Brouter/Samples/Wasm/Bit.Brouter.Samples.Wasm/Properties/launchSettings.json b/src/Brouter/Samples/Wasm/Bit.Brouter.Samples.Wasm/Properties/launchSettings.json
index d75510e51d7..f34753cfdd3 100644
--- a/src/Brouter/Samples/Wasm/Bit.Brouter.Samples.Wasm/Properties/launchSettings.json
+++ b/src/Brouter/Samples/Wasm/Bit.Brouter.Samples.Wasm/Properties/launchSettings.json
@@ -4,7 +4,6 @@
"commandName": "Project",
"dotnetRunMessages": true,
"launchBrowser": true,
- "inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}",
"applicationUrl": "https://localhost:7182;http://localhost:5182",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
diff --git a/src/Brouter/Tests/Bit.Brouter.Benchmarks/Bit.Brouter.Benchmarks.csproj b/src/Brouter/Tests/Bit.Brouter.Benchmarks/Bit.Brouter.Benchmarks.csproj
index 4361de7af40..14c4a0f2e32 100644
--- a/src/Brouter/Tests/Bit.Brouter.Benchmarks/Bit.Brouter.Benchmarks.csproj
+++ b/src/Brouter/Tests/Bit.Brouter.Benchmarks/Bit.Brouter.Benchmarks.csproj
@@ -2,10 +2,10 @@
Exe
-
- net10.0
+ net11.0
enable
enable
false
diff --git a/src/Brouter/Tests/Bit.Brouter.Tests.E2E/Bit.Brouter.Tests.E2E.csproj b/src/Brouter/Tests/Bit.Brouter.Tests.E2E/Bit.Brouter.Tests.E2E.csproj
index 33fcf93ce85..677d7292732 100644
--- a/src/Brouter/Tests/Bit.Brouter.Tests.E2E/Bit.Brouter.Tests.E2E.csproj
+++ b/src/Brouter/Tests/Bit.Brouter.Tests.E2E/Bit.Brouter.Tests.E2E.csproj
@@ -1,7 +1,7 @@
- net10.0
+ net11.0
enable
enable
false
diff --git a/src/Brouter/Tests/Bit.Brouter.Tests.E2E/HybridModeTests.cs b/src/Brouter/Tests/Bit.Brouter.Tests.E2E/HybridModeTests.cs
index 6f433bbfe6c..b2a2200d9dc 100644
--- a/src/Brouter/Tests/Bit.Brouter.Tests.E2E/HybridModeTests.cs
+++ b/src/Brouter/Tests/Bit.Brouter.Tests.E2E/HybridModeTests.cs
@@ -18,7 +18,7 @@ public class HybridModeTests : InteractiveHarnessTests
{
protected override string BaseUrl => HybridHarnessHost.AppOrigin;
- protected override string Framework => "net10.0";
+ protected override string Framework => "net11.0";
protected override bool Prerenders => false;
diff --git a/src/Brouter/Tests/Bit.Brouter.Tests.E2E/Infrastructure/E2EEnvironment.cs b/src/Brouter/Tests/Bit.Brouter.Tests.E2E/Infrastructure/E2EEnvironment.cs
index fff88694af0..124e8b0be33 100644
--- a/src/Brouter/Tests/Bit.Brouter.Tests.E2E/Infrastructure/E2EEnvironment.cs
+++ b/src/Brouter/Tests/Bit.Brouter.Tests.E2E/Infrastructure/E2EEnvironment.cs
@@ -8,9 +8,9 @@ public static class E2EEnvironment
{
///
/// BROUTER_E2E_FRAMEWORK: the target framework the web harness host runs on
- /// (net10.0, net9.0 or net8.0). Defaults to net10.0. The hybrid host is always net10.0-windows.
+ /// (net11.0, net10.0, net9.0 or net8.0). Defaults to net11.0. The hybrid host is always net11.0-windows.
///
- public static string Framework { get; } = Read("BROUTER_E2E_FRAMEWORK") ?? "net10.0";
+ public static string Framework { get; } = Read("BROUTER_E2E_FRAMEWORK") ?? "net11.0";
///
/// BROUTER_E2E_CONFIGURATION: the build configuration of the harness hosts. Defaults to the
diff --git a/src/Brouter/Tests/Bit.Brouter.Tests.E2E/Infrastructure/RepoLayout.cs b/src/Brouter/Tests/Bit.Brouter.Tests.E2E/Infrastructure/RepoLayout.cs
index 44da9a9508e..6c20de62726 100644
--- a/src/Brouter/Tests/Bit.Brouter.Tests.E2E/Infrastructure/RepoLayout.cs
+++ b/src/Brouter/Tests/Bit.Brouter.Tests.E2E/Infrastructure/RepoLayout.cs
@@ -17,7 +17,7 @@ public static string WebHostAssembly(string framework, string configuration) =>
Path.Combine(Path.GetDirectoryName(WebHostProject())!, "bin", configuration, framework, $"{WebHostName}.dll");
public static string HybridHostExecutable(string configuration) =>
- Path.Combine(Path.GetDirectoryName(HybridHostProject())!, "bin", configuration, "net10.0-windows", $"{HybridHostName}.exe");
+ Path.Combine(Path.GetDirectoryName(HybridHostProject())!, "bin", configuration, "net11.0-windows", $"{HybridHostName}.exe");
private static string FindUpward(string relativePath)
{
diff --git a/src/Brouter/Tests/Bit.Brouter.Tests.E2E/publish-gate.sh b/src/Brouter/Tests/Bit.Brouter.Tests.E2E/publish-gate.sh
index fe20b7bd6fe..72535130777 100644
--- a/src/Brouter/Tests/Bit.Brouter.Tests.E2E/publish-gate.sh
+++ b/src/Brouter/Tests/Bit.Brouter.Tests.E2E/publish-gate.sh
@@ -21,10 +21,10 @@ here="$(cd "$(dirname "$0")" && pwd)"
project="$here/../Bit.Brouter.Tests.Harness.Web/Bit.Brouter.Tests.Harness.Web.csproj"
log="$(mktemp)"
-# TargetFrameworks=net10.0 on top of -f: -f alone does not reach project references, which then still
+# TargetFrameworks=net11.0 on top of -f: -f alone does not reach project references, which then still
# evaluate every framework they target - and with RunAOTCompilation each of those demands its own
# wasm-tools workload.
-dotnet publish "$project" -c Release -f net10.0 -p:TargetFrameworks=net10.0 -o "$output" \
+dotnet publish "$project" -c Release -f net11.0 -p:TargetFrameworks=net11.0 -o "$output" \
-p:SuppressTrimAnalysisWarnings=false -p:TrimmerSingleWarn=false "$@" 2>&1 | tee "$log"
# The origin member follows the warning code, so "IL2069: Bit.Brouter.X" is raised inside the library
diff --git a/src/Brouter/Tests/Bit.Brouter.Tests.Generators/Bit.Brouter.Tests.Generators.csproj b/src/Brouter/Tests/Bit.Brouter.Tests.Generators/Bit.Brouter.Tests.Generators.csproj
index 5c9e64b57b9..61279786667 100644
--- a/src/Brouter/Tests/Bit.Brouter.Tests.Generators/Bit.Brouter.Tests.Generators.csproj
+++ b/src/Brouter/Tests/Bit.Brouter.Tests.Generators/Bit.Brouter.Tests.Generators.csproj
@@ -1,7 +1,7 @@
- net10.0
+ net11.0
enable
enable
false
diff --git a/src/Brouter/Tests/Bit.Brouter.Tests.Harness.Hybrid/Bit.Brouter.Tests.Harness.Hybrid.csproj b/src/Brouter/Tests/Bit.Brouter.Tests.Harness.Hybrid/Bit.Brouter.Tests.Harness.Hybrid.csproj
index a729bc5af00..0ea99b3876a 100644
--- a/src/Brouter/Tests/Bit.Brouter.Tests.Harness.Hybrid/Bit.Brouter.Tests.Harness.Hybrid.csproj
+++ b/src/Brouter/Tests/Bit.Brouter.Tests.Harness.Hybrid/Bit.Brouter.Tests.Harness.Hybrid.csproj
@@ -8,7 +8,7 @@
WinExe
- net10.0-windows
+ net11.0-windows
true
true
@@ -18,7 +18,7 @@
-
+
diff --git a/src/Brouter/Tests/Bit.Brouter.Tests.Harness.Web.Client/Bit.Brouter.Tests.Harness.Web.Client.csproj b/src/Brouter/Tests/Bit.Brouter.Tests.Harness.Web.Client/Bit.Brouter.Tests.Harness.Web.Client.csproj
index 08e76cfc40f..a5b10024afe 100644
--- a/src/Brouter/Tests/Bit.Brouter.Tests.Harness.Web.Client/Bit.Brouter.Tests.Harness.Web.Client.csproj
+++ b/src/Brouter/Tests/Bit.Brouter.Tests.Harness.Web.Client/Bit.Brouter.Tests.Harness.Web.Client.csproj
@@ -1,7 +1,7 @@
- net10.0;net9.0;net8.0
+ net11.0;net10.0;net9.0;net8.0
enable
enable
false
@@ -14,6 +14,7 @@
+
diff --git a/src/Brouter/Tests/Bit.Brouter.Tests.Harness.Web/Bit.Brouter.Tests.Harness.Web.csproj b/src/Brouter/Tests/Bit.Brouter.Tests.Harness.Web/Bit.Brouter.Tests.Harness.Web.csproj
index 5ca1c3a2ab3..9607dd761c4 100644
--- a/src/Brouter/Tests/Bit.Brouter.Tests.Harness.Web/Bit.Brouter.Tests.Harness.Web.csproj
+++ b/src/Brouter/Tests/Bit.Brouter.Tests.Harness.Web/Bit.Brouter.Tests.Harness.Web.csproj
@@ -8,7 +8,7 @@
Bit.Brouter ships for. -->
- net10.0;net9.0;net8.0
+ net11.0;net10.0;net9.0;net8.0
enable
enable
false
@@ -19,6 +19,7 @@
+
diff --git a/src/Brouter/Tests/Bit.Brouter.Tests.Harness.Web/Properties/launchSettings.json b/src/Brouter/Tests/Bit.Brouter.Tests.Harness.Web/Properties/launchSettings.json
index 684ed5905e3..b4e3b844dea 100644
--- a/src/Brouter/Tests/Bit.Brouter.Tests.Harness.Web/Properties/launchSettings.json
+++ b/src/Brouter/Tests/Bit.Brouter.Tests.Harness.Web/Properties/launchSettings.json
@@ -18,7 +18,6 @@
"commandName": "Project",
"commandLineArgs": "--BrouterHarness:Mode=wasm",
"launchBrowser": true,
- "inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}",
"applicationUrl": "http://localhost:5290",
"environmentVariables": { "ASPNETCORE_ENVIRONMENT": "Development" }
},
diff --git a/src/Brouter/Tests/Bit.Brouter.Tests.Harness/Bit.Brouter.Tests.Harness.csproj b/src/Brouter/Tests/Bit.Brouter.Tests.Harness/Bit.Brouter.Tests.Harness.csproj
index 86fa52004fe..7c9ec6d7efc 100644
--- a/src/Brouter/Tests/Bit.Brouter.Tests.Harness/Bit.Brouter.Tests.Harness.csproj
+++ b/src/Brouter/Tests/Bit.Brouter.Tests.Harness/Bit.Brouter.Tests.Harness.csproj
@@ -6,7 +6,7 @@
suites run the same assertions against every host and attribute a difference to the host. -->
- net10.0;net9.0;net8.0
+ net11.0;net10.0;net9.0;net8.0
enable
enable
false
diff --git a/src/Brouter/Tests/Bit.Brouter.Tests.Hosting/AssemblySetup.cs b/src/Brouter/Tests/Bit.Brouter.Tests.Hosting/AssemblySetup.cs
index 335413f586f..145f2d54d20 100644
--- a/src/Brouter/Tests/Bit.Brouter.Tests.Hosting/AssemblySetup.cs
+++ b/src/Brouter/Tests/Bit.Brouter.Tests.Hosting/AssemblySetup.cs
@@ -13,7 +13,7 @@ public static class AssemblySetup
public static async Task CleanupAsync()
{
await HarnessHostFactory.DisposeSharedAsync();
-#if NET10_0_OR_GREATER
+#if NET11_0_OR_GREATER
await SampleHostFactories.DisposeAsync();
#endif
}
diff --git a/src/Brouter/Tests/Bit.Brouter.Tests.Hosting/Bit.Brouter.Tests.Hosting.csproj b/src/Brouter/Tests/Bit.Brouter.Tests.Hosting/Bit.Brouter.Tests.Hosting.csproj
index c488d05bfa5..fca9a816c52 100644
--- a/src/Brouter/Tests/Bit.Brouter.Tests.Hosting/Bit.Brouter.Tests.Hosting.csproj
+++ b/src/Brouter/Tests/Bit.Brouter.Tests.Hosting/Bit.Brouter.Tests.Hosting.csproj
@@ -7,7 +7,7 @@
runs on every target framework in the regular CI job. -->
- net10.0;net9.0;net8.0
+ net11.0;net10.0;net9.0;net8.0
enable
enable
false
@@ -23,14 +23,15 @@
+
-
-
+
+
diff --git a/src/Brouter/Tests/Bit.Brouter.Tests.Hosting/SamplesHostingTests.cs b/src/Brouter/Tests/Bit.Brouter.Tests.Hosting/SamplesHostingTests.cs
index d93a645d8b5..3d5794a53f1 100644
--- a/src/Brouter/Tests/Bit.Brouter.Tests.Hosting/SamplesHostingTests.cs
+++ b/src/Brouter/Tests/Bit.Brouter.Tests.Hosting/SamplesHostingTests.cs
@@ -1,4 +1,4 @@
-#if NET10_0_OR_GREATER
+#if NET11_0_OR_GREATER
using System.Net;
using Microsoft.AspNetCore.Mvc.Testing;
diff --git a/src/Brouter/Tests/Bit.Brouter.Tests.Mcp/Bit.Brouter.Tests.Mcp.csproj b/src/Brouter/Tests/Bit.Brouter.Tests.Mcp/Bit.Brouter.Tests.Mcp.csproj
index 34b5dcf57ae..b1a77e12469 100644
--- a/src/Brouter/Tests/Bit.Brouter.Tests.Mcp/Bit.Brouter.Tests.Mcp.csproj
+++ b/src/Brouter/Tests/Bit.Brouter.Tests.Mcp/Bit.Brouter.Tests.Mcp.csproj
@@ -3,7 +3,7 @@
- net10.0
+ net11.0
enable
enable
false
@@ -18,7 +18,7 @@
-
+
diff --git a/src/Brouter/Tests/Bit.Brouter.Tests/Bit.Brouter.Tests.csproj b/src/Brouter/Tests/Bit.Brouter.Tests/Bit.Brouter.Tests.csproj
index 3ad692966a8..50e72d5781a 100644
--- a/src/Brouter/Tests/Bit.Brouter.Tests/Bit.Brouter.Tests.csproj
+++ b/src/Brouter/Tests/Bit.Brouter.Tests/Bit.Brouter.Tests.csproj
@@ -3,7 +3,7 @@
- net10.0;net9.0;net8.0
+ net11.0;net10.0;net9.0;net8.0
enable
enable
false
diff --git a/src/Bswup/Bit.Bswup.Demo/Client/Bit.Bswup.Demo.Client.csproj b/src/Bswup/Bit.Bswup.Demo/Client/Bit.Bswup.Demo.Client.csproj
index 71383da8511..b8efdcdc37a 100644
--- a/src/Bswup/Bit.Bswup.Demo/Client/Bit.Bswup.Demo.Client.csproj
+++ b/src/Bswup/Bit.Bswup.Demo/Client/Bit.Bswup.Demo.Client.csproj
@@ -1,10 +1,11 @@
- net10.0
+ net11.0
enable
enable
true
+ false
true
@@ -20,7 +21,7 @@
-
+
diff --git a/src/Bswup/Bit.Bswup.Demo/Client/wwwroot/service-worker.js b/src/Bswup/Bit.Bswup.Demo/Client/wwwroot/service-worker.js
index c35e40aefef..d4af4a40434 100644
--- a/src/Bswup/Bit.Bswup.Demo/Client/wwwroot/service-worker.js
+++ b/src/Bswup/Bit.Bswup.Demo/Client/wwwroot/service-worker.js
@@ -1,4 +1,4 @@
-// bit version: 10.6.2
+// bit version: 11.0.0-pre-01
// Development service worker of the Bswup docs site. Unlike the standard Blazor template -
// whose dev worker is a no-op so caching never hides source changes - this site runs the full
@@ -20,7 +20,8 @@ self.mode = 'InitialPrerender';
// line to get the faster, prerender-friendly passive behavior the preset intends.
self.isPassive = false;
-self.assetsExclude = [/\.scp\.css$/];
+// blazor.webassembly.js is in the manifest but a Blazor Web App never loads it, so precaching it 404s.
+self.assetsExclude = [/\.scp\.css$/, /^_framework\/blazor\.webassembly\.js$/];
self.caseInsensitiveUrl = true;
// The MCP server (Server/Controllers/McpController.cs) and the plain HTTP mirror of its tools
diff --git a/src/Bswup/Bit.Bswup.Demo/Client/wwwroot/service-worker.published.js b/src/Bswup/Bit.Bswup.Demo/Client/wwwroot/service-worker.published.js
index 02527b05257..eb1a34b1cb6 100644
--- a/src/Bswup/Bit.Bswup.Demo/Client/wwwroot/service-worker.published.js
+++ b/src/Bswup/Bit.Bswup.Demo/Client/wwwroot/service-worker.published.js
@@ -1,4 +1,4 @@
-// bit version: 10.6.2
+// bit version: 11.0.0-pre-01
// Published service worker of the Bswup docs site. Keep in sync with service-worker.js (the
// development copy) - the two differ only in the commented-out resiliency knobs below.
@@ -18,7 +18,8 @@ self.mode = 'InitialPrerender';
// line to get the faster, prerender-friendly passive behavior the preset intends.
self.isPassive = false;
-self.assetsExclude = [/\.scp\.css$/];
+// blazor.webassembly.js is in the manifest but a Blazor Web App never loads it, so precaching it 404s.
+self.assetsExclude = [/\.scp\.css$/, /^_framework\/blazor\.webassembly\.js$/];
self.caseInsensitiveUrl = true;
// The MCP server (Server/Controllers/McpController.cs) and the plain HTTP mirror of its tools
diff --git a/src/Bswup/Bit.Bswup.Demo/Server/Bit.Bswup.Demo.Server.csproj b/src/Bswup/Bit.Bswup.Demo/Server/Bit.Bswup.Demo.Server.csproj
index 857b0c8bb18..e5eb6f9ddde 100644
--- a/src/Bswup/Bit.Bswup.Demo/Server/Bit.Bswup.Demo.Server.csproj
+++ b/src/Bswup/Bit.Bswup.Demo/Server/Bit.Bswup.Demo.Server.csproj
@@ -1,7 +1,7 @@
- net10.0
+ net11.0
enable
enable
true
@@ -10,7 +10,7 @@
-
+
diff --git a/src/Bswup/Bit.Bswup.Demo/Server/Program.cs b/src/Bswup/Bit.Bswup.Demo/Server/Program.cs
index ccd0d9095f3..4d6c8d46bf4 100644
--- a/src/Bswup/Bit.Bswup.Demo/Server/Program.cs
+++ b/src/Bswup/Bit.Bswup.Demo/Server/Program.cs
@@ -160,11 +160,7 @@ called bare answers with the whole catalog.
var app = builder.Build();
// Configure the HTTP request pipeline.
-if (app.Environment.IsDevelopment())
-{
- app.UseWebAssemblyDebugging();
-}
-else
+if (app.Environment.IsDevelopment() is false)
{
app.UseExceptionHandler("/error", createScopeForErrors: true);
// The default HSTS value is 30 days. You may want to change this for production scenarios, see https://aka.ms/aspnetcore-hsts.
diff --git a/src/Bswup/Bit.Bswup.Demo/Server/Properties/launchSettings.json b/src/Bswup/Bit.Bswup.Demo/Server/Properties/launchSettings.json
index edb877f3e85..daf13ea51ae 100644
--- a/src/Bswup/Bit.Bswup.Demo/Server/Properties/launchSettings.json
+++ b/src/Bswup/Bit.Bswup.Demo/Server/Properties/launchSettings.json
@@ -5,7 +5,6 @@
"commandName": "Project",
"dotnetRunMessages": true,
"launchBrowser": true,
- "inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}",
"applicationUrl": "http://localhost:5024;https://localhost:5025",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
diff --git a/src/Bswup/Bit.Bswup/Bit.Bswup.csproj b/src/Bswup/Bit.Bswup/Bit.Bswup.csproj
index 0e76d2f6e8c..d69be0dbbd8 100644
--- a/src/Bswup/Bit.Bswup/Bit.Bswup.csproj
+++ b/src/Bswup/Bit.Bswup/Bit.Bswup.csproj
@@ -3,7 +3,7 @@
- net10.0;net9.0;net8.0
+ net11.0;net10.0;net9.0;net8.0
true
- net10.0;net9.0;net8.0
+ net11.0;net10.0;net9.0;net8.0
enable
enable
false
@@ -24,6 +24,7 @@
+
diff --git a/src/Bswup/Tests/Bit.Bswup.Tests.Harness.Web.Client/Bit.Bswup.Tests.Harness.Web.Client.csproj b/src/Bswup/Tests/Bit.Bswup.Tests.Harness.Web.Client/Bit.Bswup.Tests.Harness.Web.Client.csproj
index 503f379cefd..68c7aa859f6 100644
--- a/src/Bswup/Tests/Bit.Bswup.Tests.Harness.Web.Client/Bit.Bswup.Tests.Harness.Web.Client.csproj
+++ b/src/Bswup/Tests/Bit.Bswup.Tests.Harness.Web.Client/Bit.Bswup.Tests.Harness.Web.Client.csproj
@@ -5,7 +5,7 @@
project of an app built from the Blazor Web App template. -->
- net10.0;net9.0;net8.0
+ net11.0;net10.0;net9.0;net8.0
enable
enable
false
@@ -23,6 +23,7 @@
+
diff --git a/src/Bswup/Tests/Bit.Bswup.Tests.Harness.Web/Bit.Bswup.Tests.Harness.Web.csproj b/src/Bswup/Tests/Bit.Bswup.Tests.Harness.Web/Bit.Bswup.Tests.Harness.Web.csproj
index acc837606d4..d0b02773133 100644
--- a/src/Bswup/Tests/Bit.Bswup.Tests.Harness.Web/Bit.Bswup.Tests.Harness.Web.csproj
+++ b/src/Bswup/Tests/Bit.Bswup.Tests.Harness.Web/Bit.Bswup.Tests.Harness.Web.csproj
@@ -8,7 +8,7 @@
the suites can run the harness on every runtime Bit.Bswup ships for. -->
- net10.0;net9.0;net8.0
+ net11.0;net10.0;net9.0;net8.0
enable
enable
false
@@ -18,6 +18,16 @@
+
+
+
+
+
+
diff --git a/src/Bswup/Tests/Bit.Bswup.Tests.Harness.Web/Properties/launchSettings.json b/src/Bswup/Tests/Bit.Bswup.Tests.Harness.Web/Properties/launchSettings.json
index ca37faaa95b..41301a6a225 100644
--- a/src/Bswup/Tests/Bit.Bswup.Tests.Harness.Web/Properties/launchSettings.json
+++ b/src/Bswup/Tests/Bit.Bswup.Tests.Harness.Web/Properties/launchSettings.json
@@ -4,7 +4,6 @@
"commandName": "Project",
"commandLineArgs": "--BswupHarness:Mode=wasm",
"launchBrowser": true,
- "inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}",
"applicationUrl": "http://localhost:5390",
"environmentVariables": { "ASPNETCORE_ENVIRONMENT": "Development" }
},
@@ -12,7 +11,6 @@
"commandName": "Project",
"commandLineArgs": "--BswupHarness:Mode=wasm-noprerender",
"launchBrowser": true,
- "inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}",
"applicationUrl": "http://localhost:5390",
"environmentVariables": { "ASPNETCORE_ENVIRONMENT": "Development" }
},
diff --git a/src/Bswup/Tests/Bit.Bswup.Tests.Harness.Web/Sessions/HarnessMiddleware.cs b/src/Bswup/Tests/Bit.Bswup.Tests.Harness.Web/Sessions/HarnessMiddleware.cs
index 7b5bf389b99..719a3487eae 100644
--- a/src/Bswup/Tests/Bit.Bswup.Tests.Harness.Web/Sessions/HarnessMiddleware.cs
+++ b/src/Bswup/Tests/Bit.Bswup.Tests.Harness.Web/Sessions/HarnessMiddleware.cs
@@ -52,7 +52,12 @@ public async Task InvokeAsync(HttpContext context)
// A hosted client's referenced libraries are served from the host's root _content/, while the
// standalone app - mounted under /standalone/ - resolves them (and lists them in its manifest)
// relative to its base. Map them the way a reverse proxy mounting the app on a sub-path would.
- if (path.StartsWith("/standalone/_content/", StringComparison.OrdinalIgnoreCase))
+ // blazor.webassembly.js joins them on .NET 11: a WebAssembly client keeps it for its own publish
+ // and no longer hands it to a project referencing it, so the host serves the copy its own
+ // StaticWebAssetGroup keeps (see the csproj). Without this the boot script request reaches the
+ // fallback document and the app dies on "SyntaxError: Unexpected token '<'".
+ if (path.StartsWith("/standalone/_content/", StringComparison.OrdinalIgnoreCase)
+ || path.StartsWith("/standalone/_framework/blazor.webassembly.js", StringComparison.OrdinalIgnoreCase))
{
context.Request.Path = path["/standalone".Length..];
}
diff --git a/src/Bswup/Tests/Bit.Bswup.Tests.Harness/Bit.Bswup.Tests.Harness.csproj b/src/Bswup/Tests/Bit.Bswup.Tests.Harness/Bit.Bswup.Tests.Harness.csproj
index 8364552c0b7..f6d9dc3e009 100644
--- a/src/Bswup/Tests/Bit.Bswup.Tests.Harness/Bit.Bswup.Tests.Harness.csproj
+++ b/src/Bswup/Tests/Bit.Bswup.Tests.Harness/Bit.Bswup.Tests.Harness.csproj
@@ -8,7 +8,7 @@
manifests, which is what makes them usable as precached assets the suites can fault. -->
- net10.0;net9.0;net8.0
+ net11.0;net10.0;net9.0;net8.0
enable
enable
false
@@ -24,6 +24,7 @@
+
diff --git a/src/Bswup/Tests/Bit.Bswup.Tests.Hosting/AssemblySetup.cs b/src/Bswup/Tests/Bit.Bswup.Tests.Hosting/AssemblySetup.cs
index ef7bd1395bc..8f03aada29d 100644
--- a/src/Bswup/Tests/Bit.Bswup.Tests.Hosting/AssemblySetup.cs
+++ b/src/Bswup/Tests/Bit.Bswup.Tests.Hosting/AssemblySetup.cs
@@ -13,7 +13,7 @@ public static class AssemblySetup
public static async Task CleanupAsync()
{
await HarnessHostFactory.DisposeSharedAsync();
-#if NET10_0_OR_GREATER
+#if NET11_0_OR_GREATER
await SampleHostFactories.DisposeAsync();
#endif
}
diff --git a/src/Bswup/Tests/Bit.Bswup.Tests.Hosting/Bit.Bswup.Tests.Hosting.csproj b/src/Bswup/Tests/Bit.Bswup.Tests.Hosting/Bit.Bswup.Tests.Hosting.csproj
index 65f0950f228..5007fc917e2 100644
--- a/src/Bswup/Tests/Bit.Bswup.Tests.Hosting/Bit.Bswup.Tests.Hosting.csproj
+++ b/src/Bswup/Tests/Bit.Bswup.Tests.Hosting/Bit.Bswup.Tests.Hosting.csproj
@@ -7,7 +7,7 @@
on every target framework in the regular CI job. -->
- net10.0;net9.0;net8.0
+ net11.0;net10.0;net9.0;net8.0
enable
enable
false
@@ -23,14 +23,15 @@
+
-
-
+
+
diff --git a/src/Bswup/Tests/Bit.Bswup.Tests.Hosting/FullSampleHostingTests.cs b/src/Bswup/Tests/Bit.Bswup.Tests.Hosting/FullSampleHostingTests.cs
index 875f4419ef3..769f00eb097 100644
--- a/src/Bswup/Tests/Bit.Bswup.Tests.Hosting/FullSampleHostingTests.cs
+++ b/src/Bswup/Tests/Bit.Bswup.Tests.Hosting/FullSampleHostingTests.cs
@@ -1,4 +1,4 @@
-#if NET10_0_OR_GREATER
+#if NET11_0_OR_GREATER
using System.Net;
using Bit.Bswup.Tests.Hosting.Infrastructure;
using Microsoft.AspNetCore.Mvc.Testing;
@@ -54,7 +54,8 @@ public async Task Every_asset_the_samples_worker_precaches_is_served_with_the_by
var manifest = await PrecacheManifest.LoadAsync(client, "/");
// The sample's own assetsExclude (see its service-worker.js).
- var problems = await manifest.VerifyServedAsync(client, "/", @"^Bit\.Bswup\.FullSample\.Client\.styles\.css$", @"weather\.json$");
+ var problems = await manifest.VerifyServedAsync(client, "/",
+ @"^Bit\.Bswup\.FullSample\.Client\.styles\.css$", @"weather\.json$", @"^_framework/blazor\.webassembly\.js$");
Assert.AreEqual(0, problems.Count, string.Join(Environment.NewLine, problems));
}
diff --git a/src/Bswup/Tests/Bit.Bswup.Tests.Mcp/Bit.Bswup.Tests.Mcp.csproj b/src/Bswup/Tests/Bit.Bswup.Tests.Mcp/Bit.Bswup.Tests.Mcp.csproj
index f52d7246639..d070f8681b0 100644
--- a/src/Bswup/Tests/Bit.Bswup.Tests.Mcp/Bit.Bswup.Tests.Mcp.csproj
+++ b/src/Bswup/Tests/Bit.Bswup.Tests.Mcp/Bit.Bswup.Tests.Mcp.csproj
@@ -1,7 +1,7 @@
- net10.0
+ net11.0
Exe
@@ -18,7 +18,7 @@
-
+
diff --git a/src/Butil/Bit.Butil.Demo/Client/Bit.Butil.Demo.Client.csproj b/src/Butil/Bit.Butil.Demo/Client/Bit.Butil.Demo.Client.csproj
index 2e877adc74a..7176f216fa8 100644
--- a/src/Butil/Bit.Butil.Demo/Client/Bit.Butil.Demo.Client.csproj
+++ b/src/Butil/Bit.Butil.Demo/Client/Bit.Butil.Demo.Client.csproj
@@ -1,7 +1,8 @@
- net10.0
+ net11.0
+ false
enable
enable
true
@@ -13,7 +14,7 @@
-
+
diff --git a/src/Butil/Bit.Butil.Demo/Client/Pages/JavaScriptTrimmingPage.razor b/src/Butil/Bit.Butil.Demo/Client/Pages/JavaScriptTrimmingPage.razor
index b54523f3a6c..e46bc7716a3 100644
--- a/src/Butil/Bit.Butil.Demo/Client/Pages/JavaScriptTrimmingPage.razor
+++ b/src/Butil/Bit.Butil.Demo/Client/Pages/JavaScriptTrimmingPage.razor
@@ -207,7 +207,7 @@ new("MyApp.Maui.csproj", """
- $(NuGetPackageRoot)bit.butil\10.6.2\lib\net10.0\Bit.Butil.dll
+ $(NuGetPackageRoot)bit.butil\11.0.0-pre-01\lib\net10.0\Bit.Butil.dll
""")
Language="xml" />
diff --git a/src/Butil/Bit.Butil.Demo/Server/Bit.Butil.Demo.Server.csproj b/src/Butil/Bit.Butil.Demo/Server/Bit.Butil.Demo.Server.csproj
index 29af0db0fb8..6d8b6b3bf85 100644
--- a/src/Butil/Bit.Butil.Demo/Server/Bit.Butil.Demo.Server.csproj
+++ b/src/Butil/Bit.Butil.Demo/Server/Bit.Butil.Demo.Server.csproj
@@ -1,7 +1,7 @@
- net10.0
+ net11.0
enable
enable
true
@@ -9,7 +9,7 @@
-
+
diff --git a/src/Butil/Bit.Butil.Demo/Server/Program.cs b/src/Butil/Bit.Butil.Demo/Server/Program.cs
index 3ee45da414e..78fd382f7d9 100644
--- a/src/Butil/Bit.Butil.Demo/Server/Program.cs
+++ b/src/Butil/Bit.Butil.Demo/Server/Program.cs
@@ -112,11 +112,7 @@
var app = builder.Build();
-if (app.Environment.IsDevelopment())
-{
- app.UseWebAssemblyDebugging();
-}
-else
+if (app.Environment.IsDevelopment() is false)
{
app.UseExceptionHandler("/Error", createScopeForErrors: true);
app.UseHsts();
diff --git a/src/Butil/Bit.Butil.Demo/Server/Properties/launchSettings.json b/src/Butil/Bit.Butil.Demo/Server/Properties/launchSettings.json
index f73192c3cd8..7742f084f40 100644
--- a/src/Butil/Bit.Butil.Demo/Server/Properties/launchSettings.json
+++ b/src/Butil/Bit.Butil.Demo/Server/Properties/launchSettings.json
@@ -5,7 +5,6 @@
"commandName": "Project",
"dotnetRunMessages": true,
"launchBrowser": true,
- "inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}",
"applicationUrl": "https://localhost:5253;http://localhost:5252",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
diff --git a/src/Butil/Bit.Butil/Bit.Butil.csproj b/src/Butil/Bit.Butil/Bit.Butil.csproj
index e467789576d..cc864dba658 100644
--- a/src/Butil/Bit.Butil/Bit.Butil.csproj
+++ b/src/Butil/Bit.Butil/Bit.Butil.csproj
@@ -3,7 +3,7 @@
- net10.0;net9.0;net8.0
+ net11.0;net10.0;net9.0;net8.0
true
$(NoWarn);NU5100
@@ -22,6 +22,7 @@
+
diff --git a/src/Butil/Bit.Butil/Scripts/butil.ts b/src/Butil/Bit.Butil/Scripts/butil.ts
index 8c8db98c506..e833ca7ff7f 100644
--- a/src/Butil/Bit.Butil/Scripts/butil.ts
+++ b/src/Butil/Bit.Butil/Scripts/butil.ts
@@ -1,2 +1,2 @@
var BitButil = (window as any).BitButil = (window as any).BitButil || {};
-BitButil.version = window['bit-butil version'] = '10.6.2';
\ No newline at end of file
+BitButil.version = window['bit-butil version'] = '11.0.0-pre-01';
\ No newline at end of file
diff --git a/src/Butil/Samples/Bit.Butil.Samples.Core/Bit.Butil.Samples.Core.csproj b/src/Butil/Samples/Bit.Butil.Samples.Core/Bit.Butil.Samples.Core.csproj
index 3a4d3372209..05ebe4684d1 100644
--- a/src/Butil/Samples/Bit.Butil.Samples.Core/Bit.Butil.Samples.Core.csproj
+++ b/src/Butil/Samples/Bit.Butil.Samples.Core/Bit.Butil.Samples.Core.csproj
@@ -2,8 +2,8 @@
- net10.0;net9.0;net8.0
+ these pages on every runtime Bit.Butil ships for. The sample apps themselves pick net11.0. -->
+ net11.0;net10.0;net9.0;net8.0
diff --git a/src/Butil/Samples/Bit.Butil.Samples.Maui/Bit.Butil.Samples.Maui.csproj b/src/Butil/Samples/Bit.Butil.Samples.Maui/Bit.Butil.Samples.Maui.csproj
index 256c7c17337..2ed8b43987e 100644
--- a/src/Butil/Samples/Bit.Butil.Samples.Maui/Bit.Butil.Samples.Maui.csproj
+++ b/src/Butil/Samples/Bit.Butil.Samples.Maui/Bit.Butil.Samples.Maui.csproj
@@ -1,11 +1,11 @@
- net10.0-android;net10.0-ios;net10.0-maccatalyst
- $(TargetFrameworks);net10.0-windows10.0.19041.0
- net10.0-android
+ net11.0-android;net11.0-ios;net11.0-maccatalyst
+ $(TargetFrameworks);net11.0-windows10.0.19041.0
+ net11.0-android
-
+
Exe
true
true
@@ -22,9 +22,6 @@
1.0.0
1
-
- True
-
$(NoWarn);ClassWithoutModifierAnalyzer
@@ -50,9 +47,9 @@
-
-
-
+
+
+
diff --git a/src/Butil/Samples/Bit.Butil.Samples.Web/Bit.Butil.Samples.Web.csproj b/src/Butil/Samples/Bit.Butil.Samples.Web/Bit.Butil.Samples.Web.csproj
index 1c1a5164493..9477d6ff729 100644
--- a/src/Butil/Samples/Bit.Butil.Samples.Web/Bit.Butil.Samples.Web.csproj
+++ b/src/Butil/Samples/Bit.Butil.Samples.Web/Bit.Butil.Samples.Web.csproj
@@ -1,14 +1,15 @@
- net10.0
+ net11.0
+ false
enable
enable
-
-
+
+
diff --git a/src/Butil/Samples/Bit.Butil.Samples.Web/Properties/launchSettings.json b/src/Butil/Samples/Bit.Butil.Samples.Web/Properties/launchSettings.json
index 5dae728713a..804970b4729 100644
--- a/src/Butil/Samples/Bit.Butil.Samples.Web/Properties/launchSettings.json
+++ b/src/Butil/Samples/Bit.Butil.Samples.Web/Properties/launchSettings.json
@@ -5,7 +5,6 @@
"commandName": "Project",
"dotnetRunMessages": true,
"launchBrowser": true,
- "inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}",
"applicationUrl": "http://localhost:5040;https://localhost:5041",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
diff --git a/src/Butil/tests/Bit.Butil.Tests.Benchmarks/Bit.Butil.Tests.Benchmarks.csproj b/src/Butil/tests/Bit.Butil.Tests.Benchmarks/Bit.Butil.Tests.Benchmarks.csproj
index eb0907c6116..5aa963b4420 100644
--- a/src/Butil/tests/Bit.Butil.Tests.Benchmarks/Bit.Butil.Tests.Benchmarks.csproj
+++ b/src/Butil/tests/Bit.Butil.Tests.Benchmarks/Bit.Butil.Tests.Benchmarks.csproj
@@ -2,7 +2,7 @@
Exe
- net10.0
+ net11.0
enable
enable
preview
diff --git a/src/Butil/tests/Bit.Butil.Tests.E2E/Bit.Butil.Tests.E2E.csproj b/src/Butil/tests/Bit.Butil.Tests.E2E/Bit.Butil.Tests.E2E.csproj
index dd8480c0e0c..0273d4e5d94 100644
--- a/src/Butil/tests/Bit.Butil.Tests.E2E/Bit.Butil.Tests.E2E.csproj
+++ b/src/Butil/tests/Bit.Butil.Tests.E2E/Bit.Butil.Tests.E2E.csproj
@@ -1,7 +1,7 @@
- net10.0
+ net11.0
enable
enable
false
diff --git a/src/Butil/tests/Bit.Butil.Tests.E2E/Infrastructure/E2EEnvironment.cs b/src/Butil/tests/Bit.Butil.Tests.E2E/Infrastructure/E2EEnvironment.cs
index 3314d9f2777..224b83320cc 100644
--- a/src/Butil/tests/Bit.Butil.Tests.E2E/Infrastructure/E2EEnvironment.cs
+++ b/src/Butil/tests/Bit.Butil.Tests.E2E/Infrastructure/E2EEnvironment.cs
@@ -14,10 +14,10 @@ public static class E2EEnvironment
public static string Host { get; } = HarnessHostKinds.Validate(Read("BUTIL_E2E_HOST") ?? HarnessHostKinds.Standalone);
///
- /// BUTIL_E2E_FRAMEWORK: the target framework the web harness host runs on (net10.0, net9.0 or
- /// net8.0). Defaults to net10.0. The standalone sample and the hybrid host are net10.0 only.
+ /// BUTIL_E2E_FRAMEWORK: the target framework the web harness host runs on (net11.0, net10.0, net9.0 or
+ /// net8.0). Defaults to net11.0. The standalone sample and the hybrid host are net11.0 only.
///
- public static string Framework { get; } = Read("BUTIL_E2E_FRAMEWORK") ?? "net10.0";
+ public static string Framework { get; } = Read("BUTIL_E2E_FRAMEWORK") ?? "net11.0";
///
/// BUTIL_E2E_CONFIGURATION: the build configuration of the harness hosts. Defaults to the
diff --git a/src/Butil/tests/Bit.Butil.Tests.E2E/Infrastructure/RepoLayout.cs b/src/Butil/tests/Bit.Butil.Tests.E2E/Infrastructure/RepoLayout.cs
index 4092f040605..9792c50a875 100644
--- a/src/Butil/tests/Bit.Butil.Tests.E2E/Infrastructure/RepoLayout.cs
+++ b/src/Butil/tests/Bit.Butil.Tests.E2E/Infrastructure/RepoLayout.cs
@@ -53,5 +53,5 @@ public static string HybridHarnessProject()
=> FindUpward(Path.Combine("tests", HybridHarnessName, $"{HybridHarnessName}.csproj"));
public static string HybridHarnessExecutable(string configuration)
- => Path.Combine(Path.GetDirectoryName(HybridHarnessProject())!, "bin", configuration, "net10.0-windows", $"{HybridHarnessName}.exe");
+ => Path.Combine(Path.GetDirectoryName(HybridHarnessProject())!, "bin", configuration, "net11.0-windows", $"{HybridHarnessName}.exe");
}
diff --git a/src/Butil/tests/Bit.Butil.Tests.E2E/publish-gate.sh b/src/Butil/tests/Bit.Butil.Tests.E2E/publish-gate.sh
index b171b1d056e..594f35e0aa6 100644
--- a/src/Butil/tests/Bit.Butil.Tests.E2E/publish-gate.sh
+++ b/src/Butil/tests/Bit.Butil.Tests.E2E/publish-gate.sh
@@ -19,10 +19,10 @@ here="$(cd "$(dirname "$0")" && pwd)"
project="$here/../Bit.Butil.Tests.Harness.Web/Bit.Butil.Tests.Harness.Web.csproj"
log="$(mktemp)"
-# ButilHarnessFramework=net10.0 on top of -f: -f alone does not reach project references, so the WebAssembly
+# ButilHarnessFramework=net11.0 on top of -f: -f alone does not reach project references, so the WebAssembly
# client would still evaluate every framework it targets - and with RunAOTCompilation each of those demands its
# own wasm-tools workload. Not -p:TargetFrameworks, which would also reach the netstandard2.0 Bit.Butil.Build.
-dotnet publish "$project" -c Release -f net10.0 -p:ButilHarnessFramework=net10.0 -o "$output" \
+dotnet publish "$project" -c Release -f net11.0 -p:ButilHarnessFramework=net11.0 -o "$output" \
-p:SuppressTrimAnalysisWarnings=false -p:TrimmerSingleWarn=false "$@" 2>&1 | tee "$log"
# The origin member follows the warning code, so "IL2026: Bit.Butil.Clipboard.X" is raised inside the library
diff --git a/src/Butil/tests/Bit.Butil.Tests.Harness.Hybrid/Bit.Butil.Tests.Harness.Hybrid.csproj b/src/Butil/tests/Bit.Butil.Tests.Harness.Hybrid/Bit.Butil.Tests.Harness.Hybrid.csproj
index 0f46dd00982..e7e222a331d 100644
--- a/src/Butil/tests/Bit.Butil.Tests.Harness.Hybrid/Bit.Butil.Tests.Harness.Hybrid.csproj
+++ b/src/Butil/tests/Bit.Butil.Tests.Harness.Hybrid/Bit.Butil.Tests.Harness.Hybrid.csproj
@@ -8,7 +8,7 @@
WinExe
- net10.0-windows
+ net11.0-windows
true
true
@@ -21,7 +21,7 @@
-
+
diff --git a/src/Butil/tests/Bit.Butil.Tests.Harness.Web.Client/Bit.Butil.Tests.Harness.Web.Client.csproj b/src/Butil/tests/Bit.Butil.Tests.Harness.Web.Client/Bit.Butil.Tests.Harness.Web.Client.csproj
index 2b6f2101aa5..5ed99201ad7 100644
--- a/src/Butil/tests/Bit.Butil.Tests.Harness.Web.Client/Bit.Butil.Tests.Harness.Web.Client.csproj
+++ b/src/Butil/tests/Bit.Butil.Tests.Harness.Web.Client/Bit.Butil.Tests.Harness.Web.Client.csproj
@@ -4,7 +4,7 @@
browser. It carries no pages of its own - they come from Samples.Core - only the client's startup. -->
- net10.0;net9.0;net8.0
+ net11.0;net10.0;net9.0;net8.0
$(ButilHarnessFramework)
enable
@@ -19,6 +19,7 @@
+
diff --git a/src/Butil/tests/Bit.Butil.Tests.Harness.Web/Bit.Butil.Tests.Harness.Web.csproj b/src/Butil/tests/Bit.Butil.Tests.Harness.Web/Bit.Butil.Tests.Harness.Web.csproj
index 783e4f23732..11e42a48e07 100644
--- a/src/Butil/tests/Bit.Butil.Tests.Harness.Web/Bit.Butil.Tests.Harness.Web.csproj
+++ b/src/Butil/tests/Bit.Butil.Tests.Harness.Web/Bit.Butil.Tests.Harness.Web.csproj
@@ -8,7 +8,7 @@
is: the suites can run the harness on every runtime Bit.Butil ships for. -->
- net10.0;net9.0;net8.0
+ net11.0;net10.0;net9.0;net8.0
@@ -25,6 +25,7 @@
+
diff --git a/src/Butil/tests/Bit.Butil.Tests.Harness.Web/Properties/launchSettings.json b/src/Butil/tests/Bit.Butil.Tests.Harness.Web/Properties/launchSettings.json
index fe3b67e9348..276cc2a9f55 100644
--- a/src/Butil/tests/Bit.Butil.Tests.Harness.Web/Properties/launchSettings.json
+++ b/src/Butil/tests/Bit.Butil.Tests.Harness.Web/Properties/launchSettings.json
@@ -21,7 +21,6 @@
"commandLineArgs": "--ButilHarness:Mode=wasm",
"launchBrowser": true,
"launchUrl": "e2e",
- "inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}",
"applicationUrl": "http://localhost:5390",
"environmentVariables": { "ASPNETCORE_ENVIRONMENT": "Development" }
},
diff --git a/src/Butil/tests/Bit.Butil.Tests.Hosting/Bit.Butil.Tests.Hosting.csproj b/src/Butil/tests/Bit.Butil.Tests.Hosting/Bit.Butil.Tests.Hosting.csproj
index 117e8b06c28..46d28673554 100644
--- a/src/Butil/tests/Bit.Butil.Tests.Hosting/Bit.Butil.Tests.Hosting.csproj
+++ b/src/Butil/tests/Bit.Butil.Tests.Hosting/Bit.Butil.Tests.Hosting.csproj
@@ -7,7 +7,7 @@
browser, so this runs on every target framework in the regular CI job. -->
- net10.0;net9.0;net8.0
+ net11.0;net10.0;net9.0;net8.0
enable
enable
false
@@ -27,6 +27,7 @@
+
diff --git a/src/Butil/tests/Bit.Butil.Tests.Manual/Bit.Butil.Tests.Manual.csproj b/src/Butil/tests/Bit.Butil.Tests.Manual/Bit.Butil.Tests.Manual.csproj
index 25a18802f68..caac1141b9e 100644
--- a/src/Butil/tests/Bit.Butil.Tests.Manual/Bit.Butil.Tests.Manual.csproj
+++ b/src/Butil/tests/Bit.Butil.Tests.Manual/Bit.Butil.Tests.Manual.csproj
@@ -2,7 +2,7 @@
Exe
- net10.0
+ net11.0
enable
enable
preview
diff --git a/src/Butil/tests/Bit.Butil.Tests.Mcp/Bit.Butil.Tests.Mcp.csproj b/src/Butil/tests/Bit.Butil.Tests.Mcp/Bit.Butil.Tests.Mcp.csproj
index 884b75443dc..e1e40eed97e 100644
--- a/src/Butil/tests/Bit.Butil.Tests.Mcp/Bit.Butil.Tests.Mcp.csproj
+++ b/src/Butil/tests/Bit.Butil.Tests.Mcp/Bit.Butil.Tests.Mcp.csproj
@@ -1,7 +1,7 @@
- net10.0
+ net11.0
enable
enable
false
diff --git a/src/Butil/tests/Bit.Butil.Tests.PublishFixture/Bit.Butil.Tests.PublishFixture.csproj b/src/Butil/tests/Bit.Butil.Tests.PublishFixture/Bit.Butil.Tests.PublishFixture.csproj
index cd0fbd67a75..b150dcbdf1c 100644
--- a/src/Butil/tests/Bit.Butil.Tests.PublishFixture/Bit.Butil.Tests.PublishFixture.csproj
+++ b/src/Butil/tests/Bit.Butil.Tests.PublishFixture/Bit.Butil.Tests.PublishFixture.csproj
@@ -18,7 +18,7 @@
-->
- net10.0
+ net11.0
enable
enable
false
diff --git a/src/Minifier/Bit.Minifier.Cli/Bit.Minifier.Cli.csproj b/src/Minifier/Bit.Minifier.Cli/Bit.Minifier.Cli.csproj
index a546c147945..877c985c06a 100644
--- a/src/Minifier/Bit.Minifier.Cli/Bit.Minifier.Cli.csproj
+++ b/src/Minifier/Bit.Minifier.Cli/Bit.Minifier.Cli.csproj
@@ -11,7 +11,7 @@
and nothing else: minifying needs Mono.Cecil and reading a map needs no dependency at all. -->
Exe
- net10.0
+ net11.0
Major
enable
true
diff --git a/src/Minifier/Bit.Minifier/Bit.Minifier.csproj b/src/Minifier/Bit.Minifier/Bit.Minifier.csproj
index 69608bb8e39..670d3fb9673 100644
--- a/src/Minifier/Bit.Minifier/Bit.Minifier.csproj
+++ b/src/Minifier/Bit.Minifier/Bit.Minifier.csproj
@@ -9,7 +9,7 @@
An executable rather than an MSBuild task: Mono.Cecil then never shares a process with the copy
ILLink.Tasks may have loaded, and one binary serves both MSBuild flavours. net8.0 + RollForward=Major
runs on whatever runtime the SDK doing the publish carries, whichever version of it an app is on - the
- tools a person runs themselves (Bit.Minifier.Cli) target net10.0 instead. -->
+ tools a person runs themselves (Bit.Minifier.Cli) target net11.0 instead. -->
Exe
net8.0
diff --git a/src/Minifier/Tests/Bit.Minifier.Tests.Friend/Bit.Minifier.Tests.Friend.csproj b/src/Minifier/Tests/Bit.Minifier.Tests.Friend/Bit.Minifier.Tests.Friend.csproj
index 95cbdace82a..219a4c8eff1 100644
--- a/src/Minifier/Tests/Bit.Minifier.Tests.Friend/Bit.Minifier.Tests.Friend.csproj
+++ b/src/Minifier/Tests/Bit.Minifier.Tests.Friend/Bit.Minifier.Tests.Friend.csproj
@@ -2,7 +2,7 @@
- net10.0
+ net11.0
enable
enable
false
diff --git a/src/Minifier/Tests/Bit.Minifier.Tests.Library/Bit.Minifier.Tests.Library.csproj b/src/Minifier/Tests/Bit.Minifier.Tests.Library/Bit.Minifier.Tests.Library.csproj
index 73b9a6449c6..c1af99f9aa0 100644
--- a/src/Minifier/Tests/Bit.Minifier.Tests.Library/Bit.Minifier.Tests.Library.csproj
+++ b/src/Minifier/Tests/Bit.Minifier.Tests.Library/Bit.Minifier.Tests.Library.csproj
@@ -2,7 +2,7 @@
- net10.0
+ net11.0
enable
enable
false
diff --git a/src/Minifier/Tests/Bit.Minifier.Tests/Bit.Minifier.Tests.csproj b/src/Minifier/Tests/Bit.Minifier.Tests/Bit.Minifier.Tests.csproj
index 6005bf94dd0..b903a211f50 100644
--- a/src/Minifier/Tests/Bit.Minifier.Tests/Bit.Minifier.Tests.csproj
+++ b/src/Minifier/Tests/Bit.Minifier.Tests/Bit.Minifier.Tests.csproj
@@ -1,7 +1,7 @@
- net10.0
+ net11.0
enable
enable
false
diff --git a/src/ResxTranslator/Bit.ResxTranslator/Bit.ResxTranslator.csproj b/src/ResxTranslator/Bit.ResxTranslator/Bit.ResxTranslator.csproj
index 00ca40acf47..47d2b3d0206 100644
--- a/src/ResxTranslator/Bit.ResxTranslator/Bit.ResxTranslator.csproj
+++ b/src/ResxTranslator/Bit.ResxTranslator/Bit.ResxTranslator.csproj
@@ -4,7 +4,7 @@
Exe
- net10.0
+ net11.0
enable
enable
true
@@ -16,10 +16,10 @@
-
-
-
-
+
+
+
+
diff --git a/src/Templates/BlazorEmpty/Bit.BlazorEmpty/BlazorEmpty.Client/BlazorEmpty.Client.csproj b/src/Templates/BlazorEmpty/Bit.BlazorEmpty/BlazorEmpty.Client/BlazorEmpty.Client.csproj
index 2ade981f1e6..9c09f5aeb42 100644
--- a/src/Templates/BlazorEmpty/Bit.BlazorEmpty/BlazorEmpty.Client/BlazorEmpty.Client.csproj
+++ b/src/Templates/BlazorEmpty/Bit.BlazorEmpty/BlazorEmpty.Client/BlazorEmpty.Client.csproj
@@ -1,9 +1,9 @@
-
+
- net10.0
+ net11.0
enable
enable
true
@@ -11,18 +11,18 @@
-
+
-
+
-
+
all
runtime; build; native; contentfiles; analyzers; buildtransitive
-
+
all
runtime; build; native; contentfiles; analyzers; buildtransitive
diff --git a/src/Templates/BlazorEmpty/Bit.BlazorEmpty/BlazorEmpty/BlazorEmpty.csproj b/src/Templates/BlazorEmpty/Bit.BlazorEmpty/BlazorEmpty/BlazorEmpty.csproj
index 34adc19d49e..3831da9cbbd 100644
--- a/src/Templates/BlazorEmpty/Bit.BlazorEmpty/BlazorEmpty/BlazorEmpty.csproj
+++ b/src/Templates/BlazorEmpty/Bit.BlazorEmpty/BlazorEmpty/BlazorEmpty.csproj
@@ -1,9 +1,9 @@
-
+
- net10.0
+ net11.0
enable
enable
True
@@ -12,20 +12,20 @@
-
+
-
+
-
+
all
runtime; build; native; contentfiles; analyzers; buildtransitive
-
+
all
runtime; build; native; contentfiles; analyzers; buildtransitive
diff --git a/src/Templates/BlazorEmpty/Bit.BlazorEmpty/BlazorEmpty/Program.Main.cs b/src/Templates/BlazorEmpty/Bit.BlazorEmpty/BlazorEmpty/Program.Main.cs
index f120ea4aa4f..2cae9147e95 100644
--- a/src/Templates/BlazorEmpty/Bit.BlazorEmpty/BlazorEmpty/Program.Main.cs
+++ b/src/Templates/BlazorEmpty/Bit.BlazorEmpty/BlazorEmpty/Program.Main.cs
@@ -38,15 +38,7 @@ public static void Main(string[] args)
var app = builder.Build();
// Configure the HTTP request pipeline.
-#if (UseWebAssembly)
- if (builder.Environment.IsDevelopment())
- {
- app.UseWebAssemblyDebugging();
- }
- else
-#else
if (builder.Environment.IsDevelopment() is false)
-#endif
{
app.UseExceptionHandler("/Error", createScopeForErrors: true);
// The default HSTS value is 30 days. You may want to change this for production scenarios, see https://aka.ms/aspnetcore-hsts.
diff --git a/src/Templates/BlazorEmpty/Bit.BlazorEmpty/BlazorEmpty/Program.cs b/src/Templates/BlazorEmpty/Bit.BlazorEmpty/BlazorEmpty/Program.cs
index f85bc66f67b..90767ebee65 100644
--- a/src/Templates/BlazorEmpty/Bit.BlazorEmpty/BlazorEmpty/Program.cs
+++ b/src/Templates/BlazorEmpty/Bit.BlazorEmpty/BlazorEmpty/Program.cs
@@ -32,15 +32,7 @@
var app = builder.Build();
// Configure the HTTP request pipeline.
-#if (UseWebAssembly)
-if (builder.Environment.IsDevelopment())
-{
- app.UseWebAssemblyDebugging();
-}
-else
-#else
if (builder.Environment.IsDevelopment() is false)
-#endif
{
app.UseExceptionHandler("/Error", createScopeForErrors: true);
// The default HSTS value is 30 days. You may want to change this for production scenarios, see https://aka.ms/aspnetcore-hsts.
diff --git a/src/Templates/BlazorEmpty/Bit.BlazorEmpty/BlazorEmpty/Properties/launchSettings.json b/src/Templates/BlazorEmpty/Bit.BlazorEmpty/BlazorEmpty/Properties/launchSettings.json
index 0df007392e7..22ca8deead5 100644
--- a/src/Templates/BlazorEmpty/Bit.BlazorEmpty/BlazorEmpty/Properties/launchSettings.json
+++ b/src/Templates/BlazorEmpty/Bit.BlazorEmpty/BlazorEmpty/Properties/launchSettings.json
@@ -18,7 +18,6 @@
"dotnetRunMessages": true,
"launchBrowser": true,
//#if (UseWebAssembly)
- "inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}",
//#endif
"applicationUrl": "http://localhost:5500",
"environmentVariables": {
@@ -31,7 +30,6 @@
"dotnetRunMessages": true,
"launchBrowser": true,
//#if (UseWebAssembly)
- "inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}",
//#endif
"applicationUrl": "https://localhost:5501;http://localhost:5500",
"environmentVariables": {
@@ -43,7 +41,6 @@
"commandName": "IISExpress",
"launchBrowser": true,
//#if (UseWebAssembly)
- "inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}",
//#endif
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
diff --git a/src/Templates/BlazorEmpty/Bit.BlazorEmpty/global.json b/src/Templates/BlazorEmpty/Bit.BlazorEmpty/global.json
index 6ce09c7c748..9b40ef830e9 100644
--- a/src/Templates/BlazorEmpty/Bit.BlazorEmpty/global.json
+++ b/src/Templates/BlazorEmpty/Bit.BlazorEmpty/global.json
@@ -1,6 +1,6 @@
{
"sdk": {
- "version": "10.0.100",
- "rollForward": "latestFeature"
+ "version": "11.0.100-rc.1.26425.128",
+ "rollForward": "disable"
}
}
\ No newline at end of file
diff --git a/src/Templates/Boilerplate/Bit.Boilerplate.ProjectTemplate.csproj b/src/Templates/Boilerplate/Bit.Boilerplate.ProjectTemplate.csproj
index 66b8b8df608..f88a3966953 100644
--- a/src/Templates/Boilerplate/Bit.Boilerplate.ProjectTemplate.csproj
+++ b/src/Templates/Boilerplate/Bit.Boilerplate.ProjectTemplate.csproj
@@ -3,7 +3,7 @@
- net10.0
+ net11.0
false
content
false
diff --git a/src/Templates/Boilerplate/Bit.Boilerplate/.codex/config.toml b/src/Templates/Boilerplate/Bit.Boilerplate/.codex/config.toml
index cb29e33ff37..09780629218 100644
--- a/src/Templates/Boilerplate/Bit.Boilerplate/.codex/config.toml
+++ b/src/Templates/Boilerplate/Bit.Boilerplate/.codex/config.toml
@@ -1,5 +1,5 @@
[mcp_servers.bitplatform]
-url = "https://bitplatform.dev/mcp?v=10.6.2"
+url = "https://bitplatform.dev/mcp?v=11.0.0"
[mcp_servers.dev-mcp]
url = "https://use-your-api-server-url-here.com/dev-mcp"
diff --git a/src/Templates/Boilerplate/Bit.Boilerplate/.cursor/mcp.json b/src/Templates/Boilerplate/Bit.Boilerplate/.cursor/mcp.json
index 0902e26029b..f1a7987820b 100644
--- a/src/Templates/Boilerplate/Bit.Boilerplate/.cursor/mcp.json
+++ b/src/Templates/Boilerplate/Bit.Boilerplate/.cursor/mcp.json
@@ -1,7 +1,7 @@
{
"mcpServers": {
"bitplatform": {
- "url": "https://bitplatform.dev/mcp?v=10.6.2"
+ "url": "https://bitplatform.dev/mcp?v=11.0.0"
},
"dev-mcp": {
"url": "https://use-your-api-server-url-here.com/dev-mcp"
diff --git a/src/Templates/Boilerplate/Bit.Boilerplate/.docs/19- Project Miscellaneous Files.md b/src/Templates/Boilerplate/Bit.Boilerplate/.docs/19- Project Miscellaneous Files.md
index 38c7c976ac8..28936d081fc 100644
--- a/src/Templates/Boilerplate/Bit.Boilerplate/.docs/19- Project Miscellaneous Files.md
+++ b/src/Templates/Boilerplate/Bit.Boilerplate/.docs/19- Project Miscellaneous Files.md
@@ -221,7 +221,7 @@ These namespaces are **automatically imported** in every C# file, eliminating th
Instead of this in each `.csproj`:
```xml
-
+
```
You write this in `.csproj`:
@@ -231,7 +231,7 @@ You write this in `.csproj`:
And the version is defined centrally in `Directory.Packages.props`:
```xml
-
+
```
**Benefits**:
@@ -242,8 +242,8 @@ And the version is defined centrally in `Directory.Packages.props`:
**Example packages included**:
```xml
-
-
+
+
@@ -434,7 +434,7 @@ dnx Bit.ResxTranslator
"servers": {
"bitplatform": {
"type": "http",
- "url": "https://bitplatform.dev/mcp?v=10.6.2"
+ "url": "https://bitplatform.dev/mcp?v=11.0.0"
}
}
}
@@ -602,7 +602,7 @@ When you open the project in VS Code, you'll be prompted to install these extens
**Example**:
````markdown
-This project gets generated by bit-bp template v-10.6.2 using the following command
+This project gets generated by bit-bp template v-11.0.0-pre-01 using the following command
```bash
dotnet new bit-bp
--name Boilerplate
diff --git a/src/Templates/Boilerplate/Bit.Boilerplate/.gemini/settings.json b/src/Templates/Boilerplate/Bit.Boilerplate/.gemini/settings.json
index 46c2080e014..5750d18f84f 100644
--- a/src/Templates/Boilerplate/Bit.Boilerplate/.gemini/settings.json
+++ b/src/Templates/Boilerplate/Bit.Boilerplate/.gemini/settings.json
@@ -1,7 +1,7 @@
{
"mcpServers": {
"bitplatform": {
- "httpUrl": "https://bitplatform.dev/mcp?v=10.6.2"
+ "httpUrl": "https://bitplatform.dev/mcp?v=11.0.0"
},
"aspire": {
"command": "aspire",
diff --git a/src/Templates/Boilerplate/Bit.Boilerplate/.junie/mcp/mcp.json b/src/Templates/Boilerplate/Bit.Boilerplate/.junie/mcp/mcp.json
index c109c52ee49..416781b21b8 100644
--- a/src/Templates/Boilerplate/Bit.Boilerplate/.junie/mcp/mcp.json
+++ b/src/Templates/Boilerplate/Bit.Boilerplate/.junie/mcp/mcp.json
@@ -2,7 +2,7 @@
"mcpServers": {
"bitplatform": {
"type": "http",
- "url": "https://bitplatform.dev/mcp?v=10.6.2"
+ "url": "https://bitplatform.dev/mcp?v=11.0.0"
},
"dev-mcp": {
"type": "http",
diff --git a/src/Templates/Boilerplate/Bit.Boilerplate/.mcp.json b/src/Templates/Boilerplate/Bit.Boilerplate/.mcp.json
index 3c9256d9c54..de674b29738 100644
--- a/src/Templates/Boilerplate/Bit.Boilerplate/.mcp.json
+++ b/src/Templates/Boilerplate/Bit.Boilerplate/.mcp.json
@@ -2,7 +2,7 @@
"mcpServers": {
"bitplatform": {
"type": "http",
- "url": "https://bitplatform.dev/mcp?v=10.6.2"
+ "url": "https://bitplatform.dev/mcp?v=11.0.0"
},
"dev-mcp": {
"type": "http",
diff --git a/src/Templates/Boilerplate/Bit.Boilerplate/.vscode/mcp.json b/src/Templates/Boilerplate/Bit.Boilerplate/.vscode/mcp.json
index f13ae33fb42..5e01d86bd7c 100644
--- a/src/Templates/Boilerplate/Bit.Boilerplate/.vscode/mcp.json
+++ b/src/Templates/Boilerplate/Bit.Boilerplate/.vscode/mcp.json
@@ -2,7 +2,7 @@
"servers": {
"bitplatform": {
"type": "http",
- "url": "https://bitplatform.dev/mcp?v=10.6.2"
+ "url": "https://bitplatform.dev/mcp?v=11.0.0"
},
"dev-mcp": {
"type": "http",
diff --git a/src/Templates/Boilerplate/Bit.Boilerplate/README.md b/src/Templates/Boilerplate/Bit.Boilerplate/README.md
index fcc3e9b6c1e..358582dc8b8 100644
--- a/src/Templates/Boilerplate/Bit.Boilerplate/README.md
+++ b/src/Templates/Boilerplate/Bit.Boilerplate/README.md
@@ -2,7 +2,7 @@
Thank you for creating a new project with bit platform! We appreciate your trust in our platform and are excited to see what you'll build.
-This project is generated by bit-bp template v-10.6.2 using the following command:
+This project is generated by bit-bp template v-11.0.0-pre-01 using the following command:
```bash
dotnet new bit-bp
diff --git a/src/Templates/Boilerplate/Bit.Boilerplate/global.json b/src/Templates/Boilerplate/Bit.Boilerplate/global.json
index 48af5972b20..17e6b39aff1 100644
--- a/src/Templates/Boilerplate/Bit.Boilerplate/global.json
+++ b/src/Templates/Boilerplate/Bit.Boilerplate/global.json
@@ -1,7 +1,7 @@
{
"sdk": {
- "version": "10.0.100",
- "rollForward": "latestFeature"
+ "version": "11.0.100-rc.1.26425.128",
+ "rollForward": "disable"
},
"test": {
"runner": "Microsoft.Testing.Platform"
diff --git a/src/Templates/Boilerplate/Bit.Boilerplate/nuget.config b/src/Templates/Boilerplate/Bit.Boilerplate/nuget.config
new file mode 100644
index 00000000000..a9e325db066
--- /dev/null
+++ b/src/Templates/Boilerplate/Bit.Boilerplate/nuget.config
@@ -0,0 +1,26 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Boilerplate.Client.Core.csproj b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Boilerplate.Client.Core.csproj
index 170f3e1c55e..50beedfe2ff 100644
--- a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Boilerplate.Client.Core.csproj
+++ b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Boilerplate.Client.Core.csproj
@@ -1,7 +1,7 @@
- net10.0
+ net11.0
BeforeBuildTasks;
$(ResolveStaticWebAssetsInputsDependsOn)
diff --git a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Components/Pages/Home/HomePage.razor b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Components/Pages/Home/HomePage.razor
index 68c40e08fe5..c240d2455f1 100644
--- a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Components/Pages/Home/HomePage.razor
+++ b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Components/Pages/Home/HomePage.razor
@@ -13,6 +13,20 @@
+ @if (IsKiosk)
+ {
+
+
+ @Localizer[nameof(AppStrings.KioskMessage)]
+
+
+
+ @Localizer[nameof(AppStrings.KioskExitApp)]
+
+
+
+ }
+
@Localizer[nameof(AppStrings.HomePanelTitle)]
diff --git a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Components/Pages/Home/HomePage.razor.cs b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Components/Pages/Home/HomePage.razor.cs
index 09a3e573628..a1b15060bc1 100644
--- a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Components/Pages/Home/HomePage.razor.cs
+++ b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Components/Pages/Home/HomePage.razor.cs
@@ -47,6 +47,14 @@ private string BuildSiteJsonLd()
}.ToJsonString();
}
+ ///
+ /// The demo Windows app ships with kiosk mode on, so the page offers the way out that the lockdown takes away.
+ ///
+ private bool IsKiosk => AppPlatform.IsWindows && bool.TryParse(Configuration["Kiosk:Enabled"], out var enabled) && enabled;
+
+ /// Nothing else closes a kiosk window: the close button is gone and WM_CLOSE is refused.
+ private void ExitApp() => Environment.Exit(0);
+
//#if(module != "Sales")
private GitHubStats? gitHubStats;
diff --git a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Infrastructure/Extensions/IClientCoreServiceCollectionExtensions.cs b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Infrastructure/Extensions/IClientCoreServiceCollectionExtensions.cs
index 0de354761b7..ce704c59298 100644
--- a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Infrastructure/Extensions/IClientCoreServiceCollectionExtensions.cs
+++ b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Infrastructure/Extensions/IClientCoreServiceCollectionExtensions.cs
@@ -177,6 +177,11 @@ public IServiceCollection AddClientCoreProjectServices(IConfiguration configurat
}
})
.WithAutomaticReconnect(sp.GetRequiredService())
+ .WithAuthenticationRefresh(options =>
+ {
+ options.EnableAutoRefresh = true;
+ options.RefreshBeforeExpiration = TimeSpan.FromMinutes(1);
+ })
.WithUrl(new Uri(absoluteServerAddressProvider.GetAddress(), "app-hub?origin=" + Uri.EscapeDataString(xOrigin)), options =>
{
//#if (redis == true)
diff --git a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Maui/Boilerplate.Client.Maui.csproj b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Maui/Boilerplate.Client.Maui.csproj
index 07982d7c249..0d1c13720a4 100644
--- a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Maui/Boilerplate.Client.Maui.csproj
+++ b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Maui/Boilerplate.Client.Maui.csproj
@@ -1,11 +1,11 @@
- net10.0-android;net10.0-ios;net10.0-maccatalyst
- $(TargetFrameworks);net10.0-windows10.0.19041.0
- net10.0-android
+ net11.0-android;net11.0-ios;net11.0-maccatalyst
+ $(TargetFrameworks);net11.0-windows10.0.19041.0
+ net11.0-android
-
+
Exe
true
true
@@ -18,8 +18,6 @@
com.bitplatform.template
-
- True
true
$(NoWarn);ClassWithoutModifierAnalyzer
@@ -64,19 +62,13 @@
r8
True
-
- false
- True
Platforms/iOS/Entitlements.Development.plist
- True
-
- -all
Platforms/iOS/Entitlements.Production.plist
@@ -89,22 +81,14 @@
Platforms/MacCatalyst/Entitlements.Production.plist
true
-
- -all
-
-
-
-
-
-
@@ -161,7 +145,6 @@
-
diff --git a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Maui/wwwroot/index.html b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Maui/wwwroot/index.html
index befe2525db4..efc6b83d9f7 100644
--- a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Maui/wwwroot/index.html
+++ b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Maui/wwwroot/index.html
@@ -164,8 +164,7 @@
-
-
+
diff --git a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Web/Boilerplate.Client.Web.csproj b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Web/Boilerplate.Client.Web.csproj
index 04f7e51f1e6..54a5145f378 100644
--- a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Web/Boilerplate.Client.Web.csproj
+++ b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Web/Boilerplate.Client.Web.csproj
@@ -1,7 +1,7 @@