.NET Razor Pages Deploy to Production Quickstart
Deploy a .NET Razor Pages application on Blossom with our step-by-step guide
Deploy a .NET Razor Pages application on Blossom from our example repository.
Deploy The Example
Or in Blossom:
- Open New App → Quickstarts and choose .NET Razor Pages.
- Review the prefilled source, the App and Environment names, and the
webService command and port. - In Database, pick or create a PostgreSQL Database instance. The example’s variables come prefilled:
ASPNETCORE_ENVIRONMENTASPNETCORE_URLS
- Choose Deploy. Blossom creates the App and starts its first deploy.
From the terminal, list the Quickstarts, then deploy this one:
blossom quickstart:list
blossom app_plan:create -d '{"app_plan":{"quickstart":"dotnet-aspnet-razorpages"}}'
blossom app_plan:deploy --id app_plan-100
What You Get
- A live .NET Razor Pages App on its own HTTPS URL, behind health-checked releases
- A managed PostgreSQL database, already linked, with backups on
- Logs, metrics and Activity from the first deploy
- A starting point: deploy your own App the same way
Next, add your domain or preview every pull request.