Giter Site home page Giter Site logo

uiahhh / sdk-csharp Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kuzzleio/sdk-csharp

0.0 0.0 0.0 2.08 MB

Official C# SDK for Kuzzle

Home Page: http://docs.kuzzle.io/sdk/csharp/2

License: Apache License 2.0

C# 98.92% Shell 0.58% Dockerfile 0.50%

sdk-csharp's Introduction

Build Status codecov.io

About

Kuzzle C# SDK

This is the official C# SDK for the free and open-source backend Kuzzle. It provides a way to dial with a Kuzzle server from C# applications.

Asynchronous

All SDK methods are asynchronous using C# Task.
For example, for the action create of the controller collection (collection:create), the API result contains { "acknowledged": true } . This is therefore what will be returned inside a JObject by the SDK method if successful.

๐Ÿ“š Documentation

Kuzzle

Kuzzle is an open-source backend that includes a scalable server, a multiprotocol API, an administration console and a set of plugins that provide advanced functionalities like real-time pub/sub, blazing fast search and geofencing.

Get trained by the creators of Kuzzle โšก

Train yourself and your teams to use Kuzzle to maximize its potential and accelerate the development of your projects.
Our teams will be able to meet your needs in terms of expertise and multi-technology support for IoT, mobile/web, backend/frontend, devops.
๐Ÿ‘‰ Get a quote

Usage

Compatibility matrix

Kuzzle Version SDK Version
1.x.x 1.x.x
2.x.x 2.x.x

Getting started ๐Ÿ‘‰

Installation

NuGet

The SDK is available on NuGet.

Example

using KuzzleSdk;
using KuzzleSdk.Protocol;

WebSocket socket = new WebSocket(new Uri("ws://kuzzle:7512"));
KuzzleSdk.Kuzzle kuzzle = new KuzzleSdk.Kuzzle(socket);

await kuzzle.ConnectAsync(CancellationToken.None);

Int64 now = await kuzzle.Server.NowAsync();
Console.WriteLine("Epoch-millis timestamp: " + now);

Compile & test

Preprequisites:

  • .NET Core SDK 2.1

Compile with the following command lines:

$ dotnet restore
$ dotnet build Kuzzle/Kuzzle.csproj -c Release

To start the unit tests using the command line:

$ dotnet test

monodevelop

If you're using monodevelop, you'll need at least mono 5.20+ (w/ msbuild 16+). Due to compatibility problems, you HAVE TO install .NET Core SDK 2.1, if you only have the 2.2 one, you won't be able to build the project with msbuild (which monodevelop uses).

sdk-csharp's People

Contributors

scottinet avatar aschen avatar jenow avatar alexandrebouthinon avatar xbill82 avatar yoann-abbes avatar njuelle avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.