Bind Options and wire the Program.cs skeleton #6

Closed
opened 2026-07-05 19:19:52 +01:00 by TimCane · 0 comments
TimCane commented 2026-07-05 19:19:52 +01:00 (Migrated from github.com)

Goal

Add the Options classes bound from appsettings + env with ValidateDataAnnotations().ValidateOnStart(), and the ordered Program.cs pipeline (options, SignalR/controllers/ProblemDetails/rate limiter, singletons, hosted-service placeholder, auth, pipeline map + /healthz).

References

Done when

  • Advances M1 A1/A2 (services healthy, /healthz).

Part of M1: Scaffold.

## Goal Add the Options classes bound from appsettings + env with ValidateDataAnnotations().ValidateOnStart(), and the ordered Program.cs pipeline (options, SignalR/controllers/ProblemDetails/rate limiter, singletons, hosted-service placeholder, auth, pipeline map + /healthz). ## References - [docs/07-backend-design.md#configuration](https://github.com/TimCane/bill-splitter/blob/main/docs/07-backend-design.md#configuration) - [docs/07-backend-design.md#programcs-wiring-order-matters](https://github.com/TimCane/bill-splitter/blob/main/docs/07-backend-design.md#programcs-wiring-order-matters) ## Done when - Advances M1 A1/A2 (services healthy, /healthz). --- Part of **M1: Scaffold**.
Sign in to join this conversation.
No description provided.