diff --git a/Directory.Build.props b/Directory.Build.props index 029ce8a4..8356eed4 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -36,10 +36,10 @@ Condition=" '$(NetFrameworkTargetFramework)' == '' ">net48 net9.0 + Condition=" '$(NetCoreTargetFramework)' == '' ">net10.0 net9.0-windows + Condition=" '$(NetCoreWindowsTargetFramework)' == '' ">net10.0-windows - + - - - + + + - - - - - - - + + + + + + + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + - diff --git a/global.json b/global.json index 507ebe4f..119de6fb 100644 --- a/global.json +++ b/global.json @@ -1,12 +1,12 @@ { "sdk": { - "version": "9.0.306", + "version": "10.0.100", "allowPrerelease": true, "rollForward": "major" }, "tools": { - "dotnet": "9.0.306" + "dotnet": "10.0.100" }, "msbuild-sdks": { diff --git a/samples/Dantooine/Dantooine.Server/Dantooine.Server.csproj b/samples/Dantooine/Dantooine.Server/Dantooine.Server.csproj index fe8151a2..a42d69f0 100644 --- a/samples/Dantooine/Dantooine.Server/Dantooine.Server.csproj +++ b/samples/Dantooine/Dantooine.Server/Dantooine.Server.csproj @@ -18,7 +18,6 @@ - diff --git a/samples/Matty/Matty.Server/Matty.Server.csproj b/samples/Matty/Matty.Server/Matty.Server.csproj index fe8151a2..a42d69f0 100644 --- a/samples/Matty/Matty.Server/Matty.Server.csproj +++ b/samples/Matty/Matty.Server/Matty.Server.csproj @@ -18,7 +18,6 @@ - diff --git a/samples/Velusia/Velusia.Server/Velusia.Server.csproj b/samples/Velusia/Velusia.Server/Velusia.Server.csproj index 408174c9..17a1f4e3 100644 --- a/samples/Velusia/Velusia.Server/Velusia.Server.csproj +++ b/samples/Velusia/Velusia.Server/Velusia.Server.csproj @@ -18,7 +18,6 @@ - diff --git a/samples/Zirku/Zirku.Api1/Program.cs b/samples/Zirku/Zirku.Api1/Program.cs index 73a872e2..bb8ea894 100644 --- a/samples/Zirku/Zirku.Api1/Program.cs +++ b/samples/Zirku/Zirku.Api1/Program.cs @@ -44,4 +44,6 @@ app.MapGet("api", [Authorize] (ClaimsPrincipal user) => $"{user.Identity!.Name} is allowed to access Api1."); +app.UseWelcomePage(); + app.Run(); diff --git a/samples/Zirku/Zirku.Api2/Program.cs b/samples/Zirku/Zirku.Api2/Program.cs index 0c8573ba..f04690bc 100644 --- a/samples/Zirku/Zirku.Api2/Program.cs +++ b/samples/Zirku/Zirku.Api2/Program.cs @@ -48,4 +48,6 @@ app.MapGet("api", [Authorize] (ClaimsPrincipal user) => $"{user.Identity!.Name} is allowed to access Api2."); +app.UseWelcomePage(); + app.Run(); diff --git a/samples/Zirku/Zirku.Server/Program.cs b/samples/Zirku/Zirku.Server/Program.cs index fa78ebfa..00452ed8 100644 --- a/samples/Zirku/Zirku.Server/Program.cs +++ b/samples/Zirku/Zirku.Server/Program.cs @@ -287,4 +287,6 @@ await manager.CreateAsync(new OpenIddictScopeDescriptor return Results.SignIn(new ClaimsPrincipal(identity), properties: null, OpenIddictServerAspNetCoreDefaults.AuthenticationScheme); }); +app.UseWelcomePage(); + app.Run(); diff --git a/samples/Zirku/Zirku.Server/Zirku.Server.csproj b/samples/Zirku/Zirku.Server/Zirku.Server.csproj index 589d7ceb..3d5caa5a 100644 --- a/samples/Zirku/Zirku.Server/Zirku.Server.csproj +++ b/samples/Zirku/Zirku.Server/Zirku.Server.csproj @@ -18,7 +18,6 @@ -