6 New Features

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 19

1 2

SDK Workload Support for OpenTelemetry Metrics

Microsoft has come up with a new .NET Microsoft has been adding support for
SDK feature- SDK workload that supports New OpenTelemetry to the recent .NET
new kinds of application -mobile and Features versions in order to aim at observability. In
WebAssembly without enhancing the size .NET 6, the tech giant added support for
of the SDK. the OpenTelemetry Metrics API.

+1-669-206-2175 sales@thecompetenza.com thecompetenza.com


3 4

Added More Roslyn Analyzers Inclusion of Compile-Time Source


Generator
Roslyn analyzers help in inspecting the New
code of a given application development The .NET development team has
Features introduced a new source generator at
project to find issues related to style,
quality and maintainability, and design. compile time as part of System.Text.Json.

+1-669-206-2175 sales@thecompetenza.com thecompetenza.com


5 6

Support for OpenSSL 3 Enable WebSocket Compression

OpenSSL is an open-source cryptography Compression of information is imperative


toolkit for TLS and SSL protocols. The New in data transfer via transmission protocol
.NET 6 will leverage OpenSSL 3 if it is Features over the internet. Data compression helps
available. Otherwise, the latest version of in reducing storage space, transmission
.Net will use OpenSSL 1.x. time, and communication bandwidth.

+1-669-206-2175 sales@thecompetenza.com thecompetenza.com


“ .NET 6 Preview 7 has been tested and is
Did you
know? supported with Visual Studio 2022
Preview 3 “

+1-669-206-2175 sales@thecompetenza.com thecompetenza.com


7 8

Removing Support for Older .NET Supports Socks Proxy Protocol


Framework versions

New SOCKS is an Internet protocol that


In .NET 6, Microsoft will remove the support facilitates transferring network packets
for any framework that is older than the Features
between a client and server via a proxy
.NET Framework 4.6.1, .NET Core 3.1, server.
.NET Standard 2.0

+1-669-206-2175 sales@thecompetenza.com thecompetenza.com


9 10

Advancement in Microsoft.Extensions Enable Custom Guards for the Platform


APIs Compatibility analyzer
To identify any custom guard possibilities,
In the .NET 6 release, you will have an
New .NET engineers added new attributes
Features SupportedOSPlatformGuard and
improvised version of Microsoft.Extensions
UnsupportedOSPlatformGuard for annotating
APIs. The .NET team has worked on
the custom guard members with the
hosting & dependency injection.
respective platform name and/or version.

+1-669-206-2175 sales@thecompetenza.com thecompetenza.com


11 12

NuGet Package Validation Tool Enable a Single Objective-C Interop

In .NET 6, a Package Validation tool is New The .NET team has been allowing support
provided to NuGet library developers to for Objective-C with the objective to have a
Features
check that their packages are consistent single Objective-C interop implementation
and well-created. for .NET.

+1-669-206-2175 sales@thecompetenza.com thecompetenza.com


13 14

.NET Hot Reload Available for Interface Casting Improvement


ASP.NET Core & Blazor Projects
The performance of Interface casting has
Hot Reload allows developers to alter the
New been scaled up by 16 percent to 38
source code of an application in the Features percent, which is specifically helpful for C#
running state, without pausing manually or pattern matching to and between
using a breakpoint. interfaces.

+1-669-206-2175 sales@thecompetenza.com thecompetenza.com


“ Both the .NET website and Bing.com
Did you
know? have been running on .NET 6 since
Preview 1.”

+1-669-206-2175 sales@thecompetenza.com thecompetenza.com


15 16

Faster Handling of Struct Values in Addition of a New Collection-


Dictionaries PriorityQueue

New A new collection –


In .NET 6, a new unsafe API —
PriorityQueue<TElement, TPriority>
CollectionsMarshal.GetValueRefOrNullRef Features
(System.Collections.Generic) is introduced
— has been introduced to handle struct
in .NET 6. This enables adding new items
values in Dictionaries quicker.
with a value and a priority.

+1-669-206-2175 sales@thecompetenza.com thecompetenza.com


17 18

System.Text.Json – Improvement in Parsing of Standard


ReferenceHandler.IgnoreCycles Numeric Formats

In .NET 6, JsonSerializer
New
There is an improvement in the parser for
(System.Text.Json) supports the ability to Features the standard numeric types, particularly for
ignore cycles when carrying out a .ToString and .TryFormat.
serialization process on an object graph.

+1-669-206-2175 sales@thecompetenza.com thecompetenza.com


19 20

Improving the client app development Improve .NET Inner Loop Performance

New .NET version will assist application


In .NET 6, iOS, Android, and MacOS app New developers to be productive by optimizing
development will be integrated into the Features the development tools and workflows that
.NET SDK and leverage .NET libraries. are repeatedly used for performing code
modifications, building, and testing.

+1-669-206-2175 sales@thecompetenza.com thecompetenza.com


“ The latest version of the C# extension for
Did you
know? Visual Studio Code has been updated for .NET 6
Preview 7 and includes support for C# 10.”

+1-669-206-2175 sales@thecompetenza.com thecompetenza.com


21 22

Monitor New SDK Versions with Single-File Bundles Support


Version-Checking Command Compression
In .NET 6, Single-file bundles support
A new command- dotnet sdk check, is
New compression. This can be enabled by
added to .NET 6. This new command will Features changing the property
tell you about the latest available version EnableCompressionInSingleFile to true.
of the .NET SDK and .NET Runtime. During runtime, files are in decompress
mode.

+1-669-206-2175 sales@thecompetenza.com thecompetenza.com


23 24

IL Trimming Warnings Enabled Crossgen2 Tool

Trimming is a feature that was introduced


New Crossgen is a tool that offers
in .NET Core 3.1 and 5.0. This feature in
ahead-of-time (AOT) compilation for a
the .NET SDK analyzes the complete code Features
code to minimize the requirement for
of an application and eliminates all unused
JITing at runtime.
code before publishing an application.

+1-669-206-2175 sales@thecompetenza.com thecompetenza.com


25 26

Dynamic Profile Guided Optimization .NET multi-platform app UI (.Net MAUI)


(PGO)

New .NET MAUI is a cross-platform UI toolkit,


PGO is a native compilation technology offering a single stack that supports all
Features
that assists developers to create more platforms- Android, iOS, macOS, and
highly optimized code. Windows.

+1-669-206-2175 sales@thecompetenza.com thecompetenza.com


27

Build Blazor Desktop Apps

In .NET 6, the tech giant is extending the


New support to create Blazor desktop apps.
Features Blazor desktop allows developers to build
hybrid client apps, which blend together web
and native UI in a native client application.

+1-669-206-2175 sales@thecompetenza.com thecompetenza.com


THANKS &
CONNECT WITH US

You might also like