---
title: Deploy .NET Razor Pages with AI on Blossom
url: "/deploy/dotnet-aspnet-razorpages/"
canonical_url: https://blossom88.com/deploy/dotnet-aspnet-razorpages/
markdown_url: https://blossom88.com/deploy/dotnet-aspnet-razorpages.md
summary: Deploy .NET Razor Pages with AI on Blossom. Start from a working example
  with a prompt or the Deploy button, then make it your own App.
categories:
- quickstarts
- frameworks
- dotnet
- full-stack
- deployment
---

# Deploy .NET Razor Pages with AI on Blossom


Deploy a .NET Razor Pages application on Blossom from our [example repository](https://github.com/blossom-examples/dotnet-aspnet-razorpages). Use it to try Blossom, or as the start of your own App.

## Ask Your Agent

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

> Follow this guide: https://blossom88.com/deploy/dotnet-aspnet-razorpages/



## Deploy From the Browser

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.

## 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

## Make It Yours

[Deploy your own App](/learn/getting-started/cli/) the same way.
Next, [add your domain](/learn/domains/) or
[preview every pull request](/learn/previews/).

## 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 for your own App


