page:recipes:admin dashboard:asp net core:activity history

Host Admin Dashboard with ASP.NET Core: Application Activity History

Summary

Deploy an admin dashboard built with ASP.NET Core on Ample using the transactional workflows pattern. Compute runs the app in an isolated microVM behind a public HTTPS URL, with a managed PostgreSQL 16 database auto-provisioned and injected as DATABASE_URL. Verified on ASP.NET Core: an optimistic version check and an event row written in the same transaction, a stale update rejected, and a history query over the application-owned events (history=2 conflict=rejected). Not separately tested: your domain records, validation rules, and concurrency policy; treat the admin dashboard-specific behavior as your application code.

Workload Requirements

Resource Requirements

Prerequisites

Workflow Steps

  1. Build and start: dotnet publish -c Release -o out in the builder, then dotnet .dll on the dotnet-10 template with ASPNETCORE_URLS bound to PORT.
  2. Implement the pattern on PostgreSQL: Copy the transactional workflows approach into your schema; keep migrations idempotent and run them with --release-command.
  3. Deploy: Run the synchronous deploy once and read the result.
  4. Verify: Fetch the live URL and run your own checks.

Success Checks

Limitations

Cost Estimate

Evidence Summary