YAFNET/YAFNET
À propos
🌐 YAF.NET — forum pour C# et ASP.NET.
Productivité et automatisationProgression mesurée des étoiles
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- Historique en cours
Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.
README.md
Original
YetAnotherForum.NET (YAF.NET) is an open source forum for ASP.NET. The project is an international collaboration of like-minded, skilled and creative people who strive to make YAF.NET the most robust and flexible forum solution available.
See a live YAF.NET forum in action at the community support forum.
Contents
- Versions
- Quick start with Docker
- Installation & upgrade
- Building from source
- Screenshots
- Support
- Security
- License
Versions
| Version | Platform | Branch | Status |
|---|---|---|---|
| YAF 4.x | ASP.NET Core / .NET 10 or 11 | master |
Stable |
| YAF 3.2.x | ASP.NET / .NET Framework 4.8.1 | netfx |
Stable |
YAF supports the following databases:
Microsoft SQL Server
MySQL / MariaDB
PostgreSQL
SQLite, in YAF 4.x with one of two providers:
- System.Data.SQLite (
YAF.NET-Sqlite.slnx, release packageYAF.Sqlite) - Microsoft.Data.Sqlite (
YAF.NET-SqliteData.slnx, release packageYAF.SqliteData), which also runs on ARM64 (e.g. Windows on ARM, Apple silicon, Raspberry Pi)
Both use the same database file format, so a forum can switch between them.
- System.Data.SQLite (
YAF 4.x can run inside an Umbraco 18 site: the YAF.Umbraco.Plugins.Forums project (NuGet package YAFNET.Umbraco.Forums) serves the forum under /Forums, with single sign-on through Umbraco Members.
YAF 3.x is also available as a module for these CMSs:
- DNN (DotNetNuke): see the YAFNET-DNN project.
- mojoPortal: see the YAFNET-mojoPortal project.
Release notes are in CHANGES.md.
Quick start with Docker
Prebuilt images are published on Docker Hub as yafnet/yafnet, with a Docker Compose file for each database provider. From the yafsrc folder:
docker compose -f docker-compose-SqlServer.yml up -d
Then open http://localhost:8001. On the first start you are taken to the installation wizard, which creates the database tables and the admin account.
[!IMPORTANT] Change the default database password
MyPass@wordin the compose file before starting the stack.
Compose files for MySQL, PostgreSQL and SQLite, configuration via environment variables, mail setup and data volumes are described in the Docker guide.
Installation & upgrade
- New installation (IIS, Linux with nginx, Docker)
- Upgrade YAF.NET v4 to a newer v4 version (IIS, Linux, Docker, NuGet)
- Upgrade from YAF.NET 3.x or older
- Troubleshooting
Install without the wizard
The values of the install wizard can come from the configuration (section BoardConfiguration:Install): when they are set, the forum installs itself on the first request (also a request of the install wizard), nobody can use the wizard before. Like every setting, they can be in the appsettings.json, in the user secrets (development) or in environment variables:
| Key | |
|---|---|
ForumName, ForumEmail |
needed |
AdminUserName, AdminEmail, AdminPassword |
needed, the host admin |
ForumDescription |
optional |
Culture |
optional, default en-US |
ForumBaseUrlMask |
optional, default the address of the first request |
# environment variables (e.g. in the docker-compose file), "__" separates the sections
BoardConfiguration__Install__ForumName="My Forum"
[email protected]
BoardConfiguration__Install__AdminUserName=Admin
[email protected]
BoardConfiguration__Install__AdminPassword=...
# or user secrets (development)
cd yafsrc/YetAnotherForum.NET
dotnet user-secrets set "BoardConfiguration:Install:AdminPassword" "..." --project YAF-SqlServer.csproj
The values are only used while no forum is installed: remove the password after the first start. If a value is missing or the install fails, the error is logged and the install wizard is shown.
More documentation can be found in the GitHub wiki.
Building from source
Prerequisites: the .NET 11.0 SDK and Node.js.
cd yafsrc/YetAnotherForum.NET
npm install
npm run build # compile the JS and CSS files (build.js)
cd ..
dotnet build YAF.NET-SqlServer.slnx # or YAF.NET-MySql / -PostgreSQL / -Sqlite / -SqliteData
See the wiki for the full instructions: command line and Visual Studio. How to run the unit and UI tests is described in the tests README.
Screenshots
Board index

Forum

Topic

Admin control panel

Support
- Ask questions and get help from the community at the YAF.NET support forum.
- Report bugs and request features in the issue tracker.
- Read the wiki for documentation.
Security
Please do not report security vulnerabilities in public issues. See SECURITY.md for how to report them.
License
YAF.NET is licensed under the Apache License 2.0.
Explorer des projets similaires
Chargement…