AuditFramework is a .NET Aspire solution that wires together a Blazor web frontend, an ASP.NET Core API service, PostgreSQL, and Temporal for local development.
AuditFramework.AppHostorchestrates the local distributed application.AuditFramework.Webis the Blazor frontend served aswebfrontend.AuditFramework.ApiServiceexposes backend HTTP endpoints asapiservice.AuditFramework.ServiceDefaultscentralizes health checks, service discovery, resilience, and OpenTelemetry defaults.AuditFramework.Testscontains integration tests that boot the Aspire app host and verify the running services.
- .NET 10 SDK compatible with the
net10.0target in this repo - Docker Desktop or another local Docker runtime
The AppHost starts PostgreSQL, pgWeb, Temporal, and Temporal UI as containers, so Docker needs to be running before you launch the application or run the integration tests.
Restore dependencies:
dotnet restore AuditFramework.slnxStart the Aspire app host:
dotnet run --project AuditFramework.AppHostFrom the Aspire dashboard you can open:
webfrontendfor the Blazor UIapiservicefor the backend servicetemporal-uifor Temporal workflowspostgres/pgwebfor database inspection
Run the full test project:
dotnet test AuditFramework.Tests/AuditFramework.Tests.csprojThe current test suite verifies:
- the web frontend root page responds successfully
- the API
GET /weatherforecastendpoint returns five forecast items - the
webfrontendandapiservicehealth endpoints report healthy
Because the tests start the distributed app, expect the first run to take longer while containers initialize.
- The API exposes a sample
GET /weatherforecastendpoint. - The frontend includes a weather page that reads from the API through service discovery.
- Health endpoints are available in development at
/healthand/alive.
Identity and authentication work appears to be in progress in AuditFramework.ApiService. The tests and documentation in this branch intentionally avoid that surface area so they can coexist cleanly with auth changes.