Skip to content

Commit dfc729b

Browse files
committed
updated to YAF 4.0.4
1 parent 08a2f4a commit dfc729b

25 files changed

Lines changed: 338 additions & 40 deletions

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ jobs:
1010
runs-on: ubuntu-latest
1111
strategy:
1212
matrix:
13-
dotnet-version: [ '9.0.x' ]
13+
dotnet-version: [ '10.0.x' ]
1414

1515
steps:
16-
- uses: actions/checkout@v4
16+
- uses: actions/checkout@v6
1717
- name: Setup .NET Core SDK ${{ matrix.dotnet-version }}
18-
uses: actions/setup-dotnet@v4
18+
uses: actions/setup-dotnet@v5
1919
with:
2020
dotnet-version: ${{ matrix.dotnet-version }}
2121
- name: Install dependencies

YAF.Website/Areas/Forums/Pages/Shared/_Layout.cshtml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,11 @@
7676
Web.Config Migration Tool
7777
</a>
7878
</li>
79+
<li class="dropdown-item ">
80+
<a asp-area="" asp-page="/Vapid-Keys" class="text-bg-light-subtle">
81+
Vapid Keys Generator
82+
</a>
83+
</li>
7984
</ul>
8085
@if (Current.IsGuest)
8186
{

YAF.Website/Pages/Downloads.cshtml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
</p>
4545
<img src="~/images/server/mssql.svg" class="img-thumbnail" alt="MS SQL Server logo" style="max-height:100px;background-color: white">
4646
<p class="card-text">
47-
For MS SQL Server (2012 or above). YAF.NET Apache 2.0 licensed. Source code is C#/ASP.NET project for Visual Studio 2022.
47+
For MS SQL Server (2012 or above). YAF.NET Apache 2.0 licensed. Source code is C#/ASP.NET project for Visual Studio 2026.
4848
</p>
4949
<p class="card-text">
5050
<small class="text-muted">
@@ -75,7 +75,7 @@
7575
</p>
7676
<img src="~/images/server/mysql.png" class="img-thumbnail" alt="MySQL logo" style="max-height:100px;background-color: white">
7777
<p class="card-text">
78-
For MySQL. YAF.NET Apache 2.0 licensed. Source code is C#/ASP.NET project for Visual Studio 2022.
78+
For MySQL. YAF.NET Apache 2.0 licensed. Source code is C#/ASP.NET project for Visual Studio 2026.
7979
</p>
8080
<p class="card-text">
8181
<small class="text-muted">
@@ -106,7 +106,7 @@
106106
</p>
107107
<img src="~/images/server/postgresql.png" class="img-thumbnail" alt="PostgreSQL logo" style="max-height:100px;background-color: white">
108108
<p class="card-text">
109-
For PostgreSQL. YAF.NET Apache 2.0 licensed. Source code is C#/ASP.NET project for Visual Studio 2022.
109+
For PostgreSQL. YAF.NET Apache 2.0 licensed. Source code is C#/ASP.NET project for Visual Studio 2026.
110110
</p>
111111
<p class="card-text">
112112
<small class="text-muted">
@@ -137,7 +137,7 @@
137137
</p>
138138
<img src="~/images/server/sqlite.svg" class="img-thumbnail" alt="Sqlite logo" style="max-height:100px;background-color: white">
139139
<p class="card-text">
140-
For Sqlite. YAF.NET Apache 2.0 licensed. Source code is C#/ASP.NET project for Visual Studio 2022.
140+
For Sqlite. YAF.NET Apache 2.0 licensed. Source code is C#/ASP.NET project for Visual Studio 2026.
141141
</p>
142142
<p class="card-text">
143143
<small class="text-muted">
@@ -235,7 +235,7 @@
235235
</p>
236236
<img src="~/images/server/mssql.svg" class="img-thumbnail" alt="MS SQL Server logo" style="max-height:100px;background-color: white">
237237
<p class="card-text">
238-
For MS SQL Server (2012 or above). YAF.NET Apache 2.0 licensed. Source code is C#/ASP.NET project for Visual Studio 2022.
238+
For MS SQL Server (2012 or above). YAF.NET Apache 2.0 licensed. Source code is C#/ASP.NET project for Visual Studio 2026.
239239
</p>
240240
<p class="card-text">
241241
<small class="text-muted">
@@ -266,7 +266,7 @@
266266
</p>
267267
<img src="~/images/server/mysql.png" class="img-thumbnail" alt="MySQL logo" style="max-height:100px;background-color: white">
268268
<p class="card-text">
269-
For MySQL. YAF.NET Apache 2.0 licensed. Source code is C#/ASP.NET project for Visual Studio 2022.
269+
For MySQL. YAF.NET Apache 2.0 licensed. Source code is C#/ASP.NET project for Visual Studio 2026.
270270
</p>
271271
<p class="card-text">
272272
<small class="text-muted">
@@ -297,7 +297,7 @@
297297
</p>
298298
<img src="~/images/server/postgresql.png" class="img-thumbnail" alt="PostgreSQL logo" style="max-height:100px;background-color: white">
299299
<p class="card-text">
300-
For PostgreSQL. YAF.NET Apache 2.0 licensed. Source code is C#/ASP.NET project for Visual Studio 2022.
300+
For PostgreSQL. YAF.NET Apache 2.0 licensed. Source code is C#/ASP.NET project for Visual Studio 2026.
301301
</p>
302302
<p class="card-text">
303303
<small class="text-muted">
@@ -328,7 +328,7 @@
328328
</p>
329329
<img src="~/images/server/sqlite.svg" class="img-thumbnail" alt="Sqlite logo" style="max-height:100px;background-color: white">
330330
<p class="card-text">
331-
For Sqlite. YAF.NET Apache 2.0 licensed. Source code is C#/ASP.NET project for Visual Studio 2022.
331+
For Sqlite. YAF.NET Apache 2.0 licensed. Source code is C#/ASP.NET project for Visual Studio 2026.
332332
</p>
333333
<p class="card-text">
334334
<small class="text-muted">
@@ -400,7 +400,7 @@
400400
@Model.ReleaseSampleAppTitle
401401
</h5>
402402
<p class="card-text">
403-
This Application is a Standard Visual Studio Sample ASP.NET Core Application (.NET 9.0), including integrated YAF.NET v4
403+
This Application is a Standard Visual Studio Sample ASP.NET Core Application (.NET 10.0), including integrated YAF.NET v4
404404
</p>
405405
<p class="card-text">
406406
<small class="text-muted">

YAF.Website/Pages/Downloads.cshtml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* Yet Another Forum.NET
22
* Copyright (C) 2003-2005 Bjørnar Henden
33
* Copyright (C) 2006-2013 Jaben Cargman
4-
* Copyright (C) 2014-2025 Ingo Herbote
4+
* Copyright (C) 2014-2026 Ingo Herbote
55
* https://www.yetanotherforum.net/
66
*
77
* Licensed to the Apache Software Foundation (ASF) under one

YAF.Website/Pages/Error.cshtml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* Yet Another Forum.NET
22
* Copyright (C) 2003-2005 Bjørnar Henden
33
* Copyright (C) 2006-2013 Jaben Cargman
4-
* Copyright (C) 2014-2025 Ingo Herbote
4+
* Copyright (C) 2014-2026 Ingo Herbote
55
* https://www.yetanotherforum.net/
66
*
77
* Licensed to the Apache Software Foundation (ASF) under one

YAF.Website/Pages/Features.cshtml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* Yet Another Forum.NET
22
* Copyright (C) 2003-2005 Bjørnar Henden
33
* Copyright (C) 2006-2013 Jaben Cargman
4-
* Copyright (C) 2014-2025 Ingo Herbote
4+
* Copyright (C) 2014-2026 Ingo Herbote
55
* https://www.yetanotherforum.net/
66
*
77
* Licensed to the Apache Software Foundation (ASF) under one

YAF.Website/Pages/Index.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
<path d="M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z" />
5555
<path d="M10.97 4.97a.235.235 0 0 0-.02.022L7.477 9.417 5.384 7.323a.75.75 0 0 0-1.06 1.06L6.97 11.03a.75.75 0 0 0 1.079-.02l3.992-4.99a.75.75 0 0 0-1.071-1.05z" />
5656
</svg>
57-
100% Managed C# ASP.NET (Core) .NET 9 and Above
57+
100% Managed C# ASP.NET (Core) .NET 10 and Above
5858
</li>
5959
<li class="list-group-item">
6060
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-check-circle" viewBox="0 0 16 16">

YAF.Website/Pages/Index.cshtml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* Yet Another Forum.NET
22
* Copyright (C) 2003-2005 Bjørnar Henden
33
* Copyright (C) 2006-2013 Jaben Cargman
4-
* Copyright (C) 2014-2025 Ingo Herbote
4+
* Copyright (C) 2014-2026 Ingo Herbote
55
* https://www.yetanotherforum.net/
66
*
77
* Licensed to the Apache Software Foundation (ASF) under one

YAF.Website/Pages/Key.cshtml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* Yet Another Forum.NET
22
* Copyright (C) 2003-2005 Bjørnar Henden
33
* Copyright (C) 2006-2013 Jaben Cargman
4-
* Copyright (C) 2014-2025 Ingo Herbote
4+
* Copyright (C) 2014-2026 Ingo Herbote
55
* https://www.yetanotherforum.net/
66
*
77
* Licensed to the Apache Software Foundation (ASF) under one

YAF.Website/Pages/MigrationTool.cshtml.cs

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* Yet Another Forum.NET
22
* Copyright (C) 2003-2005 Bjørnar Henden
33
* Copyright (C) 2006-2013 Jaben Cargman
4-
* Copyright (C) 2014-2025 Ingo Herbote
4+
* Copyright (C) 2014-2026 Ingo Herbote
55
* https://www.yetanotherforum.net/
66
*
77
* Licensed to the Apache Software Foundation (ASF) under one
@@ -246,27 +246,31 @@ private void MigrateConfig()
246246
<probing privatePath="bin" />
247247
<dependentAssembly>
248248
<assemblyIdentity name="System.Diagnostics.DiagnosticSource" publicKeyToken="CC7B13FFCD2DDD51" culture="neutral"/>
249-
<bindingRedirect oldVersion="0.0.0.0-9.0.0.9" newVersion="9.0.0.9"/>
249+
<bindingRedirect oldVersion="0.0.0.0-10.0.0.1" newVersion="10.0.0.1"/>
250250
</dependentAssembly>
251251
<dependentAssembly>
252252
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" />
253253
<bindingRedirect oldVersion="0.0.0.0-13.0.0.0" newVersion="13.0.0.0" />
254254
</dependentAssembly>
255255
<dependentAssembly>
256256
<assemblyIdentity name="Microsoft.Bcl.AsyncInterfaces" publicKeyToken="cc7b13ffcd2ddd51"/>
257-
<bindingRedirect oldVersion="0.0.0.0-9.0.0.9" newVersion="9.0.0.9"/>
257+
<bindingRedirect oldVersion="0.0.0.0-10.0.0.1" newVersion="10.0.0.1"/>
258258
</dependentAssembly>
259259
<dependentAssembly>
260260
<assemblyIdentity name="Microsoft.Owin.Security" publicKeyToken="31bf3856ad364e35" />
261261
<bindingRedirect oldVersion="0.0.0.0-4.2.3.0" newVersion="4.2.3.0" />
262262
</dependentAssembly>
263+
<dependentAssembly>
264+
<assemblyIdentity name="Microsoft.Owin.Security.Cookies" publicKeyToken="31BF3856AD364E35" culture="neutral"/>
265+
<bindingRedirect oldVersion="0.0.0.0-4.2.3.0" newVersion="4.2.3.0"/>
266+
</dependentAssembly>
263267
<dependentAssembly>
264268
<assemblyIdentity name="Microsoft.Owin" publicKeyToken="31bf3856ad364e35" />
265269
<bindingRedirect oldVersion="0.0.0.0-4.2.3.0" newVersion="4.2.3.0" />
266270
</dependentAssembly>
267271
<dependentAssembly>
268272
<assemblyIdentity name="Microsoft.Extensions.Primitives" publicKeyToken="ADB9793829DDAE60" culture="neutral"/>
269-
<bindingRedirect oldVersion="0.0.0.0-9.0.0.9" newVersion="9.0.0.9"/>
273+
<bindingRedirect oldVersion="0.0.0.0-10.0.0.1" newVersion="10.0.0.1"/>
270274
</dependentAssembly>
271275
<dependentAssembly>
272276
<assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="B03F5F7F11D50A3A" culture="neutral"/>
@@ -324,7 +328,7 @@ private void MigrateConfig()
324328
{
325329
var node = asyncInterfaces.NextNode;
326330

327-
var replaceNode = XElement.Parse("""<bindingRedirect oldVersion="0.0.0.0-9.0.0.9" newVersion="9.0.0.9"/>""");
331+
var replaceNode = XElement.Parse("""<bindingRedirect oldVersion="0.0.0.0-10.0.0.1" newVersion="10.0.0.1"/>""");
328332

329333
node.ReplaceWith(replaceNode);
330334
}
@@ -333,7 +337,7 @@ private void MigrateConfig()
333337
var addNode = XElement.Parse("""
334338
<dependentAssembly xmlns="urn:schemas-microsoft-com:asm.v1">
335339
<assemblyIdentity name="Microsoft.Bcl.AsyncInterfaces" publicKeyToken="cc7b13ffcd2ddd51"/>
336-
<bindingRedirect oldVersion="0.0.0.0-9.0.0.9" newVersion="9.0.0.9"/>
340+
<bindingRedirect oldVersion="0.0.0.0-10.0.0.1" newVersion="10.0.0.1"/>
337341
</dependentAssembly>
338342
""");
339343

@@ -416,7 +420,7 @@ private void MigrateConfig()
416420
{
417421
var node = extensionPrimitives.NextNode;
418422

419-
var replaceNode = XElement.Parse("""<bindingRedirect oldVersion="0.0.0.0-9.0.0.9" newVersion="9.0.0.9"/>""");
423+
var replaceNode = XElement.Parse("""<bindingRedirect oldVersion="0.0.0.0-10.0.0.1" newVersion="10.0.0.1"/>""");
420424

421425
node.ReplaceWith(replaceNode);
422426
}
@@ -425,7 +429,7 @@ private void MigrateConfig()
425429
var addNode = XElement.Parse("""
426430
<dependentAssembly xmlns="urn:schemas-microsoft-com:asm.v1">
427431
<assemblyIdentity name="Microsoft.Extensions.Primitives" publicKeyToken="ADB9793829DDAE60" culture="neutral"/>
428-
<bindingRedirect oldVersion="0.0.0.0-9.0.0.9" newVersion="9.0.0.9"/>
432+
<bindingRedirect oldVersion="0.0.0.0-10.0.0.1" newVersion="10.0.0.1"/>
429433
</dependentAssembly>
430434
""");
431435

@@ -509,7 +513,7 @@ private void MigrateConfig()
509513
var addNode = XElement.Parse("""
510514
<dependentAssembly xmlns="urn:schemas-microsoft-com:asm.v1">
511515
<assemblyIdentity name="System.Diagnostics.DiagnosticSource" culture="neutral" publicKeyToken="CC7B13FFCD2DDD51" />
512-
<bindingRedirect oldVersion="0.0.0.0-9.0.0.9" newVersion="9.0.0.9" />
516+
<bindingRedirect oldVersion="0.0.0.0-10.0.0.1" newVersion="10.0.0.1" />
513517
</dependentAssembly>
514518
""");
515519

@@ -519,7 +523,7 @@ private void MigrateConfig()
519523
{
520524
var node = systemDiagnosticSource.NextNode;
521525

522-
var replaceNode = XElement.Parse("""<bindingRedirect oldVersion="0.0.0.0-9.0.0.9" newVersion="9.0.0.9" />""");
526+
var replaceNode = XElement.Parse("""<bindingRedirect oldVersion="0.0.0.0-10.0.0.1" newVersion="10.0.0.1" />""");
523527

524528
node.ReplaceWith(replaceNode);
525529
}

0 commit comments

Comments
 (0)