Skip to content

Design Considerations

.NET Version

When using the .NET framework, the HCC2 is optimized to run with a .NET 8 base layer. This layer can be used for each container requiring it, negating the need to deploy the entire framework for each container. Therefore, Sensia strongly recommends using .NET 8 as the target framework for your applications, unless you require a feature available only in more recent .NET releases.

Docker Image Selection

Sensia has produced images for Python and C# applications that can be deployed by the docker-compose.yml.

NOTE:- At the time of writing, these images include the .NET 8 framework.

Language Container Image
Python qratehcc2sdk.azurecr.io/python:3.12-slim-2024-04-19-debugprodbuild
C# qratehcc2sdk.azurecr.io/dotnet-sdk:8.0-2024-04-03-build

Applications can be written in many languages. Choose one that you have experience with, ensuring it is compatible with the HCC2 to interact with data (via Modbus). To reduce storage overhead, use one of the preferred base images.

Programming Techniques

The HCC2, although powerful, has finite resources. Adhere to good programming practices, including:

  • Careful management of memory and CPU usage
  • Avoidance of "busy loops"
  • Cautious use of flash storage from both a size perspective and rate of update

Refer to the Best Practices section for further advice and recommendations.