tree: 6c97e550ebbfd663c47d4443586db518abaf687c [path history] [tgz]
  1. CMakeLists.txt
  2. Order.cs
  3. Program.cs
  4. README.md
  5. startserver.ps1
  6. stopserver.ps1
examples/dotnet/RemoteQueryCs/README.md

# PdxAutoSerializer Example This is a simple example showing how to register for auto-serialization of custom objects using the ReflectionBasedAutoSerializer class.

Prerequisites

Running

  • Start Geode Server and create region.

    gfsh>start locator --name=locator
    gfsh>start server --name=server
    gfsh>create region --name=example_orderobject --type=PARTITION
    
  • Execute PdxAutoSerializer.exe.

    output:

    Registering for reflection-based auto serialization
    Storing order object in the region
    order to put is Order: [65, Vox AC30, 11]
    Successfully put order, getting now...
    Order key: 65 = Order: [65, Vox AC30, 11]