.NET Community Toolkit 8.1 enhances MVVM capabilities

.NET Community Toolkit 8.1 enhances MVVM capabilities

Microsoft has improved features, functionality, and diagnostics in the MVVM toolkit portion of the .Internet Group Toolkit. The enhance was released this week.

Unveiled January 18, .Net Group Toolkit 8.1 adds focused analyzers to the MVVM (model-check out-viewmodel) toolkit. Formerly, the MVVM toolkit emitted diagnostics for capabilities employed incorrectly. Now, it can offer suggestions for increasing code. Yet another analyzer has also been included to aid cut down binary dimensions in programs.

Functionality optimizations are meant to strengthen the developer user practical experience, specifically when doing work on substantial methods. The architecture of generators was improved with abilities these types of as multi-concentrating on for the Roslyn 4.3 compiler platform. Diagnostics were moved to diagnostics analyzers to decrease overhead when typing. Incremental suppliers have been also up to date to no lengthier propagate symbols, therefore minimizing memory use. To boost efficiency and reduce memory allocations, incremental designs and pipelines had been overhauled. The updated MVVM toolkit also options new IObservable extensions for the IMessenger interface bridges performance exposed by messenger APIs.

.Internet Group Toolkit 8.1 also adds the .Net 7 concentrate on framework keep an eye on to the superior-effectiveness offer and consists of improvements to reward C# 11 ref fields. Edition 8.1 also will take some kinds out of preview, such as Ref, ReadOnlyRef, NullableRef, and ReadOnlyNullableRef. New ref basic safety regulations are in area for these styles.

In addition to the up-to-date MVVM toolkit, .Internet Neighborhood Toolkit incorporates the next libraries:

  • CommunityToolkit.Prevalent
  • CommunityToolkit.Diagnostics
  • CommunityToolkit.HighPerformance

Resource code for Net Group Toolkit, which offers APIs and helpers for .Internet builders no matter of the UI framework, can be located on GitHub.

Copyright © 2023 IDG Communications, Inc.