YAFNET.UI.Chat
4.1.0
See the version list below for details.
dotnet add package YAFNET.UI.Chat --version 4.1.0
NuGet\Install-Package YAFNET.UI.Chat -Version 4.1.0
<PackageReference Include="YAFNET.UI.Chat" Version="4.1.0" />
<PackageVersion Include="YAFNET.UI.Chat" Version="4.1.0" />
<PackageReference Include="YAFNET.UI.Chat" />
paket add YAFNET.UI.Chat --version 4.1.0
#r "nuget: YAFNET.UI.Chat, 4.1.0"
#:package YAFNET.UI.Chat@4.1.0
#addin nuget:?package=YAFNET.UI.Chat&version=4.1.0
#tool nuget:?package=YAFNET.UI.Chat&version=4.1.0
A real-time chat room for YAF.NET: all members of the forum can write to each other on one page (/Chat). The messages are sent with SignalR and saved in the forum database.

- Members only: guests are sent to the login page, suspended members can read but not write
- Shows the latest 100 messages, new messages appear right away for everybody
- Messages of the same member within a few minutes are grouped, the times are shown in the time zone of the reader
- Uses the theme of the forum, including light and dark mode
Prerequisites
- YAF.NET v4 with the YAFNET.RazorPages package, integrated in an ASP.NET Core application as the
Forumsarea (see Integrate YAF.NET into an existing ASP.NET Core application)
Usage
Install the YAFNET.UI.Chat package
dotnet add package YAFNET.UI.ChatMap the chat hub in
Program.cs, next to the hubs of the forumusing YAF.UI.Chat; ... app.MapYafHubs(); app.MapHub<AllChatHub>("/AllChatHub");Link to the chat, e.g. in your
_Layout.cshtml<a class="nav-link" asp-area="Chat" asp-page="/Index">Chat</a>
The chat page comes with a simple layout (name of the board, links to the forum and the chat, light/dark mode, login). To show it in the layout of your site, add your own Areas/Chat/Pages/Shared/_Layout.cshtml (the YAF.NET Sample Application does this). Your layout needs the theme css of the forum, ~/css/forum.min.css (icons) and a Scripts section; the chat page brings its own styles and script.
Community Support Forum
See a real live YAF Forum by visiting the YetAnotherForum.NET community support forum: https://forum.yetanotherforum.net/. Also, get your questions answered by the YAF community.
License
Yet Another Forum.NET is licensed under the Apache 2.0 license.
| 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
- Microsoft.AspNetCore.Mvc.NewtonsoftJson (>= 10.0.15)
- YAFNET.Core (>= 4.1.0)
- YAFNET.Types (>= 4.1.0)
- YAFNET.Web (>= 4.1.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 4.1.1 | 110 | 11/30/2026 |
| 4.1.0 | 105 | 11/30/2026 |
| 4.0.11 | 120 | 11/14/2026 |
| 4.0.10 | 133 | 10/21/2026 |
| 4.0.9 | 158 | 8/30/2026 |
| 4.0.8 | 151 | 8/10/2026 |
| 4.0.7 | 143 | 8/2/2026 |
| 4.0.6 | 160 | 6/20/2026 |
| 4.0.5 | 163 | 4/26/2026 |
| 4.0.4 | 207 | 1/10/2026 |
| 4.0.2 | 281 | 9/24/2025 |
| 4.0.1 | 259 | 8/31/2025 |
| 4.0.0 | 386 | 3/16/2025 |
| 4.0.0-rc04 | 212 | 11/17/2024 |
| 4.0.0-rc03 | 249 | 7/6/2024 |
| 4.0.0-rc02 | 229 | 5/29/2024 |
| 4.0.0-rc01 | 215 | 5/29/2024 |
| 4.0.0-beta09 | 205 | 5/18/2024 |
| 4.0.0-beta07 | 228 | 3/28/2024 |
| 4.0.0-beta06 | 199 | 3/28/2024 |