Skip to content

C#/.NET Application FAQ

What types of .NET applications are supported

The system supports two options for uploading .NET applications:

  1. Published application (publish) — if the archive contains a *.runtimeconfig.json file, the system will detect the .NET version and offer to choose the application type (ASP.NET Core or console).
  2. Source code project (.csproj) — if the archive contains a *.csproj file, the system will build the project using dotnet publish.

When uploading, you can choose:

  • Application type: ASP.NET Core or Console application
  • Run command: default is dotnet "AppName.dll"

How to access my ASP.NET Web Api/MVC via http(s)?

You'll need a dedicated address, which you can get by specifying a port in the "Ports" tab. The default http port is 80 for .NET before version 8, starting with .NET 8 the default port is 8080. More details can be found here.

How to upload a published .NET application

  1. Publish your project locally:
dotnet publish -c Release -o ./publish
  1. Pack the contents of the publish folder into a zip archive.
  2. Upload the archive to the hosting.
  3. On the second step, verify the detected .NET version and application type.

How to upload a .NET project from source code

  1. Pack the source code (with the .csproj file) into a zip archive.
  2. Upload the archive to the hosting.
  3. The system will automatically run dotnet restore and dotnet publish.

Important

The archive must contain exactly one .csproj file. If there are multiple — upload a published application instead.

Didn't find an answer?

Still have questions? Ask us in the Telegram support chat