diff --git a/.github/workflows/GithubActionsRelease.yml b/.github/workflows/GithubActionsRelease.yml
index f0a7c6df0..9a3895291 100644
--- a/.github/workflows/GithubActionsRelease.yml
+++ b/.github/workflows/GithubActionsRelease.yml
@@ -9,7 +9,7 @@ name: GithubActionsRelease
on:
push:
tags:
- - 5.** # Push events to matching pattern, i.e. 5.0.0, 5.1.0
+ - 6.** # Push events to matching pattern, i.e. 6.0.0, 6.1.0
env:
buildPlatform: 'Any CPU'
@@ -48,15 +48,15 @@ jobs:
- name: Use dotnet
uses: actions/setup-dotnet@v4
with:
- dotnet-version: '8.x'
+ dotnet-version: '10.x'
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
- version: 11.12.0
+ version: 12.6.0
- name: Run the acceptance tests as the first build action and cancel out the rest if it fails
- run: dotnet test ${{env.projectTest}} --configuration ${{env.buildConfiguration}}
+ run: dotnet test --project ${{env.projectTest}} --configuration ${{env.buildConfiguration}}
############################################################################################################
# Build documentation
############################################################################################################
@@ -71,7 +71,7 @@ jobs:
- name: Setup dotnet
uses: actions/setup-dotnet@v4
with:
- dotnet-version: '8.x'
+ dotnet-version: '10.x'
- name: Setup docfx
run: dotnet tool update -g docfx
@@ -79,7 +79,7 @@ jobs:
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
- version: 11.12.0
+ version: 12.6.0
- name: Build Material.Blazor
run: dotnet build ${{env.projectMB}} --configuration ${{env.buildConfiguration}}
@@ -114,12 +114,12 @@ jobs:
- name: Setup dotnet
uses: actions/setup-dotnet@v4
with:
- dotnet-version: '8.x'
+ dotnet-version: '10.x'
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
- version: 11.12.0
+ version: 12.6.0
- name: Build and Publish Website 🔧
run: >
@@ -128,7 +128,7 @@ jobs:
--output ${{env.outputWeb}}
-p:Version=${{env.version}}
-p:BlazorEnableCompression=false
- --framework net8.0
+ --framework net10.0
- name: Upload Website Artifacts 🔺 # The website is then uploaded as an artifact named 'siteWeb'.
uses: actions/upload-artifact@v4
@@ -152,12 +152,12 @@ jobs:
- name: Setup dotnet
uses: actions/setup-dotnet@v4
with:
- dotnet-version: '8.x'
+ dotnet-version: '10.x'
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
- version: 11.12.0
+ version: 12.6.0
- name: Download Artifacts 🔻 # The documentation is downloaded into the 'siteDocFx' folder.
uses: actions/download-artifact@v4
@@ -207,12 +207,12 @@ jobs:
- name: Setup dotnet
uses: actions/setup-dotnet@v4
with:
- dotnet-version: '8.x'
+ dotnet-version: '10.x'
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
- version: 11.12.0
+ version: 12.6.0
- name: Build Material.Blazor & Generate the NuGet package 🔧
run: >
diff --git a/.github/workflows/GithubActionsWIP.yml b/.github/workflows/GithubActionsWIP.yml
index 208eff24d..f7a162879 100644
--- a/.github/workflows/GithubActionsWIP.yml
+++ b/.github/workflows/GithubActionsWIP.yml
@@ -61,7 +61,7 @@ jobs:
steps:
- id: setVersion
- run: echo "version=5.0.0-wip.$(date +'%Y-%m-%d--%H-%M-%S')" >> $GITHUB_OUTPUT
+ run: echo "version=6.0.0-wip.$(date +'%Y-%m-%d--%H-%M-%S')" >> $GITHUB_OUTPUT
shell: bash
############################################################################################################
@@ -79,15 +79,15 @@ jobs:
- name: Setup dotnet
uses: actions/setup-dotnet@v4
with:
- dotnet-version: '8.x'
+ dotnet-version: '10.x'
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
- version: 11.12.0
+ version: 12.6.0
- name: Run the acceptance tests as the first build action and cancel out the rest if it fails
- run: dotnet test ${{env.projectTest}} --configuration ${{env.buildConfiguration}}
+ run: dotnet test --project ${{env.projectTest}} --configuration ${{env.buildConfiguration}}
############################################################################################################
# Build documentation
@@ -104,7 +104,7 @@ jobs:
- name: Setup dotnet
uses: actions/setup-dotnet@v4
with:
- dotnet-version: '8.x'
+ dotnet-version: '10.x'
- name: Setup docfx
run: dotnet tool update -g docfx
@@ -112,7 +112,7 @@ jobs:
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
- version: 11.12.0
+ version: 12.6.0
- name: Build Material.Blazor
run: dotnet build ${{env.projectMB}} --configuration ${{env.buildConfiguration}}
@@ -154,12 +154,12 @@ jobs:
- name: Setup dotnet
uses: actions/setup-dotnet@v4
with:
- dotnet-version: '8.x'
+ dotnet-version: '10.x'
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
- version: 11.12.0
+ version: 12.6.0
- name: Build & Publish Website 🔧
run: >
@@ -168,7 +168,7 @@ jobs:
--output ${{env.outputWeb}}
-p:Version=${{env.ciVersion}}
-p:BlazorEnableCompression=false
- --framework net8.0
+ --framework net10.0
# All of the trace was added to show that .js & .min.js files were getting created but not
# being included in the published content. This was a result of VS 'helpfully' adding some
@@ -218,12 +218,12 @@ jobs:
- name: Setup dotnet
uses: actions/setup-dotnet@v4
with:
- dotnet-version: '8.x'
+ dotnet-version: '10.x'
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
- version: 11.12.0
+ version: 12.6.0
- name: Build Material.Blazor & Generate the NuGet package 🔧
run: >
@@ -402,12 +402,12 @@ jobs:
- name: Setup dotnet
uses: actions/setup-dotnet@v4
with:
- dotnet-version: '8.x'
+ dotnet-version: '10.x'
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
- version: 11.12.0
+ version: 12.6.0
- name: Build Material.Blazor & Generate the NuGet package 🔧
run: >
diff --git a/Directory.Build.props b/Directory.Build.props
index c893b394f..472bd66c9 100644
--- a/Directory.Build.props
+++ b/Directory.Build.props
@@ -4,7 +4,7 @@
- net8.0
+ net10.0
Server;WebAssembly
diff --git a/Material.Blazor.Test/Material.Blazor.Test.csproj b/Material.Blazor.Test/Material.Blazor.Test.csproj
index b0b7864d6..6d120e632 100644
--- a/Material.Blazor.Test/Material.Blazor.Test.csproj
+++ b/Material.Blazor.Test/Material.Blazor.Test.csproj
@@ -6,14 +6,14 @@
-
+
all
runtime; build; native; contentfiles; analyzers; buildtransitive
-
+
diff --git a/Material.Blazor.Website.Server/Material.Blazor.Website.Server.csproj b/Material.Blazor.Website.Server/Material.Blazor.Website.Server.csproj
index be44a9035..6a6f91399 100644
--- a/Material.Blazor.Website.Server/Material.Blazor.Website.Server.csproj
+++ b/Material.Blazor.Website.Server/Material.Blazor.Website.Server.csproj
@@ -2,6 +2,8 @@
true
+
+ true
@@ -13,26 +15,23 @@
-
-
-
-
-
-
-
+
-
-
$(CompressionIncludePatterns);**/*.css;**/*.js
- gzip;brotli
+
+ gzip
gzip;brotli
diff --git a/Material.Blazor.Website.Server/Pages/Host.cshtml b/Material.Blazor.Website.Server/Pages/Host.cshtml
index 01cc46fbe..ff9792b0b 100644
--- a/Material.Blazor.Website.Server/Pages/Host.cshtml
+++ b/Material.Blazor.Website.Server/Pages/Host.cshtml
@@ -5,13 +5,8 @@
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
@using Material.Blazor.Website
-@using Material.Blazor.Website.Server
@using Microsoft.AspNetCore.Components.Web
-@{
- Microsoft.AspNetCore.Mvc.Rendering.RenderMode renderMode = PlatformDetermination.IsBlazorServer ? Microsoft.AspNetCore.Mvc.Rendering.RenderMode.Server : Microsoft.AspNetCore.Mvc.Rendering.RenderMode.WebAssembly;
-}
-
@@ -21,12 +16,15 @@
Material.Blazor
-
+ @* Maps JS module paths to their fingerprinted URLs from MapStaticAssets *@
+
+
+
-
+
@@ -41,28 +39,12 @@
- @if (PlatformDetermination.IsBlazorServer)
- {
-
- }
+
- @if (PlatformDetermination.IsBlazorServer)
- {
-
- }
- else
- {
-
- }
+
-
-
-
-
- @if (PlatformDetermination.IsBlazorServer)
- {
-
- }
- else
- {
-
- }
+
+
+
+
+