Skip to content

Development

Adding a page

Add a Razor page under Pages/Admin/ with a /logistics/admin/... route (use /logistics/self/... for self-service-visible surfaces). Use AdminLayout and StatusHelper for consistent status rendering.

From stubs to a real API (PHASE-2)

Today the query/command services (StubDashboardQueries, StubEventOrdersCommands, etc.) read/write the shared SeedDataStore. To integrate a backend:

  1. Implement API-backed versions of the I*Queries/I*Commands interfaces against the "LogisticsApi" HttpClient.
  2. Register them in AddLogisticsServices() when UseStubLogisticsApi=false.
  3. Keep route prefixes (/logistics/admin, /logistics/self) so the shell continues to compose the MFE.

Seed data

Extend SeedDataStore to add equipment types, locations, inventory slots, event orders, broken-equipment reports, or activity-log entries for local development.

Testing

...UnitTests (12 MSTest files) targets the stub services (StubDashboardQueriesTests, StubEventOrdersCommandsTests, ServiceCollectionExtensionsTests). Add bUnit page tests as the UI stabilizes.

See also