net-questdb-client 1.1.0

.NET Standard 2.1
NuGet\Install-Package net-questdb-client -Version 1.1.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.
dotnet add package net-questdb-client --version 1.1.0
<PackageReference Include="net-questdb-client" Version="1.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add net-questdb-client --version 1.1.0
#r "nuget: net-questdb-client, 1.1.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install net-questdb-client as a Cake Addin
#addin nuget:?package=net-questdb-client&version=1.1.0

// Install net-questdb-client as a Cake Tool
#tool nuget:?package=net-questdb-client&version=1.1.0

net-questdb-client

Dotnet QuestDB ILP TCP client

  • Basic usage
using var ls = await LineTcpSender.ConnectAsync("localhost", 9009, tlsMode: TlsMode.Disable);
ls.Table("metric_name")
    .Symbol("Symbol", "value")
    .Column("number", 10)
    .Column("double", 12.23)
    .Column("string", "born to shine")
    .At(new DateTime(2021, 11, 25, 0, 46, 26));
await ls.SendAsync();
  • Multi-line send
using var ls = await LineTcpSender.ConnectAsync("localhost", 9009, tlsMode: TlsMode.Disable);
for(int i = 0; i < 1E6; i++) 
{
    ls.Table("metric_name")
        .Column("counter", i)
        .AtNow();
}
ls.Send();
  • Authenticated
 using var ls = await LineTcpSender.ConnectAsync("localhost", 9009);
 await ls.Authenticate("admin", "NgdiOWDoQNUP18WOnb1xkkEG5TzPYMda5SiUOvT1K0U=");
 ls.Table("metric_name")
    .Column("counter", i)
    .AtNow();
await ls.SendAsync();        
  • Fixed IO Buffer size
 using var ls = await LineTcpSender.ConnectAsync("localhost", 9009, bufferOverflowHandling: BufferOverflowHandling.SendImmediately);
 await ls.Authenticate("admin", "NgdiOWDoQNUP18WOnb1xkkEG5TzPYMda5SiUOvT1K0U=");
 ls.Table("metric_name")
    .Column("counter", i)
    .AtNow();
await ls.SendAsync();        
Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
.NET Core netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.1
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

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
1.1.0 669 6/14/2022
1.0.0 3,956 11/25/2021