Blossom Logo Blossom

.NET Razor Pages Deploy to Production Quickstart

.NET .NET Razor Pages

Deploy a .NET Razor Pages application on Blossom in minutes.

Quickstart

The fastest way to get started is using our .NET Razor Pages Example:

  1. Visit the Blossom Quickstarts page
  2. Choose the .NET Razor Pages Example
  3. Click Deploy

If you’re new to Blossom, you’ll need to set up a cluster, container registry, and database first. After creating these, refresh the quickstart page to proceed with deployment.

Deploying Your Own App

To deploy your existing .NET Razor Pages application:

  1. Create a new App in Blossom
  2. Connect your Git repository (GitHub, GitLab, or Bitbucket)
  3. Link your Docker Container Registry (e.g., DockerHub)
  4. Set up a Database (available under the Services tab)
  5. Configure essential environment variables:
    • ASPNETCORE_ENVIRONMENT
    • ASPNETCORE_URLS
  6. Deploy

Troubleshooting

If you encounter issues, check the App Logs first - they typically provide clear error messages if your application fails to start.