YAFNET.RazorPages
4.1.0
See the version list below for details.
dotnet add package YAFNET.RazorPages --version 4.1.0
NuGet\Install-Package YAFNET.RazorPages -Version 4.1.0
<PackageReference Include="YAFNET.RazorPages" Version="4.1.0" />
<PackageVersion Include="YAFNET.RazorPages" Version="4.1.0" />
<PackageReference Include="YAFNET.RazorPages" />
paket add YAFNET.RazorPages --version 4.1.0
#r "nuget: YAFNET.RazorPages, 4.1.0"
#:package YAFNET.RazorPages@4.1.0
#addin nuget:?package=YAFNET.RazorPages&version=4.1.0
#tool nuget:?package=YAFNET.RazorPages&version=4.1.0
YAF.NET Razor Pages Client Library
Prerequisites:
- ASP.NET Core 11.0 (YAF v4.x)
Quick Guide
Add the YAF Nuget Packages
- Install the YAFNET.RazorPages Package via Nuget Browser or the console
> dotnet add package YAFNET.RazorPages
- Depending on which Data Provider you want top use add the package ..
YAFNET.Data.SqlServer Package via Nuget Browser or the console
> dotnet add package YAFNET.Data.SqlServer
YAF.Data.MySQL Package via Nuget Browser or the console
> dotnet add package YAFNET.Data.MySQL
YAFNET.Data.PostgreSQL Package via Nuget Browser or the console
> dotnet add package YAFNET.Data.PostgreSQL
YAFNET.Data.Sqlite Package via Nuget Browser or the console
> dotnet add package YAFNET.Data.Sqlite
YAFNET.Data.Sqlite.Data Package via Nuget Browser or the console, SQLite with Microsoft.Data.Sqlite instead of System.Data.SQLite (also runs on ARM64, set "ConnectionProviderName": "Microsoft.Data.Sqlite")
> dotnet add package YAFNET.Data.Sqlite.Data
Getting Started
Program.cs
In the Program.cs add the following.
var builder = WebApplication.CreateBuilder(args);
builder.Host.UseServiceProviderFactory(new AutofacServiceProviderFactory());
builder.Host.ConfigureYafLogging();
builder.Host.ConfigureContainer<ContainerBuilder>(containerBuilder =>
{
containerBuilder.RegisterYafModules();
});
builder.Services.AddRazorPages(options =>
{
options.Conventions.AddAreaPageRoute("Forums", "/SiteMap", "/Sitemap.xml");
}).AddYafRazorPages(builder.Environment);
builder.Services.AddYafCore(builder.Configuration, "/Forums");
// only needed for blazor
builder.Services.AddServerSideBlazor();
var app = builder.Build();
....
app.RegisterAutofac();
app.UseAntiXssMiddleware();
app.UseStaticFiles();
app.UseSession();
app.UseYafCore(BoardContext.Current.ServiceLocator, app.Environment);
app.UseRobotsTxt(app.Environment);
app.MapRazorPages();
app.MapAreaControllerRoute(
name: "default",
areaName: "Forums",
pattern: "{controller=Home}/{action=Index}/{id?}");
app.MapControllers();
app.MapHub<NotificationHub>("/NotificationHub");
app.MapHub<ChatHub>("/ChatHub");
await app.RunAsync();
Now the Forum is ready and you can add a link to your _Layout.cshtml
<li class="nav-item">
<a class="nav-link" asp-area="Forums" asp-page="/Index">Forums</a>
</li>
Host application manages the accounts
If the application has its own login and account pages, set HostManagesAccounts in the BoardConfiguration section of the appsettings.json.
"BoardConfiguration": {
"HostManagesAccounts": true
}
If the application also sets up ASP.NET Core Identity itself, call AddYafCore with useHostIdentity: true. The forum then does not add the default identity, the identity options and its authentication cookie. The identity options keep their defaults unless you set them. Add the Identity.Application cookie before calling AddYafCore, for example with AddIdentity, because the forum refreshes and ends sign-ins with it. To keep the accounts in your own tables, register your own IUserStore<AspNetUsers> and IRoleStore<AspNetRoles>; they replace the forum stores.
builder.Services.AddIdentity<AspNetUsers, AspNetRoles>()
.AddUserStore<MyUserStore>()
.AddRoleStore<MyRoleStore>();
builder.Services.AddYafCore(builder.Configuration, "/Forums", useHostIdentity: true);
If the application has its own middleware pipeline (e.g. a CMS), use UseYafCoreForArea instead of UseYafCore. It is called after the routing, authentication and authorization of the application, and the forum middlewares (security headers, session, install check, banned IPs, the forum languages, rate limiter...) only run for the forum requests: the pages of the area and the controllers, pages and hubs of the forum. The static files, forwarded headers and https redirection stay with the application. Middlewares of the application for the forum requests (e.g. to create the forum user of a signed in account) are added with configureForumRequests: they run after the install check, with the session, before the forum loads the user of the page.
app.UseStaticFiles();
app.UseRouting();
app.UseAuthentication();
app.UseAuthorization();
app.RegisterAutofac();
app.UseYafCoreForArea(BoardContext.Current.ServiceLocator);
The login and register links of the forum go to the Account/Login and Account/Register pages of the forum area (with the ReturnUrl), redirect them to the pages of your application.
Community Support Forum
See a real live YAF Forum by visiting the YetAnotherForum.NET community support forum: https://yetanotherforum.net/forums. Also, get your questions answered by the YAF community.
License
Yet Another Forum.NET is licensed under the Apache 2.0 license.
Yet Another Forum Community Support
If you have any questions, please visit the YAF Community Support forum: https://yetanotherforum.net/forums, or visit the Wiki for More Informations.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- HtmlProperties (>= 1.0.2)
- Microsoft.AspNetCore.Mvc.NewtonsoftJson (>= 10.0.15)
- Microsoft.Extensions.FileProviders.Embedded (>= 10.0.15)
- YAFNET.Core (>= 4.1.0)
- YAFNET.Types (>= 4.1.0)
- YAFNET.Web (>= 4.1.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on YAFNET.RazorPages:
| Package | Downloads |
|---|---|
|
YAFNET.Umbraco.Forums
Runs the YAF.NET (YetAnotherForum.NET) forum inside an Umbraco site, with single sign-on through Umbraco Members. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 4.1.1 | 137 | 11/30/2026 |
| 4.1.0 | 112 | 11/30/2026 |
| 4.0.11 | 180 | 11/14/2026 |
| 4.0.10 | 220 | 10/21/2026 |
| 4.0.9 | 196 | 8/30/2026 |
| 4.0.8 | 178 | 8/10/2026 |
| 4.0.7 | 175 | 8/2/2026 |
| 4.0.6 | 205 | 6/20/2026 |
| 4.0.5 | 294 | 4/26/2026 |
| 4.0.4 | 351 | 1/10/2026 |
| 4.0.2 | 457 | 9/24/2025 |
| 4.0.1 | 338 | 8/31/2025 |
| 4.0.0 | 634 | 3/16/2025 |
| 4.0.0-rc04 | 578 | 11/17/2024 |
| 4.0.0-rc03 | 830 | 7/6/2024 |
| 4.0.0-rc02 | 327 | 5/29/2024 |
| 4.0.0-rc01 | 310 | 5/29/2024 |
| 4.0.0-beta09 | 273 | 5/18/2024 |
| 4.0.0-beta07 | 285 | 3/28/2024 |
| 4.0.0-beta05 | 289 | 2/28/2024 |
## 💫 New Features
* Runs on .NET 10 or .NET 11: the application targets .NET 10 (LTS) and rolls forward to .NET 11 when only .NET 11 is installed (RollForward Major), the same release package works on both; the NuGet packages target net10.0 (also usable from .NET 11 projects)
* Real-time updates: new topics and posts are shown without reloading the page (also for guests): the active discussions and the last post of the forums on the board index, the topic list of a forum and my topics move the topic to the top, the last page of an open topic gets the new reply (on another page a notice links to it). Only readers of the forum get the update, posts waiting for the approval are shown after the approval. Can be switched off in the host settings (Enable Real-Time Updates)
* Private messages: the conversation list is sorted by the latest message (conversations with unread messages first) and shows the last message (preview) and its time
* Private messages: new conversation button with a user search (at least 3 letters), without conversations the page shows the button instead of redirecting to the account page
* Private messages: filter for the conversation list (with more than 5 conversations)
* Admin > Users: "Lock inactive accounts" writes an entry to the event log (type User Suspended) with the number of locked accounts, the years of inactivity and the admin who locked them
* BB code [img]: svg images are shown (the url must end with .svg), they were shown as bb code text
* Private messages: the conversation list shows the number of unread messages of each conversation (bold name and badge), a new message in another conversation updates the badge right away
* BoardConfiguration "HostManagesAccounts" (default false): for a forum inside another application (e.g. the Umbraco plugin) that manages the user accounts, like the DotNetNuke integration of YAF 3: the login links go to Account/Login with the ReturnUrl (instead of the login box, which is not available), and password recovery, password change, two-factor authentication, email change, account deletion, the admin password change and the user creation/import are hidden and blocked; the forum does not register its service worker (its scope would be the whole site) and its web manifest (no app install), the push notifications still work
* Achievements (trophies): the members unlock achievements automatically with their posts, topics, reactions received and given, membership days and reputation (one or two goals), each with points, a rarity (common, uncommon, rare, epic, legendary: the color of the trophy) and an icon; an animated dialog shows a new achievement (live when it is unlocked by the reaction of another member) and it is a notification (bell, notification page with its own filter), My Achievements (user menu) lists them with the progress of the locked ones, up to three can be shown in the profile and with the posts, the profile lists all of them and the help has a topic with all achievements of the board and the share of the members that have them. Admin > Users and Roles > Achievements adds, edits and deletes them (live preview of the trophy) and checks all members; new and upgraded boards get 25 default achievements whose texts are translated (until the admin changes them). Can be switched off in the host settings (Enable Achievements)
* New theme "bootstrap": the default look of Bootstrap without changes (also a starting point for an own theme with the theme kit)
* WYSIWYG editor: new toolbar button "Insert Markdown": paste or type Markdown (bold, italic, strikethrough, code, lists, links, images, quotes, headings as bold and larger text: BB codes have no headings) and it is inserted as BB codes, also in the source mode (Ctrl+Enter inserts)
* WYSIWYG editor: the attachments ([attach] BB code) are shown in the editor as the image or the name of the file instead of the BB code text, also when a post is edited or an attachment is uploaded or inserted from the attachments dialog; only the user's own attachments (a post only shows the attachments of its author), the others keep a placeholder with the id
* SQLite with Microsoft.Data.Sqlite (instead of System.Data.SQLite), e.g. for ARM64 (Windows on ARM, Apple silicon, Raspberry Pi): YAF.NET-SqliteData.slnx (YAF-SqliteData.csproj), the NuGet package YAFNET.Data.Sqlite.Data and ConnectionProviderName "Microsoft.Data.Sqlite" (see appsettings-SqliteData.json); both SQLite providers write the same database file format, a forum can switch between them
* Achievements: a member can turn off the "achievement unlocked" dialog in the settings (Edit Settings, also in Admin > Edit user > Settings), the new achievements are then only shown on My Achievements; the dialog has a link to the setting ("Turn off these popups in the settings"), the help topic of the achievements mentions it
* A forum inside of another application (e.g. the Umbraco plugin) (#1917): AddYafCore(configuration, routesToPreCache, useHostIdentity: true) leaves ASP.NET Core Identity to the application (its identity options and cookie, and its own IUserStore/IRoleStore for the forum users and roles if it registers them), the forum only adds the identity services it needs; UseYafCoreForArea is UseYafCore for an application with its own pipeline (called after its routing, authentication and authorization): the forum middlewares (security headers, session, install check, banned IPs/user agents/countries, forum languages, rate limiter, url rewrites) only run for the forum requests (the area and the controllers, pages and hubs of the forum, see YafRequestMatcher)
* Install without the wizard (#1919): the values of the install wizard (forum name and email, admin name, email and password; description, culture and address optional) can be set in the configuration section BoardConfiguration:Install (appsettings.json, user secrets or environment variables, e.g. BoardConfiguration__Install__AdminPassword), the forum installs itself on the first request before anyone can open the wizard; a missing value or an error is logged and the wizard is shown
## 🛠️ Improvements
* Private messages: the online status of the users in the conversation list is shown as a green border around the avatar instead of a red/green dot
* Private messages: Enter sends the message, Shift+Enter adds a new line (was the other way round)
* Private messages: deleting a conversation has to be confirmed
* Private messages: the height of the chat fits the screen (also on mobile devices in landscape mode), the conversation list is wider on the desktop
* Private messages: the page no longer shows the profile menu (like the my topics page), the conversations and the chat have more space
* Tests: the Lighthouse tests audit every page, also the pages that need a login (profile, moderate, admin and host settings, edit user tabs) as the admin user (LighthousePlaywright.Net 1.0.4 with a Playwright storage state), the pages that need an id are opened by a link on a list page
* Tests: the test mail server netDumbster (no longer maintained) is replaced by TestSmtpServer (YAFNET.Tests.Utils), an in-process server based on the SmtpServer library (the SMTP engine of Papercut SMTP); the received mails are MimeKit MimeMessages
* Menu: the pages only the host admin can use (Languages, Database: ReIndex, Run SQL, Backup, Restart App, Test Generator) moved from the Admin menu to the Host menu
* Admin > Dashboard: new layout: key figures as tiles, the charts and the lists side by side (registrations and background tasks, who is online and unverified users) with counts in the headers, the charts and tiles follow the light/dark theme
* Admin: the task manager page is removed, the background tasks (running/finished, live duration) are shown on the dashboard
* Admin > Boards: new layout: the boards as cards with description, language and key figures (users, topics, posts, forums, since), the current board is marked; deleting a board shows what is deleted and needs the board name typed in (checked again on the server), the context menu (right click, long press) has the actions of the buttons
* Admin > Forums: new layout: each category as a card (image, forum count, inactive), its forums as a tree with status (locked, moderated, test, link), topics, posts and last post; all categories on one page (no paging); the order of the categories and of the forums of a level is changed with drag and drop and saved right away (SortableJS); deleting a forum shows its topics, posts and sub forums and needs the forum name typed in when the topics are not moved
* Admin > Edit Forum, Edit Category: new layout (sections general, options, moderation, access and appearance), the save and cancel buttons stay visible at the bottom of the window, the moderation options are shown with the switches (the page is no longer sent for it); a category has "+ forum" (also in its context menu) for a new forum in this category
* Admin > Users: new layout: the filter is shown above the list (collapsed on small screens), each user with avatar, status (not approved, disabled, suspended, guest, host admin), email, rank, posts, joined and last visit; deleting a user shows a dialog that says what is deleted and what is kept, "lock inactive accounts" has to be confirmed and shows the number of locked accounts
* Admin > Users: the users that are not approved yet (email not confirmed) are listed too, with the "not approved" badge (they were only shown in the unverified users of the dashboard); the user search of the forum still shows only approved users
* Admin > Edit User: new layout: the user with avatar, status (not approved, disabled, suspended, guest, host admin, rank) and key figures (posts, points, joined, last visit) at the top, the tabs as groups (account, profile, content, moderation) in a list next to the tab (a row that scrolls on small screens), "view profile" and back to the users
* Admin > Edit User, details, roles and password: new layout; the details show the account as text with the joined date and the last visit in the time zone of the admin (they were shown in UTC), the status with "approve" next to it; the confirmation of the new password has its own label
* Admin > Edit User, profile, settings, avatar and signature: new layout (sections, the actions at the end of the tab)
* Admin > Edit User, attachments, reputation, suspend and kill: new layout (the same as the other tabs)
* Admin > Register User: new layout (account and password sections, the actions stay visible at the bottom), the allowed length of the name (the field follows the maximum length of the settings), the password strength, localized messages for missing fields and passwords that do not match (they were shown in English); new option "approve right away" (no verification mail, the user can log in at once), the new user is opened in the user editor
* Admin > Roles: new layout: the roles as rows with the name in its style, badges (admin, moderator, start group, guest), the description and the limits (priority, signature, albums, upload, download); the number of members opens the users filtered by the role (Admin > Users?g=); the provider roles without a role of the board in a warning panel that can be opened
* Admin > Edit Role: new layout (sections general, rights, limits, display, forum access; the actions stay visible at the bottom), a preview of the name style, the access masks of the forums as the forum tree of each category with "set all forums to", the guest role has a note instead of the guest switch
* Admin > Access Masks: new layout: a table with the rights of the masks (one column per right), the roles and users that use a mask, the delete of a used mask is disabled; Admin > Edit Access Mask: new layout (sections reading & posting and moderation with the help of each right, the actions stay visible at the bottom) with presets (no access, read only, member, moderator)
* Admin > Admin Page Access: the admins with the number of pages they can open; the editor shows the pages with their titles in the sections of the admin menu, each section has a switch for all of its pages, the actions stay visible at the bottom
* Admin: the upgrade button of a new version links directly to the release package for the database of the forum (e.g. YAF.SqlServer-v4.0.12.zip) instead of the downloads page
* Admin > Board Settings: new layout with sections (general, appearance, new users, mails, digest, new forums) and the actions at the bottom of the window, a preview of the board logo, the digest options are shown with the digest turned on, after saving the settings stay open with a notice
* Admin > Spam Protection: one layout for the spam log, the spam words and the bans: tabs to switch between the pages, the number of entries, the actions in the header, the search is always shown (Enter searches) and finds the entries that contain the text, compact rows; the spam log shows the message, the ip address, the url and the user agent of each entry; new "Test" on the banned emails, ips, names and user agents shows which bans match a value
* Admin > Board Announcement, Replace Words, BBCodes: new layouts; the announcement has a live preview, the style as colored buttons, quick durations (1 day, 1 week, 1 month) and the current announcement with "Remove"; the replace words are shown as "bad -> good" with a new "Test" that shows a text after the replacements; the bb codes show the tag, the order and if they use the toolbar or a module, "select all" for the export; Edit BBCode has sections, the module class is only shown with "use module", the scripts and styles can be collapsed
* Admin menu: the icons of the replace words, the spam protection pages and the mail page are the icons of the headers of the pages
* Admin > Ranks, Edit Rank, Medals, Edit Medal: new layouts; the rank ladder shows the steps by their minimum posts with the users of each rank (linked to the users list), the start rank and ranks in use can't be deleted (the reason is shown); the edit rank page has sections and a style preview; the medals are listed by category with the number of awards, the delete dialog names the removed awards; the edit medal page shows a preview of the medal in the profile, suggests the categories and lists the awarded users and groups in cards
* Admin > Event Log, Recycle Bin, Attachments, Tags, Prune, Private Messages: new layouts, the event types as filter chips with their counts, the deleted topics and posts on tabs with confirmed deletes, attachment previews with size and downloads, the tags as a grid with a search, the prune and the private messages as danger zones
* Admin > Host: redesigned Languages (cards with progress, incomplete first), Edit language (page list with progress, only untranslated switch, copy english text), Restart app, Database maintenance (action cards, database size, recovery mode only for SQL Server), Run SQL (Ctrl+Enter, row count), Backup (backup list, delete dialog names the file), Test data and Host settings (sections as cards, one save button that stays on the page, cache cards with a message after clear, search index card)
* Admin > Users: bulk actions for the selected users of a page (approve, suspend with presets, remove suspension, add to / remove from a role, delete with a dialog that lists them), the server skips the guest, host admins, yourself and for delete/suspend the admins, a user keeps at least one role
* Admin: the version check is shown on the dashboard (running version, up to date or a link to the new version), the page Admin > Upgrade > Version was removed
* Admin > Digest, Mail, Profile Definitions and Edit Board redesigned: digest status card with the last send in the user's format and a confirm before sending, mail to a role with the number of recipients in the select and the question, profile fields with type, options and the number of users with a value (named in the delete question), board editor with sections, the fields of a new admin shown without a new page and a sticky save bar
* Moderate redesigned: the index with the totals and links to the unapproved and reported posts and the topics of a forum, a card per unapproved or reported post (author, message, reporters with their reasons, the delete question names the topic), the moderation of a forum with topic rows (badges, starter, replies, last post), select all and a bar for the selected topics: lock, unlock, move and delete (the dialog lists them); Enter no longer removes the first user of the forum
* My Topics redesigned: header with the count and mark all as read, the lists as tabs (active topics since the last visit, the other lists all topics, a time selected afterwards is kept), the time and the page size in view, an empty state with show all
* Albums redesigned: album cards with the cover, the number of images and the quota, a cover badge and copy BBCode on the album, the edit page with sections, a sticky bar and a message for an upload without a file
* My Messages, Notifications, My Account and My Friends redesigned: headers with counts, the conversation header with the profile and last visit, a new sender is added to the conversation list, filter chips, the friends lists as tabs that stay selected after an action
* Profile pages redesigned (Edit Profile, Edit Settings, Signature, Avatar, Attachments, Notification Preferences, Block Options, Change Password, Delete Account): page headers, sections as cards, a sticky save bar, the pages stay open after saving with a message, attachments show the posts they are used in
* Login, Register, Lost Password, Reset Password, Validate Email and the two-factor code redesigned: one centered card with an icon and a short explanation, the lost password link next to the password, the register and login links at the bottom, the register page in sections with a "check your email" result, the reset password page with the password strength and its own labels
* Delete Message, Move Message, Report Post, Message History, Email Topic, Email User and the poll editor redesigned: page headers, the post the action is for with its author above the form, a sticky action bar, the poll editor shows only the filled choices with "add choice", the version list of the history with the edit details, "email sent" messages, the report page shows the topic in the breadcrumb
* Team, Help, Info, Cookies and Privacy redesigned: page headers, the team members as cards with their contact buttons, the help search box stays on the results, the info messages as a card with an icon for the kind of message, the privacy accept and decline in a bar at the bottom
* Install wizard redesigned: an icon for each step, the database check as a status with the provider and the connection (without the password), "Next" disabled without a database connection, the mail test in its own card, the new board and the host admin side by side, the language of the board preselected with the language of the wizard, the confirmation of the password checked while typing, the step names on small screens only for the current step
* Topic list, topic, new topic, reply, edit post, print, members, active users, search, profile and board index redesigned: page headers with the counts and the main actions, the filters and the forum tools of the topic list in on
* Languages: 91 texts were in the language files twice, a second copy that was never used (the forum uses the first one) and was wrong or English, e.g. "Block Private Messages" for the friend requests of the block options; the copies are removed and a test checks the language files for duplicates
* Help: rewritten as a complete user guide in six sections (Getting Started, Reading, Writing, Your Account, Messages and Notifications, Moderators and Administrators) with 41 topics, 13 of them new (e.g. two-factor authentication, appearance and language, notifications, push notifications and app, mentions and tags, reporting, message history, ignoring and blocking, deleting the account, a moderator guide); the old topics described the forum before the redesign (User Control Panel, Thanks, a security question and captcha at the registration, several polls per topic, ...); the help names the buttons and menus with the real labels of the forum in every language ([[PAGE.TAG]] tokens), the BB code list shows every BB code with its live result (rendered like a post, also the custom BB codes of the board); translated in all languages (most translations were older than the English text)
* Admin > Users, Admin > Edit User, Admin > Page Access and Moderate: the avatars are squares with rounded corners like everywhere else (they were round)
* Private messages: the messages of a conversation look like the chat (bubbles, the messages of the other user on the left with the avatar, the own messages on the right, the messages of a user within 5 minutes are one group); the times are shown in the time zone and language of the reader (a new message had the time formatted in the time zone of the sender)
* Chat (YAFNET.UI.Chat): the texts of the chat page and its layout are translated (new language page CHAT in all languages; the texts were english only)
* Chat (YAFNET.UI.Chat) redesigned: messages with name, avatar and time, the messages of a member within 5 minutes are one group, own messages on the right; the times are shown in the time zone and language of the reader (they were formatted in the time zone of the sender for everybody); the latest 100 messages in the order they were sent (all messages were loaded, in the order of the database); the list scrolls to new messages unless older ones are read; connection state with automatic reconnect; empty state; messages up to 1000 characters; suspended members can read but not write; the layout of the package shows the board (it was the one of the sample application) with light/dark mode, user and logout; the chat styles are in css/yaf-chat.css (linked by the page, so the layout of an application works as well); README with the current setup
* BBCode extensions: the default description of [ATTACH] said "Enter a Album Image Number" (the translations already said attachment ID, it takes the ID of an attachment)
* Admin > Dashboard: the list of the not approved accounts shows the newest registrations first (they were in the order of the database, a new registration was on the last page)
* Admin > BBCode Extensions: the extensions the forum itself needs ([ATTACH] attachments, [MEDIA] the media button of the editor, [USERLINK] mentions, [ALBUMIMG] album images) are marked "Required" and can't be deleted or renamed (posts showed the raw BB code until the next upgrade added them again); every extension of the forum has "Restore Default", which replaces it with the version of BBCodeExtensions.xml (the upgrade keeps the extensions an admin changed); all languages
* Mail: uses MailKit 4.18.2 (MimeKit) instead of MailKit 5 (MimeKit.Core), so YAF can run inside applications that use MailKit 4 (e.g. Umbraco 18: only one MailKit can be loaded, the email sending of Umbraco failed with MailKit 5)
* Board index, sub forums, topic list and active discussions: the last post is shown right away (avatar of the poster, topic, user and time) instead of in a popover, with a button to the newest post of the topic (it went to the first unread post); the active discussions show the forum of each topic and "No Posts" when there are none, the feed button moved into the header
* Topic list and My Topics: who started a topic and when is shown below the topic instead of in a popover on the topic name
* Topics: the moderators of the forum are shown below the forum description (the first 5, the others in a tooltip) instead of in a popover of a button in the toolbar
* Admin > Dashboard: the list of the not approved accounts shows the newest registrations first (they were in the order of the database, a new registration was on the last page)
* Admin > BBCode Extensions: the extensions the forum itself needs ([ATTACH] attachments, [MEDIA] the media button of the editor, [USERLINK] mentions, [ALBUMIMG] album images) are marked "Required" and can't be deleted or renamed (posts showed the raw BB code until the next upgrade added them again); every extension of the forum has "Restore Default", which replaces it with the version of BBCodeExtensions.xml (the upgrade keeps the extensions an admin changed); all languages
* Install wizard: uses the colors and styles of the yaf theme (the logo blue, purple and red) instead of the plain Bootstrap look
* Install wizard: the header has the blue, purple and red stripe of the logo, like the navbar of the yaf theme
* WYSIWYG editor: the dialogs of the toolbar (link, image, e-mail, videos, media, note, colors, font...) have a header with their name and a close button and Cancel and Insert buttons; on phones a dialog takes the width of the editor below the row of its button, with large buttons, and the toolbar is one row that scrolls sideways (instead of five rows of buttons); bigger targets on touch screens, URL and e-mail keyboards without autocorrect, a URL that cannot be embedded is marked below the field and the dialog stays open (no browser alert anymore), long lists scroll, the font color button shows the color as a bar under the A; the dialog is above the sticky button bar of the post page
* Quotes redesigned: who wrote a quote is shown above the text instead of at the end (with a link to the quoted post), a bar on the side and alternating backgrounds instead of boxes in boxes with margins, so quotes in quotes stay readable on a phone; a quote in a quote in a quote is collapsed (click its title to show it); the WYSIWYG editor shows the quotes the same way (the name above the text); the quotes are blockquote elements (also better in feeds and e-mails); the help explains it, all languages
* Posts redesigned: a larger avatar with the name of the author, the badges (topic starter, answer) and below it the rank, trophies, profile fields, a slim reputation bar with its text and the IP (moderators) in one line; the date, the post number (the link to the post) and the tools on the right; the edit note, the link to the answer and the signature are small lines below the message instead of boxes; the answer has a green border, a deleted post a dashed one; the reactions and the reply actions share the footer; the post of an ignored user is hidden behind a bar that names the author; the tools menu and the right-click menu have the same items (now also the author items), the author items under the author's name; all languages
* Quick reply redesigned: the avatar of the user next to the editor, the watch switch and the Post button in one row below it (the button on the right), a header with an icon instead of the thick line above the box; the quick reply dialog of a post is wider (full screen on phones), has a Cancel button, the cursor is in the text and it shows the characters that are left
* Similar topics redesigned: the title of each topic on its own line, below it the forum, the author and the time; a header with an icon and the number of topics, the same header style for the users browsing the topic next to it
* Search results redesigned: one list instead of a card per result, each with the title and a link to the found post, a line with the forum, the author (a link to the profile like in the posts), the time and the tags, the description and the found text; the number of results next to the pager, no pager for a single page, a friendlier message when nothing was found
* Build: building the solution runs the npm build only for what changed: webpack is skipped when no script source changed and the css files when no scss file changed (a build without changes no longer takes ~75 seconds, now ~0.4 seconds); the scss files are compiled with the sync sass compiler, which is ~5 times faster, so npm run build takes ~30 instead of ~75 seconds
## 🐞 Bug fixes
* NuGet packages: YAFNET.Core, YAFNET.Data.SqlServer and YAFNET.RazorPages referenced .NET 11 versions of Microsoft.Extensions.DependencyInjection.Abstractions, System.Security.Cryptography.Pkcs and Microsoft.Extensions.FileProviders.Embedded (the first two inside the package without a declared dependency), a .NET 10 project could not compile against them (CS1705); they use the 10.0 versions now and the packages declare them. YAFNET.Core also declares BouncyCastle.Cryptography, which the included WebEssentials.AspNetCore.Pwa.dll needs (a project had to reference it itself)
* Private messages and the chat (YAFNET.UI.Chat): with a connection without WebSockets (a browser, proxy or network that only allows long polling) every call of the hubs failed (the hub methods ran without http context, the user of the call was not known); a hub filter gives them the http context of their connection
* Chat (YAFNET.UI.Chat): the chat page showed an error for every logged in user in an application without its own Pages/Shared/_LogoutConfirm.cshtml (the layout of the package looked for the logout dialog of the forum by its name only, the sample application has a copy); the layout takes the dialog of the forum by its path
* Chat (YAFNET.UI.Chat): Enter in the message field did nothing and the sent text stayed in the field (sending it again was one click away); Enter sends the message and the field is emptied after sending
* Chat (YAFNET.UI.Chat): an empty message (Send without text, only spaces or only html) was saved and shown as an empty bubble; it is not sent, the text is saved without the spaces around it
* Chat (YAFNET.UI.Chat): a new message was shown to everybody as their own message (on the right, in the color of the own messages, with the own avatar and without the sender); the hub sends the sender with the message and every page shows the messages of the others with their avatar and color
* Chat (YAFNET.UI.Chat): gu