.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   193

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.

Rider to Receive 2018.2 Version

The new release includes Docker support for the debugger, built-in spelling checker and many other new stuff
24 August 2018   338

The JetBrains team has updated its cross-platform environment for .NET development Rider to version 2018.2. The new release includes Docker support for the debugger, built-in spelling checker, code coverage by unit tests and the ability to work with the MacBook Touch Bar.

What's new in Rider 2018.2

  • The debugger now supports Docker, improved display of the call stack, and breakpoints for each thread in the case of multi-threaded code.
  • Two new launch configurations have been implemented: Publish to IIS and Publish to custom server - to deploy the Web application created in ASP.NET Core on a local or remote server.
  • Improved code autocompletion with the help of a statistic-based algorithm. In addition, Rider pays attention to how often the user uses its hints, and, depending on the feedback, makes corrections.
  • In the IDE settings, the ability to create templates has been added, as well as editing and managing them through Editor | Live Templates and Editor | File Templates.
  • Redesigned the solution browser: a new toolbar with icons for displaying all files, synchronizing the browser and the editor, and several new navigation buttons.
  • Updated macOS-version: added support for MacBook Touch Bar, new icons and a dark theme for window titles.
  • Integration with Unity: support for .asmdef and csc.rsp files, Unity Reload Assembles disable in Play mode, fixing this == null invalid warning, and improved support for remote debugging.
  • Together with the integration with dotCover, the environment received code coverage with unit-tests and support for continuous testing (only for the Windows version).
  • ReSpeller support added. 
  • There are new opportunities for front-end development: support for TypeScript versions 2.9 and 3.0, improved integration with React, Angular and Vue.js.
  • The Reference option is added to the content of the context menu of C # Interactive, and support for F # and NuGet is also updated.
  • A full list of changes is available on the What's New page in the blog dedicated to the IDE Rider.

In August 2018, a new version of the whole family of tools for. NET-development - ReSharper Ultimate 2018.2. It includes an update to ReSharper, which has been supported by C # 7.3, built-in spell checker and several new navigation features.