• 14-Jul-16

    New features of .NET Core 3 0

    The latest version of .NET Core is now 3.0 .NET and with this version, most of the .net users wants to know that what is new feature in .net core 3.0 and here we mentioned.

    New Asp.Net core 3.0 Features

    C# 8:

    The .NET Core 3.0 supports C# 8, and the new features in C# 8.0 include Nullable types, Async streams, Ranges and indices, and Switch expressions and so on.

    Async streams:

    The new asynchronous version of IEnumerable is the IAsyncEnumerable. If you need to consume the elements of IAsyncEnumerable, then it lets you wait for each over it and use yield return that produces elements. With the ability to await for each, one can also create async iterators.

    By using Declarations:

    This is a new way to make sure that your object is properly disposed of, as it keeps the object alive even when it is still in scope. It automatically disposed of the object once it becomes out of scope. It will make your code cleaner and reduce nested using statements.

    Switch Expressions:

    This is the best way to switch statement in .net core application, yes, it is an expression that returns a value. They are fully integrated with pattern matching and represent the default value by using the discard pattern.

    Patterns allow you to write declarative code that captures your intent. The compiler is responsible for implying procedural code correctly.

    Parsing and formatting fixes:

    • • Correctly parse and format negative zero.
    • • Correctly round inputs of any length and parse.
    • • Correctly NaN by performing a case-in-sensitive check and parse Infinity and supporting an optional preceding + where applicable.

    New Math API in .NET core 3.0:

    • • BitIncrement/BitDecrement
    • • MaxMagnitude/MinMagnitude
    • • ILogB
    • • ScaleB
    • • Log2
    • • FusedMultiplyAdd
    • • CopySign

    .NET Platform Dependent Intrinsics:

    This is allow access to certain perf-orientated CPU instruction, APIs has been added such as the Bit Manipulation or SIMD instruction sets. These instructions achieve big performance improvements in processing data efficiently and some other. The .NET libraries have begun using the instructions to improve performance by exposing the APIs for your programs to use.

    Default executables:

    .NET Core coming up with default executable source to build framework-dependent executables. It uses a globally installed version of .NET Core which is new for .net core application users.

    You can expect the following thing with these executables: From a command prompt, you can launch the application like ./myapp on macOS and Linux or myapp.exe on Windows.

    Build copies dependencies:

    From the NuGet cache, .NET core build now copies NuGet dependencies for your application to the build output folder.

    For Windows desktop:

    One can build Windows desktop apps using Windows Forms and WPF. with the .NET Core 3.0. It supports using modern controls and fluent styling from the Windows UI XAML Library (WinUI). It is a part of the Windows .NET Core 3.0 SDK.

    MSIX Deployment for Windows Desktop:

    MSIX can be used to deploy .NET Core 3.0 desktop application in Windows 10. The Windows App Packaging Project allows you to create MSIX packages with self-contained .NET Core applications.

    Fast built .NET core application with JSON support:

    The new built-in JSON support is low allocation, high-performance, and based on Span. To .NET Core 3.0, three new main JSON-related types have been added.

    Assembly Unloadability:

    This is a new ability of AssemblyLoadContext which is transparent from an API perspective and exposed with just a few new APIs. It allows releasing all memory for instantiated types, a loader context to be unloaded, the assembly itself and static fields. With it, an .NET core application can load and unload assemblies without any leak of memory.  

    Windows Native Interop:

    In the form of flat C APIs, WinRT, and COM, Windows offers a rich native API. With the .NET Core 3.0, it supports the Activate WinRT APIs and ability to CoCreate COM APIs.

    Tiered compilation:

    It is on the .NET Core 3.0 their is default compilation that enables the runtime to more adaptively using the Just-In-Time (JIT) compiler to perform better.

    Platform Support:

    .NET Core 3 support on an extensive range of OS as given follows:

    • • Windows Server: 2012 R2 SP1+
    • • Windows Client: 7, 8.1, 10 (1607+)
    • • RHEL: 6+
    • • macOS: 10.12+
    • • Ubuntu: 16.04+
    • • Fedora: 26+
    • • SLES: 12+
    • • Alpine: 3.8+
    • • OpenSUSE: 42.3+

    Following chip support in .NET core

    • • x86 on Windows
    • • x64 on Windows, macOS, and Linux
    • • ARM64 on Linux
    • • ARM32 on Windows and Linux ( on Debian 9+ and Ubuntu 16.04+.)

    So here is all the feature new things upgradation available in .NET Core 3.0.

    Axis Technolabs have an expert .NET web application developer company having strong experienced to develop .NET core application.

    Hire .NET core developer from Axis Technolabs