tools / toolkit / toolbelt

.NET Community Toolkit 8.1 enhances MVVM capabilities

Microsoft has enhanced features, functionality, and diagnostics in the MVVM toolkit portion of the .Web Community Toolkit. The improve was produced this week.

Unveiled January 18, .Internet Neighborhood Toolkit 8.1 adds devoted analyzers to the MVVM (model-perspective-viewmodel) toolkit. Previously, the MVVM toolkit emitted diagnostics for features utilised improperly. Now, it can supply suggestions for enhancing code. Another analyzer has also been extra to assistance cut down binary sizing in applications.

Overall performance optimizations are intended to boost the developer person experience, notably when functioning on large alternatives. The architecture of generators was enhanced with capabilities such as multi-targeting for the Roslyn 4.3 compiler platform. Diagnostics were being moved to diagnostics analyzers to cut down overhead when typing. Incremental providers had been also up to date to no lengthier propagate symbols, consequently lessening memory use. To make improvements to efficiency and lessen memory allocations, incremental products and pipelines had been overhauled. The up to date MVVM toolkit also functions new IObservable extensions for the IMessenger interface bridges operation uncovered by messenger APIs.

.Net Local community Toolkit 8.1 also provides the .Web 7 concentrate on framework keep an eye on to the large-overall performance offer and features alterations to gain C# 11 ref fields. Model 8.1 also takes some styles out of preview, together with Ref, ReadOnlyRef, NullableRef, and ReadOnlyNullableRef. New ref safety rules are in put for these styles.

In addition to the up to date MVVM toolkit, .Net Neighborhood Toolkit involves the adhering to libraries:

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

Source code for Internet Group Toolkit, which features APIs and helpers for .Net developers no matter of the UI framework, can be observed on GitHub.

Copyright © 2023 IDG Communications, Inc.