PowerShell to be Available at Linux Now

The tool is based on the .NET platform and works not only on the desktop, but also in the cloud, as well as on the "IoT" devices
23 July 2018   493

The open source command-line shell from Microsoft called PowerShell Core received a snap-version for Linux OS. The tool is based on the .NET platform and works not only on the desktop, but also in the cloud, as well as on the "Internet of things" devices.

PowerShell is designed specifically for administrators of hybrid cloud systems and users who want to automate the management of the operating system and its programs.

PowerShell
PowerShell

PowerShell Key Features

Self-sufficient packages in the snap format work natively on popular Linux distributions, are updated automatically and provide a high level of security for users. According to the authors of the project, the snap-version is installed easier than classic applications, receives direct updates from Microsoft and provides flexibility when working with multiple operating systems.

Microsoft also published a preview version of the program for everyone who wants to try out the new features first. It is distributed as a separate package, so it can be used along with a stable release.

You can download both versions with the snap install powershell -classic and snap install powershell-preview -classic commands.

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

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.