Skytable.Client 0.3.0

dotnet add package Skytable.Client --version 0.3.0
NuGet\Install-Package Skytable.Client -Version 0.3.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Skytable.Client" Version="0.3.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Skytable.Client --version 0.3.0
#r "nuget: Skytable.Client, 0.3.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Skytable.Client as a Cake Addin
#addin nuget:?package=Skytable.Client&version=0.3.0

// Install Skytable.Client as a Cake Tool
#tool nuget:?package=Skytable.Client&version=0.3.0

Skytable client for .NET

This library is a work in progress. Usable but not battle tested. Be wary of breaking changes.

Introduction

The .NET driver for Skytable is a client driver for the free and open source NoSQL database Skytable ported from the official Skytable client. First, go ahead and install Skytable by following the instructions here. This library supports all Skytable versions that work with the Skyhash 1.1 Protocol. This version of the library was tested with the latest Skytable release (release 0.7.1).

Using this library

Once you have Skytable installed and running, you're ready to try the example!

Example usage:

using System;
using Skytable.Client;

class Person : Skyhash
{
    public string Name { get; set; }
    public int Age { get; set; }
}

class Program
{
    static void Main(string[] args)
    {
        var person = new Person();
        person.Name = "John Doe";
        person.Age = 30;

        var connection = new Connection("127.0.0.1", 2003);
        connection.Connect();

        // Serializes and stores the Person as a JSON string in Key `P`.
        // Result is a SkyResult<Element> containing a ResponseCode which indicates the result of the action.
        var setResult = connection.Set("P", person);

        // Contains a SkyResult<Person> deserialized from the JSON string retrieved with the Key `P`.
        var getResult = connection.Get<Person>("P");
    }
}

Keep in mind that you can always set up your own custom queries to perform other queries than SET/GET, see the projects in Examples at GitHub for more details on how to use this library.

Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.
  • net5.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.3.0 359 11/11/2021
0.2.0 368 8/28/2021
0.1.0 277 8/9/2021