Skip to content

alanprot/aerospike-client-csharp

 
 

Repository files navigation

Aerospike C# Client Package

Aerospike C# client. This package contains full source code for:

  • Aerospike.sln
    C# library and demonstration programs with full functionality. Supported compile targets are AnyCPU, x64 (64-bit) and x86 (32-bit). The projects are:

    • AerospikeClient
      C# client library.
    • AerospikeDemo
      C# demonstration program for examples and benchmarks.
    • AerospikeTest
      C# client unit tests.
    • AerospikeAdmin
      Aerospike user administration. This application is only valid for enterprise servers that are configured to require user authentication.

    Note: The old unmanaged LuaInterface Lua interpreter (written in C) has been replaced with a fully managed NeoLua Lua interpreter (written in C#) in the client's aggregation engine.

    All compile targets are now supported. Therefore, the AerospikeLite solution has been deleted because it is no longer necessary.

The solution supports the following configurations:

  • Debug
  • Release
  • Debug IIS : Same as Debug, but store reusable buffers in HttpContext.Current.Items.
  • Release IIS : Same as Release, but store reusable buffers in HttpContext.Current.Items.

Prerequisites

  • Windows 7/Windows Server 2008 or greater, preferably 64 bit.
  • Visual Studio 2010 or greater, preferably 64 bit. Visual C# 2010 Express or greater will also work.
  • .NET 4.0 or greater. Visual Studio 2010 will install .NET 4.0 by default.

Build Instructions

  • Double click on Aerospike.sln. The solution will be opened in Visual Studio.
  • Click menu Build -> Configuration Manager.
  • Click desired solution configuration and platform.
  • Click Close.
  • Click Build -> Build Solution

Demonstration Instructions

  • Ensure Aerospike server has been installed and is operational.
  • Open "Aerospike.sln" in Visual Studio.
  • Press F5 to run demonstration program.
  • Enter server hostname/port of the Aerospike server.
  • Enter server's namespace and set name if they are different from the default.
  • Click on an example (i.e. ServerInfo). The example source code will be displayed.
  • Press "Start" button.

The console window will display the log results of the example. Long running examples can be stopped with "Stop" button.

About

Aerospike C# Client Library

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 98.5%
  • Lua 1.5%