HarperDb_Net_Client 1.1.0

Suggested Alternatives

HarperDB.NET.Client 1.1.0

Additional Details

The package has been updated to a later version which can be accessed on
HarperDB.NET.Client/1.1.0

dotnet add package HarperDb_Net_Client --version 1.1.0
NuGet\Install-Package HarperDb_Net_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.
<PackageReference Include="HarperDb_Net_Client" Version="1.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add HarperDb_Net_Client --version 1.1.0
#r "nuget: HarperDb_Net_Client, 1.1.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 HarperDb_Net_Client as a Cake Addin
#addin nuget:?package=HarperDb_Net_Client&version=1.1.0

// Install HarperDb_Net_Client as a Cake Tool
#tool nuget:?package=HarperDb_Net_Client&version=1.1.0

Source Code: https://github.com/rajat-srivas/HarperDbClient_DotNetCore

HarperDbClient_DotNetCore

<h3> A Dot Net Core console app which allows performing CRUD operations to the Harper DB 🚀 🚀 <h3>

  • Add the package or the project to your existing solution

    • This exposes the HarperClient class

    • This has two constructors ⇒ One with Table & One without a table name

    • In case you already have the table, use the ctor with the table name, else use the one with basic configuration and create the table using the method exposed

    • Schema and other configuration can be passed to this constructor via the HarperDbConfiguration object in the constructor

    • These are the operations supported as of now

      • CreateSchema
      • CreateTable
      • CreateRecord
      • CreateBulkRecord
      • GetById
      • ExecuteQuery
      • UpdateRecord
  • Following are the methods supporting the above operations

    * IRestResponse CreateRecord<T>(T itemToCreate)
    * IRestResponse CreateBulkRecord<T>(string csvFilePath
    * IRestResponse GetById(string id)
    * IRestResponse ExecuteQuery(string sqlQuery)
    * IRestResponse UpdateRecord<T>(T itemToUpdate)
    * IRestResponse CreateSchema(string schema)
    * IRestResponse CreateTable(string table, string schema, string hashAttribute = "id")
    
  • Use the HarperDbResponse.cs to cast the response into JSON in your application

    • JsonConvert.DeserializeObject<HarperNetClient.models.Content>(response.Content).Message;

Note: As of 17 June 2021, this is the first version. Some bugs might be expected. Feel free to report or help. I Will try and update more operations and configure the app for more scalability

You can refer to the repo for a sample client app ⇒ https://github.com/rajat-srivas/HarperDB_Crud_With_DotNetCoreClient

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  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. 
.NET Core netcoreapp3.1 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
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 1,398 6/25/2021
1.0.0 334 6/23/2021