4 min

LINQ and ArcObjects

Explores using LINQ with ArcObjects by exposing ArcGIS features as IEnumerable<IFeature>, including deferred execution, feature cursors, recycling considerations, custom enumerators, unit testing, and performance trade-offs.

Development
2 min

"Failure has occurred while loading a type."

Troubleshooting the .NET error 'Failure has occurred while loading a type' in a COM+ assembly, tracing it to stale registry permissions and resolving it by removing the problematic CLSID keys and running Visual Studio with administrative privileges.

Development
5 min

NuGet-Package-Management mit ArcObjects

NuGet als Paketverwaltung für ArcObjects-Bibliotheken: Drittbibliotheken versionieren, über eigene Paketquellen verteilen und Referenzen in Visual-Studio-Projekten zentral und reproduzierbar aktualisieren.

Development
4 min

Whitepaper “Aufbau eines pragmatisch smarten DevTree“

Ein pragmatischer DevTree bündelt Sourcecode, Bibliotheken, Build-Tools und weitere Entwicklungsartefakte im Versions-Repository, um reproduzierbare Builds, Continuous Integration und eine effiziente Zusammenarbeit zu ermöglichen.

Development
2 min

Experiences with the new Add-In concept of ArcGIS 10

Notes on ArcGIS Add-In limitations and packaging, including component namespaces, adding unreferenced assemblies as AddInContent, PDB handling, and extending the table context menu with buttons.

Development
3 min

Verwenden von partiellen Klassen für COM-Belange

Wie sich COM-Belange in ArcObjects mit partiellen C#-Klassen, VsCommands und ReSharper sauberer separieren lassen und warum dies eine bessere Strukturierung als #region ermöglicht.

Development
1 min

Caching of toolbar names in ArcMap

Why ArcMap toolbar names can remain visible after GUI changes due to the CommandBarNameCache registry cache, even when the toolbar constructor is never called.

ArcGIS
1 min

Casing of COM-Interop registered components

Why renaming COM-Interop components can break deployment when WiX registry entries generated by Heat still contain the old component name, even though development builds work correctly.

Development
2 min

F# and ArcObjects, Part 3

Using F# sequences, pipelines, and Seq.fold with ArcObjects to iterate over features and calculate the combined bounding box of an ArcGIS feature class.

Development
1 min

F# and ArcObjects, Part 2

How to iterate through all features of an ArcObjects feature class in F# by wrapping an IFeatureCursor in an F# sequence and processing each feature.

Development
1 min

F# and ArcObjects, Part 1

First steps using F# with Esri ArcObjects: loading ArcGIS assemblies, initializing a license, connecting to an SDE workspace, and accessing a feature.

Development
1 min

Casting Anti-Pattern

C#-Tipps für ArcObjects: unnötige doppelte Casts mit is und explizitem Cast vermeiden sowie Next()-Schleifen kompakter und verständlicher formulieren.

Development
1 min

Catching COM-Exceptions from ArcObjects

How to catch COMException errors from the ArcObjects library in C#, inspect their error codes, and identify specific ArcObjects error constants.

Development