yavsc/src/Yavsc.Blogs
Paul Schneider 006e05a375 fix(blogs): register controller endpoints via MapControllers
All [ApiController] classes (BlogApi, BlogTags, PostTags, FileSystem,
FileSystemStream, Comments, TagsApi) returned 404 on every route,
even though Kestrel was up. The pipeline in Program.cs was missing
MapControllers(), so the controllers were never attached to the
endpoint data source. MapIdentityApi and MapGet("/identity")
worked because they're explicit minimal-API routes; the attribute-
routed controllers didn't.

Confirmed end-to-end: GET /api/v1/blog now returns 401 (auth
required by [Authorize("BlogScope")]) instead of 404.
2026-07-07 21:48:02 +01:00
..
Controllers fix(blogs): accept JSON on POST /api/v1/blog (no file) 2026-07-06 22:03:41 +01:00
appsettings-blogs.json drop baked-in Kestrel:Endpoints:Https from Yavsc.Blogs / Yavsc.Api 2026-06-27 17:36:57 +01:00
Constants.cs petite factorisation 2026-06-20 18:43:01 +01:00
Program.cs fix(blogs): register controller endpoints via MapControllers 2026-07-07 21:48:02 +01:00
Yavsc.Blogs.csproj Exploiting GitVersion 2026-06-28 14:11:26 +01:00