.NET Core

Introduction

Warning

.NET scripts belong in your Home Directory, not in your DocumentRoot.

.NET is a server-side runtime implementation of CLR, the virtual machine that manages the execution of .NET programs. While .NET Core shares a subset of .NET Framework APIs, it comes with its own API that is not part of .NET Framework.


Versions

Release types

We provide .NET Core 2.1 and apply security updates on a regular basis.

Update policy

We update all versions on a regular basis. Once the support ends, the branch reaches its end of life, is no longer supported and will be removed from our servers.

Branch State Supported Until
2.1 LTS At least until August 2021

Getting started

Check out the Hello, Console App!.


Connection to webserver

In order to make your .NET application accessable from the outside, you need to connect it to the webserver. This is done using a proxy RewriteRule to forward requests to the application’s network port. For example, if your application is listening on port 61625 and you want it to be accessable at https://<user>.uber.space/dotnet/, place an .htaccess file looking like this in your DocumentRoot:

RewriteEngine On
RewriteRule ^dotnet/(.*) http://localhost:61625/$1 [P]

Note

Apache 2.4 will add the DirectoryIndex (index.html) to all requests without a folder or file name. To avoid this, add DirectoryIndex disabled to your .htaccess


Caveats

Privacy

.NET collects telemetry data by default. This can be turned off by setting the environment variable DOTNET_CLI_TELEMETRY_OPTOUT to 1.