.NET Core July Update Relased

In this month' update, Microsoft focused on security issues solving
11 July 2018   419

Microsoft has posted an open version of the .NET Core update. It covers .NET Core 1.0.12, .NET Core 1.1.9, .NET Core 2.0.9, and .NET Core 2.1.2.

Key changes in .NET Core

Microsoft focused on solving security problems. Fixed some vulnerabilities in ASP.NET Core. Fixed a bug when interrupting an incorrect request, allowing an attacker to implement a denial-of-service attack. In addition, the company has compiled a guide for developers, in whose products this vulnerability is present.

Fixed an error that allowed to produce an infinite number of authorization attempts. Vulnerability made the product unstable to brute force. Now the application will count the number of authentication attempts.

In ASP.NET Core, a bug in the processing of certificates has been fixed, which made it possible to present data with an expired term on demand.

Download is available at Microsoft website.

NET Core 2.1 came out in late May 2018, and Microsoft regularly updates this platform.

.NET Standard 2.1 to be Released

IT giant added a lot of new features and updates to its programming platform standard
07 November 2018   200

Microsoft developers have updated .NET Standard to version 2.1, adding to it a number of improvements and a large number of APIs. .NET Standard is a set of common interface specifications for the .NET Framework, .NET Core, Mono, Xamarin, and others. A library that meets the specifications of .NET Standard can be used on other .NET platforms.

Main updates:

  • Span data type support for all platforms. Span allows to work with strings, arrays and other types of data, and also introduces an abstraction of access to a certain section of memory for both read and write. This will simplify development. In general, Span is at the heart of most performance improvements in .NET Core 2.1.
  • Foundational-API - updated standard for performance. It, unlike Span, expands the list of program interfaces, and not data types.
  • Updated ValueTask type for high load scripts. ValueTask returns the result if the operation is performed synchronously without creating a new task, which affects the overall software performance. Using ValueTask allows to minimize the overhead of a PC or server. The type itself appeared in .NET Core 2.1, and in the new version it additionally uses such types as Socket and NetworkStream.
  • Reflection emit adds type generation technology 'on the fly'. Separately, it has already been used, but now it is included in the standard. The .NET ecosystem usually makes extensive use of dynamic functions, so Reflection emit allows to optimize system performance.
  • The previously used SIMD API is now included in .NET Standard in the NuGet package.
  • There was a primitive DbProviderFactories. It makes it easier for libraries and applications to use ADO.NET technology. The registered instance of DbProviderFactory is selected by name from the database configuration parameters.
  • Functions System.HashCode and System.String added to base class libraries.

In .NET Standard 2.1, it is planned to add about 3 thousand APIs, some of which will be simply updated, while others will be completely new. This solves the problem of sharing code for .NET developers on all platforms. Learn more at official blog.