Announcing ArcGIS Runtime SDK for .NET 100.13

482
0
12-16-2021 05:10 AM
Labels (1)
MichaelBranscomb
Esri Frequent Contributor
0 0 482

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 the shared ArcGIS Runtime blog post and additional details in the 100.13 Release Notes.

For our .NET community here are a few more highlights...

 

 

WinUI 3


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 (WinUI 3 in Desktop): This project template generates an application project with the package manifest and other support needed to build the app into an MSIX package without the use of a separate packaging project. To use this project template, you must also install the single-project MSIX packaging tools extension for Visual Studio.
  • 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.

More information and resources:

 

.NET 6

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.

More information and resources:

 

Visual Studio 2022

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 Project Templates extension contains application project templates that you can install directly in Visual Studio via the Manage Extensions dialog (Microsoft docs).
  • 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.

 

Performance

Memory management

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.
Collection performance

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%.

 

Toolkit

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.

 

Samples

New samples, sample updates, and enhancements to the sample viewer apps:

 

Roadmap

We have an exciting few months ahead as we continue to work on planned support for .NET 6 with Android and iOS; and .NET MAUI in ArcGIS Runtime SDK for .NET.

 

ArcGIS Runtime Local Server

ArcGIS Runtime Local Server 100.13 will be available soon and will include support for geoprocessing and map packages created with ArcGIS Pro 2.9.x.

 

We thank you for your ongoing support and feedback and hope you will find these updates valuable as you continue to use ArcGIS Runtime to build amazing applications for your users.

 

The ArcGIS Runtime .NET team

About the Author
Product Engineer - ArcGIS Runtime SDK for .NET.