This is Tobiso web.
This project is licensed under the MIT License. © 2026 Tobias Heneman
- make a categories controller with service for categories - list categories
- make post endpoint in PostsController.cs for list of links but anonymous. this version is used to list post to users
- make a clickable tree of categories in CategoriesControler
- make editing, adding and removing categories like posts
Run from the root of your solution (or in Tobiso.Web.App folder):
dotnet ef migrations add InitialCreate --project Tobiso.Web.Api --startup-project Tobiso.Web.App --output-dir Infrastructure/Data/Migrations
Then apply the migration:
dotnet ef database update --project Tobiso.Web.Api --startup-project Tobiso.Web.App
dotnet ef migrations script --project Tobiso.Web.Api --startup-project Tobiso.Web.App --output InitialCreate.sql
Create a directory with html files, put their path to Tobiso.Migrator and wait. This creates Markdown files in the same directory. Then run Tobiso.Web and execute in CLI following command with your login, password, and directory path:
curl -k -X POST "https://localhost:7270/api/posts/upload-md?directory={your full directory path}" -u {login}:{password}
*this upload doesn't include categories