C#/.NET Application FAQ
- What types of .NET applications are supported
- How to access my ASP.NET Web Api/MVC via http(s)?
- How to upload a published .NET application
- How to upload a .NET project from source code
What types of .NET applications are supported
The system supports two options for uploading .NET applications:
- Published application (publish) — if the archive contains a
*.runtimeconfig.jsonfile, the system will detect the .NET version and offer to choose the application type (ASP.NET Core or console). - Source code project (.csproj) — if the archive contains a
*.csprojfile, the system will build the project usingdotnet 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
- Publish your project locally:
- Pack the contents of the
publishfolder into a zip archive. - Upload the archive to the hosting.
- On the second step, verify the detected .NET version and application type.
How to upload a .NET project from source code
- Pack the source code (with the
.csprojfile) into a zip archive. - Upload the archive to the hosting.
- The system will automatically run
dotnet restoreanddotnet 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