Install the Aerospike client
For the complete documentation index see: llms.txt
All documentation pages available in markdown.
Prerequisites
- .NET 8+
- [Optional] Visual Studio 2022+
NuGet install
The compiled C# client library is published on NuGet as Aerospike.Client. This guide uses 8.5.0 in examples; pick another version on NuGet if needed.
Package Manager Console
Visual Studio Package Manager Console:
PM> Install-Package Aerospike.Client.NET CLI
dotnet add package Aerospike.ClientThe package adds a reference to AerospikeClient and pulls in dependencies such as NeoLua, which the client uses for client-side stream UDF processing in aggregations. You do not need a separate NeoLua reference in typical applications.
Source Code Package
The C# client source code package is available from:
-
Aerospike Website. Download package and unzip files.
-
GitHub. Clone source code repository.
The solution includes:
- Aerospike.sln — Visual Studio solution.
- AerospikeClient — C# client library (
Aerospike.Clienton NuGet). - AerospikeTest — Unit tests (
dotnet test AerospikeTest --settings .runsettingsagainst a running server). - AerospikeBenchmarks — Load generator and benchmarks CLI. See Benchmarks.
- AerospikeExample — Runnable console examples (
dotnet run --project AerospikeExample -- --settings .runsettings all).
Build from the repository root with dotnet build Aerospike.sln --configuration Release.