Skip to content

Commit

Permalink
Merge pull request #1313 from leecow/master
Browse files Browse the repository at this point in the history
formatting fixes in 2.1 release notes
  • Loading branch information
leecow authored Feb 28, 2018
2 parents fef8a7e + 9bae9f9 commit eb9f394
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions release-notes/2.1/2.1.0-preview1.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Details for running .NET Core 2.1 Preview 1 in Azure App Services can be seen in

**System.IO** - Path APIs no longer check invalid characters directly.

To improve performance and unblock cross platform scenarios System.IO.Path methods no longer check for validity of characters outside of the null character. Most System.IO APIs that take a path are impacted by this. Attempting to use a path that the OS/file system doesn't handle will return the system reported IOException when actually using the path as opposed to an ArgumentException before passing the path to the OS.
To improve performance and unblock cross platform scenarios System.IO.Path methods no longer check for validity of characters outside of the null character. Most System.IO APIs that take a path are impacted by this. Attempting to use a path that the OS/file system doesn't handle will return the system reported `IOException` when actually using the path as opposed to an ArgumentException before passing the path to the OS.

**System.IO** - Directory enumeration performance improvements

Expand All @@ -40,36 +40,36 @@ Add API to compress and decompress using the Brotli algorithm, a generic-purpose

**System.Security** - New SignedCms APIs

System.Security.Cryptography.Pkcs.SignedCms is now available in the System.Security.Cryptography.Pkcs package. The .NET Core implementation is available to all .NET Core platforms and has parity with the class from .NET Framework.
`System.Security.Cryptography.Pkcs.SignedCms` is now available in the `System.Security.Cryptography.Pkcs` package. The .NET Core implementation is available to all .NET Core platforms and has parity with the class from .NET Framework.

**System.Security** - New X509Certificate.GetCertHash overload for SHA-2

New overloads for X509Certificate.GetCertHash and X509Certificate.GetCertHashString accept a hash algorithm identifier to enable callers to get certificate thumbprint values using algorithms other than SHA-1.
New overloads for `X509Certificate.GetCertHash` and `X509Certificate.GetCertHashString` accept a hash algorithm identifier to enable callers to get certificate thumbprint values using algorithms other than SHA-1.

**System.Security** - New Span-based cryptography APIs

Span-based API is available for hashing, HMAC, (cryptographic) random number generation, asymmetric signature generation, asymmetric signature processing, and RSA encryption.

**System.Security** - Rfc2898DeriveBytes performance improvements

By switching to Span-based computations the computations of Rfc2898DeriveBytes (PBKDF2) have sped up about 15% compared to prior releases. Users who have benchmarked an iteration count for an amount of server time can now increase their iteration count accordingly.
By switching to Span-based computations the computations of `Rfc2898DeriveBytes` (PBKDF2) have sped up about 15% compared to prior releases. Users who have benchmarked an iteration count for an amount of server time can now increase their iteration count accordingly.

**System.Memory** - New APIs for efficient low-allocation access to memory

The component contains primitives and libraries that can be used to optimize memory usage. The primitives, Span<T>, ReadOnlySpan<T>, Memory<T>, and ReadOnlyMemory<T> are types for efficient representation of managed, stack, and native memory segments. ReadOnlySequence<T> represents a sequence of such segments. The rest of the component are reusable APIs operating on these primitives. For example, the Utf8Parser class can be used to parse UTF-8 encoded text stored in a memory segment. Similarly, Utf8Formatter can be used to format UTF-8 text into a memory segment. It also contains BinaryPrimitive APIs which let you read and write blittable types into and from Span<byte> with support for endianness.
The component contains primitives and libraries that can be used to optimize memory usage. The primitives, `Span<T>`, `ReadOnlySpan<T>`, `Memory<T>`, and `ReadOnlyMemory<T>` are types for efficient representation of managed, stack, and native memory segments. `ReadOnlySequence<T>` represents a sequence of such segments. The rest of the component are reusable APIs operating on these primitives. For example, the `Utf8Parser` class can be used to parse UTF-8 encoded text stored in a memory segment. Similarly, Utf8Formatter can be used to format UTF-8 text into a memory segment. It also contains `BinaryPrimitive` APIs which let you read and write blittable types into and from `Span<byte>` with support for endianness.

### Global Tools

Global tools let you install a tool from a NuGet feed into your local path. This makes in available in a similar manner to npm -g. 
Global tools let you install a tool from a NuGet feed into your local path. This makes in available in a similar manner to npm -g.

**dotnet --list-sdks**

`dotnet --list-sdks` provides a list of .NET Core SDKs installed on the machine

Many .NET Core SDKs may be installed on a given machine. The new --list-sdks switch lists installed SDKs along with the base path where they are installed. This new switch is present in the .NET Core host, which has a single copy on the machine. Thus, this switch works once the preview is installed, regardless of global.json or if the preview is uninstalled.
Many .NET Core SDKs may be installed on a given machine. The new `--list-sdks` switch lists installed SDKs along with the base path where they are installed. This new switch is present in the .NET Core host, which has a single copy on the machine. Thus, this switch works once the preview is installed, regardless of global.json or if the preview is uninstalled.

**dotnet --list-runtimes**

`dotnet --list-runtimes` provides a list of .NET Core Runtimes installed on the machine

Many .NET Core Runtimes may be installed on a given machine. The new --list-runtimes switch lists installed runtimes along with the base path where they are installed. This new switch is present in the .NET Core host, which has a single copy on the machine. Thus, this switch works once the preview is installed, regardless of global.json or if the preview is uninstalled.
Many .NET Core Runtimes may be installed on a given machine. The new `--list-runtimes` switch lists installed runtimes along with the base path where they are installed. This new switch is present in the .NET Core host, which has a single copy on the machine. Thus, this switch works once the preview is installed, regardless of global.json or if the preview is uninstalled.

0 comments on commit eb9f394

Please sign in to comment.