---
title: "Deploy Minimal API .NET 10"
description: "Simple ASP.NET Minimal API (.Net, 10 C#). Basic template, demo endpoints."
category: "Starters"
url: https://railway.com/deploy/dynamic-truth
---

# Deploy Minimal API .NET 10

Simple ASP.NET Minimal API (.Net, 10 C#). Basic template, demo endpoints.

**[Deploy Minimal API .NET 10 on Railway](https://railway.com/template/dynamic-truth)**

- **Creator:** BracoZS's Projects
- **Category:** Starters
- **Total deploys:** 10

## Template content

### Minimal Api  .Net 10  https://i.ibb.co/pBDZXgMw/icons8-c-sharp-logo-96.png

- **Source:** BracoZS/MinimalApi-Net10

## Documentation

# Deploy and Host Minimal API .NET 10 on Railway

## About Hosting Minimal API .NET 10

This is a basic ASP.NET Core starter template. The project structure is clean and minimal, making it easy to understand, extend, and use as a foundation for new APIs.

This template runs on .NET 10 without additional frameworks or external services. It is designed to work as a simple HTTP API that can be expanded with authentication, databases, or other features as needed.

### Common Use Cases

- Creating a new REST API

- Learning Minimal APIs in .NET

- Starting a lightweight backend service

### Dependencies for Minimal API .NET 10 Hosting
- .NET 10.0 or later

### Deployment Dependencies

This template does not require a Dockerfile. Railway uses **Railpack** (new default builder) to automatically detect and build the .NET application. More info https://railpack.com/languages/dotnet

Under **Build → Builder**, make sure **Railpack** is selected. No additional configuration is required.

#### Network configuration
Before deploying, make sure to enable Public Networking for the service and `generate` or `configure a custom domain` in Settings → Networking tab. This allows the API to be accessed publicly over HTTP.

If the service has already been deployed, verify the port of the application, Railway usually suggests the correct port automatically, but it should be explicitly set to `8080` to ensure proper functionality.

### Available Endpoints

GET /
Returns basic API information such as name, version, status, and current UTC timestamp.

Response:

```
{
  "api": "MinimalApiNet10",
  "version": "1.0.0",
  "status": "running",
  "timestamp": "2026-02-24T18:25:43Z"
}
```

GET /hello
Returns a simple "Hello World!" response.

Example response:
```
"Hello World!"
```

GET /greet?name=John&city=Miami
Demonstrates query parameter handling by returning a personalized greeting using name and city.

Example response:
```
"Hello John from Miami!"
```

### License

This project is licensed under the MIT License.

## Why Deploy dynamic-truth on Railway?

Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.

By deploying dynamic-truth on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.

## Similar templates

- [open-excalidraw](https://railway.com/deploy/open-excalidraw) — Self-hostable collaborative drawing built on Excalidraw
- [caring-vibrancy](https://railway.com/deploy/caring-vibrancy) — Deploy and Host caring-vibrancy with Railway
- [Appsmith](https://railway.com/deploy/appsmith-1) — Low-code platform for internal tools, dashboards, and admin panels.

Open this page in a browser: https://railway.com/deploy/dynamic-truth
