Geode Native .NET Examples

Prerequisites

Examples

Building the Examples

  1. Copy the examples directory from the native client installation folder to a folder in your workspace.

  2. Use cmake to generate the .sln and .vcxproj files for the examples:

    cd workspace\examples\dotnet
    mkdir build
    cd build
    cmake .. -G"Visual Studio 14 2015 Win64" -DGeodeNative_ROOT="<NC-install-root-dir>"
    

The result is a Visual Studio solution for the .NET examples.

  1. Open the solution file, examples.sln, in Visual Studio 2015 or newer and build all projects.

Running the Examples

To run the examples,

  1. Decide which example to try first. Follow directions in the README file in the source directory for that example to start the server and create a region.

  2. Assuming you are still in Visual Studio, select the desired example as your StartUp project and execute it.

The example's README file describes the expected output.