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
- Framework: ASP.NET Core
- Workload: Admin dashboard
- Release Status: Published
- Support Status: Verified
- Execution Status: Ready
Resource Requirements
- Compute: Apps run in isolated x86_64 Firecracker microVMs that auto-pause when idle and wake on request; sizes are the priced VM sizes.
- Postgres: Managed PostgreSQL 16 runs in its own microVM and is auto-provisioned when an app needs a database and no
DATABASE_URLis supplied.
Prerequisites
- An ASP.NET Core project that builds and starts with the documented commands (
dotnet publish -c Release -o outin the builder, thendotnet .dllon the dotnet-10 template withASPNETCORE_URLSbound toPORT) - A PostgreSQL driver reading
DATABASE_URLat runtime (auto-provisioned when omitted, or supplied with--env) - An Ample account token with
servers:write,databases:read
Workflow Steps
- Build and start:
dotnet publish -c Release -o outin the builder, thendotnet .dllon the dotnet-10 template withASPNETCORE_URLSbound toPORT. - Implement the pattern on PostgreSQL: Copy the transactional workflows approach into your schema; keep migrations idempotent and run them with
--release-command. - Deploy: Run the synchronous deploy once and read the result.
- Verify: Fetch the live URL and run your own checks.
Success Checks
- App responds on its public URL
- Transactional-workflows self-test
Limitations
- Verified on the dotnet-10 template at
s-1vcpu-1gb; other sizes, templates, and ASP.NET Core major versions are not verified. - The admin dashboard itself behavior is application code and was not separately tested.
Cost Estimate
- Currency: USD
- Monthly Amount: $10.00
- Components:
- App server:
s-1vcpu-1gb, Quantity: 1.0, Monthly Amount: $5.0 - Managed PostgreSQL database:
s-1vcpu-1gb, Quantity: 1.0, Monthly Amount: $5.0
- App server:
- Note: Always-on monthly price of the tested sizes; apps and databases auto-pause when idle.
Evidence Summary
- ASP.NET Core pattern fixture deployed on Ample; checks passed for transactional-workflows and configuration-secrets.
- Summary of checks includes optimistic version check and event row transactions.