Tuesday, September 24, 2024

Microsoft .NET Neighborhood Toolkit provides .NET 8, NativeAOT assist

With the .NET Neighborhood Toolkit 8.3 launch, Microsoft stated that APIs throughout all packages have been annotated to totally assist trimming and AOT compatibility, to make sure that any a part of the toolkit goes easily even in these eventualities. Additionally within the model 8.3 launch, the MVVM Toolkit provides assist for the net8.0-windows10.0.17763.0 goal, to be absolutely trim and AOT-compatible with WinAppSDK (WinUI 3). Including this goal framework ensures that each one varieties that is likely to be marshaled to WinRT could have all the mandatory interop code generated for them, Microsoft stated.

Additionally in model 8.3, there are extra efficiency enhancements for the MVVM toolkit. The main target was on making assist for INotifyPropertyChanging absolutely pay-for-play, Microsoft stated. Thus, when this interface just isn’t wanted, there shall be no further overhead due to it. When this property is about to false, all code related to INotifyPropertyChanging in ObservableObject shall be trimmed out.

Among the many bug fixes within the replace, a repair has been made to a state of affairs through which generated OnPropertyChanging strategies weren’t being invoked for dependent properties when utilizing [NotifyPropertyChangedFor]. And the ObservableValidator.HasError property will not robotically present up in desk views in frameworks that dynamically generate columns from declared properties. Model 8.3 of the .NET Neighborhood Toolkit follows final 12 months’s 8.2 launch, which additionally introduced new options to MVVM and efficiency enhancements to MVVM supply mills.

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles