YAFNET.UI.Chat 4.1.0

There is a newer version of this package available.
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
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="YAFNET.UI.Chat" Version="4.1.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="YAFNET.UI.Chat" Version="4.1.0" />
                    
Directory.Packages.props
<PackageReference Include="YAFNET.UI.Chat" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add YAFNET.UI.Chat --version 4.1.0
                    
#r "nuget: YAFNET.UI.Chat, 4.1.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package YAFNET.UI.Chat@4.1.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=YAFNET.UI.Chat&version=4.1.0
                    
Install as a Cake Addin
#tool nuget:?package=YAFNET.UI.Chat&version=4.1.0
                    
Install as a Cake Tool

YAFLogo

NuGet Ko-fi

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.

The chat page with a conversation of four members

  • 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

Usage

  1. Install the YAFNET.UI.Chat package

    dotnet add package YAFNET.UI.Chat
    
  2. Map the chat hub in Program.cs, next to the hubs of the forum

    using YAF.UI.Chat;
    
    ...
    
    app.MapYafHubs();
    
    app.MapHub<AllChatHub>("/AllChatHub");
    
  3. 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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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