This document is archived and information here might be outdated.  Recommended version.


What's new for developers at 10.5 (ArcObjects .NET 10.5 SDK)

What's new for developers at 10.5


Summary
This topic provides an overview of the new features and enhancements at ArcGIS 10.5 for developers working with the .NET API for ArcObjects.

In this topic

  • Supported platforms
    • Visual Studio
    • .NET Framework
  • Server Object Interceptor Chaining
  • Type changes

Supported platforms

The following subsections highlight development and deployment platform support changes for ArcGIS 10.5. For complete information on supported platforms, along with hardware and software requirements, see System Requirements.

Visual Studio

At ArcGIS 10.5, .NET development using Community, Professional, and Enterprise editions of Visual Studio 2013 or 2015 is supported.

.NET Framework

.NET 4.5 is a minimum requirement for any .NET development with ArcGIS 10.5. In fact, it is a prerequisite for installing ArcGIS Desktop and ArcGIS Engine for Windows. Desktop ArcObjects SDK for 10.3.1 was the last release of the Desktop SDK to ship with support for .NET 3.5 Framework.
At 10.5, the Desktop ArcObjects SDK ships with .NET Framework 4.5 as the default (same as 10.4). The 10.5 Desktop ArcObjects SDK will install PIAs built against .Net Runtime 4.0 and all new extension development should be started on NET Framework 4.5 or later (same as 10.4).

Server Object Interceptor Chaining

Server Object Interceptor (SOI) chaining allows you to chain multiple SOIs together for a map or image service. This means that now you can complete more than one task at a time on a single service. When adding the SOIs to a service, you can specify the order in which the tasks will be executed. By default, SOIs that were developed at earlier releases will not support SOI chaining. You will need to edit your SOIs in order to chain them together.
To enable SOI chaining for existing SOIs follow these steps:
  1. Comment out the ‘Utility Code’ region
  2. At the top, add ‘using ESRI.ArcGIS.SOESupport.SOI’ line
  3. Remove _extensionCache and _serverEnvironment class members, and add _restSOIHelper
  4. Initialize _restSOIHelper in the Init()
  5. Replace all calls to the FindRequestHandlerDelegate<> with the _restSOIhelper.FindRequestHandlerDelegate<>
  6. Compile
    1. If you encounter errors compiling, check to make sure the entire ‘Utility code’ region is commented out and that all _extensionCache and _serverEnvironment variables have been removed.
  7. Clean up and remove the commented out ‘Utility code’ region
Deprecation Announcement
At 10.4 deprecation of ArcGIS Toolbox Reference utility was announced. At 10.5 ArcGIS Toolbox Reference utility is deprecated.
At 10.4, deprecation of the ArcGIS Add Class Wizard code generation was announced. At 10.5, ArcGIS Add Class Wizard code generation is deprecated. At 10.5, right-click on the Interface within Visual Studio after the Add Class Wizard has completed its code generation and use the Visual Studio Implement Interface functionality. ArcGIS Add Class Wizard
.NET and VCPP Samples
At 10.5, the .NET and VCPP samples are available online for download from https://github.com/esri/arcobjects-sdk-community-samples
Samples for Desktop .NET and VCPP and Server .NET are now installed as zip files in the DeveloperKit->Samples folder. Please copy the sample zip files to your My Documents folder and unzip. If you are using the sample data zip it should be copied to the same location.
Note: There is a maximum file path limit of 260 characters for some zip utilities in Windows. If you encounter an error unzipping the samples due to the maximum file length being exceeded please copy the samples zip file to a different location with a shorter path.

Type changes

Please refer to Type Changes between ArcGIS 10.4 and 10.5 for the full list.