Deploying an ASP.NET App


You can find the step-by-step deployment guide here.

Depending on the version you chose when creating the app, Hostman will use one of the following .NET versions during the application build:

  • .NET 8.0
  • .NET 9.0
  • .NET 10.0

By default, we will set the following environment variable when running the application:

ASPNETCORE_URLS=http://0.0.0.0:8080

It is required to properly forward the port and allow the application to run inside a container.

The default run command:

dotnet run