core

.NET Core 3.0.0 Preview 3 - March 06, 2019

.NET Core 3.0.0 Preview 3 is available for download and usage in your environment. This release includes .NET Core 3.0.0 Preview 3 and .NET Core SDK 3.0.100 Preview 3.

If Visual Studio is your preferred environment, you will need Visual Studio 2019 Preview 3 to take full advantage of the .NET Core 3.0 Preview.

Blog Round up

The .NET Core SDK 3.0.100 Preview 3 includes .NET Core 3.0 Runtime so downloading the runtime packages separately is not needed when installing the SDK. After installing the .NET Core SDK 3.0.100 preview, the following command will show that you’re running version 3.0.100-preview-010431 of the tools.

If you use Visual Studio for development work, Visual Studio 2019 is required.

dotnet --version

Your feedback is important and appreciated. We’ve created an issue at dotnet/core #2389 for your questions and comments.

Downloads

  SDK Installer1 SDK Binaries1 Runtime Installer Runtime Binaries ASP.NET Core Runtime
Windows x86 | x64 x86 | x64 | ARM x86 | x64 x86 | x64 | ARM x86 | x64 | ARM |
Hosting Bundle2
macOS x64 x64 x64 x64 x641
Linux Snap Install x64 | ARM | ARM64 | x64 Alpine - x64 | ARM | ARM64 | x64 Alpine x641 | ARM1 | ARM641 | x64 Alpine1
RHEL6 - x64 - x64 -
Checksums SDK - Runtime - -
Symbols - - Runtime | Shared Framework | Setup - ASP.NET Core
  1. Includes the .NET Core and ASP.NET Core Runtimes
  2. Note, the Hosting Bundle has an issue with the ASP.NET Core Module. If you would like to install the ASP.NET Core Module, please install the 3.0 Preview 2 [Hosting Bundle][dotnet-hosting-win.exe] and run the executable on a command line with the paramaters OPT_NO_SHAREDFX=1 OPT_NO_RUNTIME=1. Then install the appropriate .NET and ASP.NET runtimes.

Docker Images

The .NET Core Docker images have been updated for this release. Details on our Docker versioning and how to work with the images can be seen in “Staying up-to-date with .NET Container Images”.

The following repos have been updated

Notable Changes in 3.0.0 Preview 3

The following are the specific changes made in Preview 3:

Added to Index:

public bool IsFromEnd { get; }
public Index(int value, bool fromEnd = false);

Removed from Index:

public Index(int value, bool fromEnd);
public bool FromEnd { get; }

Added to Index:

public static Index End { get; }
public static Index Start { get; }
public static Index FromEnd(int value);
public static Index FromStart(int value);
public int GetOffset(int length);

Added to Range:

public static Range All { get; }
public static Range StartAt(Index start);
public static Range EndAt(Index end);

Removed from Range:

public static Range All();
public static Range FromStart(Index start);
public static Range ToEnd(Index end);

Added to Range:

public Range(Index start, Index end);
public Range.OffsetAndLength GetOffsetAndLength(int length);

Added the following Range and Index APIs to various types:

public readonly struct Memory<T>
{
    public Memory<T> this[Range range] { get; }
    public Memory<T> Slice(Index startIndex);
    public Memory<T> Slice(Range range);
}