freebsd-ports/lang/linux-dotnet-cli/pkg-message
David Naylor c444ec3ffe lang/linux-dotnet-(runtime|sdk): add linux implementation of .NET Core
- add LTS versions
 - Dotnet Core 2.1 fails due to issue with linprocfs (PR pending)

.NET Core is a free and open-source managed software framework. It consists of
CoreCLR, a complete runtime implementation of CLR, the virtual machine that
manages the execution of .NET programs. CoreCLR comes with an improved
just-in-time compiler, called RyuJIT. .NET Core also includes CoreFX, which is
a partial fork of FCL. While .NET Core shares a subset of .NET Framework APIs,
it comes with its own API that is not part of .NET Framework. Further,
.NET Core contains CoreRT, the .NET Native runtime optimized to be integrated
into AOT compiled native binaries. A variant of the .NET Core library is used
for UWP. .NET Core's command-line interface offers an execution entry point
for operating systems and provides developer services like compilation and
package management.

.NET Core supports four cross-platform scenarios: ASP.NET Core web apps,
command-line apps, libraries, and Universal Windows Platform apps. It does not
implement Windows Forms or WPF which render the standard GUI for desktop
software on Windows. .NET Core is also modular, meaning that instead of
assemblies, developers work with NuGet packages. Unlike .NET Framework, which
is serviced using Windows Update, .NET Core relies on its package manager to
receive updates.

Differential Revision:	https://reviews.freebsd.org/D13870
2018-06-30 07:40:20 +00:00

48 lines
1.7 KiB
Text

Telemetry
---------
The .NET Core tools collect usage data in order to improve your experience.
The data is anonymous and does not include command-line arguments. The data is
collected by Microsoft and shared with the community. You can opt out of
telemetry by setting a DOTNET_CLI_TELEMETRY_OPTOUT environment variable to 1
using your favorite shell. You can read more about .NET Core tools telemetry @
https://aka.ms/dotnet-cli-telemetry.
CA Root Certificates for NSS
----------------------------
.NET Core requires NSS CA certificates installed. The recommended way to
install the certificates is to:
# pkg install ca_root_nss
# ln -s /usr/local/share/certs/ca-root-nss.crt \
/compat/linux/etc/pki/tls/certs/ca-bundle.crt
Failed to initialize CoreCLR, HRESULT: 0x8007001F
-------------------------------------------------
.NET core may produce the above error message if the system has exceeded
capacity for wired memory, or is unprivilaged allocations of wired memory is
not permitted.
To ensure unprivilaged allocation of wired memory is allowed, as root:
# sysctl security.bsd.unprivilaged_mlock=1
To preserve this setting across reboots, append the following to
/etc/sysctl.conf:
security.bsd.unprivilaged_mlock=1
To check the usage and limit of wired memory see the 'vm.stats.vm.v_wire_count'
and 'vm.max_wired' sysctl(8) respectively. To increase the wired memory
capacity set 'vm.max_wired' to a value greater than 'vm.stats.vm.v_wire_count'.
.NET Core only requires ~128k wired memory per running application.
For example, if one has:
# sysctl vm.stats.vm.v_wire_count
vm.stats.vm.v_wire_count: 1332146
# sysctl vm.max_wired
vm.max_wired: 1331964
then increasing 'vm.max_wired' will enable .NET Core to run:
# sysctl vm.max_wired=1333000