Skip to main content

.NET libraries

Last updated: 19/02/2025

These page describes how to write .NET libraries for ArupCompute, snippets will be in C# but the same concepts can be translated to VB.NET.

There are two ways to create and publish your .NET libraries to ArupCompute:

  1. RECOMMENDED Through one of our Template Repos which simplifies the process of creation and deployment of a new ArupCompute library
  2. Setting up the code structure yourself and uploading via the ArupCompute website
IMPORTANT

Before starting a new library from scratch consider instead contributing to an existing one.

For example if you want to create engineering calculations that also have line-by-line outputs contribute to DesignCheck instead of starting a new library.

Sample library

Code written for upload to ArupCompute is just normal C# code with the following requirements:

  • Interfaces exposed to ArupCompute are pure functions
  • Additional meta-data to describe these functions e.g. details about the inputs / outputs

You can see the code of a sample library on GitHub that showcases most of the available ArupCompute features.

You can also see a live version of the ArupCompute library produced by this code.