---
title: ".NET Razor Pages Deploy to Production Quickstart"
url: "/docs/quickstarts/dotnet-aspnet-razorpages/"
canonical_url: https://docs.blossom88.com/docs/quickstarts/dotnet-aspnet-razorpages/
markdown_url: https://docs.blossom88.com/docs/quickstarts/dotnet-aspnet-razorpages.md
summary: Deploy a .NET Razor Pages application on Blossom with our step-by-step guide
categories:
- quickstarts
- frameworks
- dotnet
- full-stack
- deployment
---

# .NET Razor Pages Deploy to Production Quickstart



<div class="docs-quickstart-mark not-typography">
  <img src="/assets/images/languages/dotnet.png" alt=".NET">
  <img src="/assets/images/frameworks/dotnet-aspnet-razorpages.svg" alt=".NET Razor Pages">
</div>


Deploy a .NET Razor Pages application on Blossom from our [example repository](https://github.com/blossom-examples/dotnet-aspnet-razorpages).

## Deploy The Example


> **Ask your AI agent:** Deploy the .NET Razor Pages Quickstart to Blossom.



Or in Blossom:

1. Open **New App → Quickstarts** and choose **.NET Razor Pages**.
1. Review the prefilled source, the App and Environment names, and the `web` Service command and port.
1. In **Database**, pick or create a PostgreSQL Database instance. The example's variables come prefilled:
   - `ASPNETCORE_ENVIRONMENT`
   - `ASPNETCORE_URLS`
1. 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-export"}}'
    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](/learn/prompt-and-deploy/) the same way

Next, [add your domain](/learn/domains/) or
[preview every pull request](/learn/previews/).

