Blossom Docs
Blossom

Quickstarts

.NET Razor Pages Deploy to Production Quickstart

Deploy a .NET Razor Pages application on Blossom with our step-by-step guide

.NET .NET Razor Pages

Deploy a .NET Razor Pages application on Blossom from our example repository.

Deploy The Example

Or in Blossom:

  1. Open New App → Quickstarts and choose .NET Razor Pages.
  2. Review the prefilled source, the App and Environment names, and the web Service command and port.
  3. In Database, pick or create a PostgreSQL Database instance. The example’s variables come prefilled:
    • ASPNETCORE_ENVIRONMENT
    • ASPNETCORE_URLS
  4. 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.

On this page