Microsoft has improved performance, efficiency, and diagnostics within the MVVM toolkit portion of the .NET Group Toolkit. The improve was launched this week.
Unveiled January 18, .NET Group Toolkit 8.1 provides devoted analyzers to the MVVM (model-view-viewmodel) toolkit. Beforehand, the MVVM toolkit emitted diagnostics for options used incorrectly. Now, it will possibly supply suggestions for enhancing code. One other analyzer has additionally been added to assist scale back binary measurement in functions.
Efficiency optimizations are meant to enhance the developer consumer expertise, notably when engaged on giant options. The structure of mills was improved with capabilities similar to multi-targeting for the Roslyn 4.3 compiler platform. Diagnostics had been moved to diagnostics analyzers to cut back overhead when typing. Incremental suppliers had been additionally up to date to now not propagate symbols, thus decreasing reminiscence use. To enhance efficiency and scale back reminiscence allocations, incremental fashions and pipelines had been overhauled. The up to date MVVM toolkit additionally options new IObservable<T>
extensions for the IMessenger
interface bridges performance uncovered by messenger APIs.
.NET Group Toolkit 8.1 additionally provides the .NET 7 goal framework monitor to the high-performance bundle and consists of adjustments to profit C# 11 ref fields. Model 8.1 additionally takes some varieties out of preview, together with Ref<T>
, ReadOnlyRef<T>
, NullableRef<T>
, and ReadOnlyNullableRef<T>
. New ref
security guidelines are in place for these varieties.
Along with the up to date MVVM toolkit, .NET Group Toolkit consists of the next libraries:
CommunityToolkit.Widespread
CommunityToolkit.Diagnostics
CommunityToolkit.HighPerformance
Supply code for NET Group Toolkit, which presents APIs and helpers for .NET builders whatever the UI framework, might be discovered on GitHub.
Copyright © 2023 IDG Communications, Inc.