API-first ASP.NET Core solution targeting .NET 10.
DemoApplication.Apiowns HTTP endpoints, middleware, health checks, and static SPA hosting.DemoApplication.Applicationowns use-case contracts and application orchestration.DemoApplication.Domainowns business entities and rules; it has no framework dependencies.DemoApplication.Infrastructureowns external integrations and implements Application abstractions.
Dependencies point inward: API references Application and Infrastructure; Infrastructure references Application and Domain; Application references Domain.
From the repository root on Windows, Linux, or macOS:
dotnet restore src/DemoApplication.slnx
dotnet run --project src/DemoApplication.ApiThe API listens on the URL printed by the host. Verify startup with GET /health and GET /api/status.