Skytable.Client
0.2.0
See the version list below for details.
dotnet add package Skytable.Client --version 0.2.0
NuGet\Install-Package Skytable.Client -Version 0.2.0
<PackageReference Include="Skytable.Client" Version="0.2.0" />
paket add Skytable.Client --version 0.2.0
#r "nuget: Skytable.Client, 0.2.0"
// Install Skytable.Client as a Cake Addin #addin nuget:?package=Skytable.Client&version=0.2.0 // Install Skytable.Client as a Cake Tool #tool nuget:?package=Skytable.Client&version=0.2.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).
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 setPerson = new Person();
setPerson.Name = "John Doe";
setPerson.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`.
// Response is a SkyResult<Response> which indicates the result of the action.
var setResponse = connection.Set("P", setPerson);
// Contains a SkyResult<Person> deserialized from the JSON string retrieved with the Key `P`.
var getResponse = 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
more details on how to use this library.
Product | Versions 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. |
-
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.