We are pleased to announce the 100.13 release of ArcGIS Runtime SDK for .NET. This release includes significant new features, enhancements to existing features, performance improvements, bug fixes, and a preview of the roadmap. You can read about the highlights common to all ArcGIS Runtime SDKs in theshared ArcGIS Runtime blog post and additional details in the100.13 Release Notes.
For our .NET community here are a few more highlights...
ArcGIS Runtime SDK for .NET now supports building desktop apps with Windows UI Library (WinUI) 3, the native UI framework for building Windows apps for Windows 10 and later. WinUI 3 can be used directly as the UI layer for your windows desktop apps instead of WinForms and WPF controls, enabling you to combine the modern aesthetic and performance of the WinUI 3 UX with ArcGIS Runtime capabilities targeting the Win32 desktop app platform where you are currently using WPF or WinForms. The ArcGIS Runtime SDK for .NET Project Templates Visual Studio extension includes two new .NET 6 application project templates with a WinUI-based user interface containing an ArcGIS Runtime MapView:
ArcGIS Runtime App, Packaged with WAP (WinUI 3 in Desktop): In addition to the application project, the solution also includes a separate Windows Application Packaging (WAP) Project that is configured to build the app into an MSIX package.
ArcGIS Runtime now supports .NET 6 when building WPF or WinUI apps. Targeting .NET 6 frees your applications from the system-wide .NET Framework dependency, offers greater performance, and offers deployment improvements such as entirely self-contained executables. With the release of ArcGIS Runtime 100.13, since .NET 6 is the current LTS release of .NET Core / .NET, .NET Core 3.1 and .NET 5 are no longer supported as target frameworks.
The ArcGIS Runtime SDK for .NET Visual Studio extension now supports Visual Studio 2022, enabling you to take advantage of the latest tools and performance improvements. Two editions of the ArcGIS Runtime SDK for .NET Visual Studio extension are available:
ArcGIS Runtime SDK for .NET extension contains application project templates plus a local NuGet package source for offline development. You can download the extension from the ArcGIS Developer site. See Install and set up for install options and instructions.
Internal improvements to the lifecycle of native references have reduced memory usage in many common scenarios and resolved the following issues:
BUG-000116437 Memory leak opening and closing multiple maps with polygon graphics or features.
BUG-000125701 Memory leak in ArcGIS Runtime SDK for .NET when repeatedly adding and clearing operational layers from a map service.
BUG-000138424 Embedding the Map control inside a Windows Forms using System.Windows.Forms.Integration.ElementHost causes a memory leak.
BUG-000141890 MobileMapPackage.OpenAsync() causes a memory leak when called too often in ArcGIS Runtime SDK for .NET.
Improved performance when adding new items to classes deriving from RuntimeCollection and RuntimeObservableCollection. For example, when adding Graphics to the GraphicsOverlay.Graphics collection you might see:
Add method time reduced by up to 20% and memory allocation reduced by up to 80%.
AddRange method time reduced by up to 10% and memory allocation reduced by up to 25%.
Version 100.13 of the Toolkit for ArcGIS Runtime SDK for .NET will be available soon and will include three new controls/components:
OverviewMap displays an interactive inset map for a map or scene.
BasemapGallery shows basemaps, either from a Portal or a custom collection, and optionally applies the selected basemap to a map or scene.
SearchView enables searching using one or more locators, with support for suggestions, automatic zooming, and custom search sources.
New samples, sample updates, and enhancements to the sample viewer apps: