About this example

Built for a straightforward handoff.

This is an intentionally focused Razor Pages application. It has no database dependency, so it can be copied to a server and published with the standard .NET SDK.

Today

Nginx terminates TLS and forwards requests to the app on 127.0.0.1:5001. The app recognizes the forwarded scheme only when that request originates from loopback.

Tomorrow

Add domain services, authentication, or SQL Server through configuration and dependency injection. Keep connection strings and other secrets out of source control.

Operational check

The /health endpoint returns a compact JSON payload suitable for a load balancer, uptime check, or deployment smoke test.