EBBuildClient 1.0.28

There is a newer version of this package available.
See the version list below for details.
dotnet add package EBBuildClient --version 1.0.28
                    
NuGet\Install-Package EBBuildClient -Version 1.0.28
                    
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="EBBuildClient" Version="1.0.28" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="EBBuildClient" Version="1.0.28" />
                    
Directory.Packages.props
<PackageReference Include="EBBuildClient" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add EBBuildClient --version 1.0.28
                    
#r "nuget: EBBuildClient, 1.0.28"
                    
#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.
#addin nuget:?package=EBBuildClient&version=1.0.28
                    
Install as a Cake Addin
#tool nuget:?package=EBBuildClient&version=1.0.28
                    
Install as a Cake Tool

N|Solid

EB Build API Client

The Official API Client for Blockchain-based Cloud Storage Services!

Build Status


Features


If your application requires cloud storage of unstructured JSON or key/value paired data, the EB Build client is an affordable and extremely fast alternative to any of the following solutions:

  1. Couchbase
  2. Redis
  3. DynamoDB
  4. MongoDB

Benefits


  • ✨Extremely affordable fixed fee pricing!
  • ✨Extremely secure blockchain encryption!
  • ✨Extremely fast event messaging!
  • ✨Extremely scalable with built-in cluster-wide auto-scaling!
  • ✨Extremely simple integration with dynamic environments!

Obtaining an API Key


The EB Build Client requires an API key before using. Obtaining an API key is extremely easy! Follow the next steps to obtain an API key.

  • Send an email with your company name to: keyrequest@everythingblockchain.io

Installation Steps


#1 Install this EBBuild Client nuget package to your Microsoft Visual Studio project.
#2 Add an appsettings.json file to project, if you don't already have an appsettings.json file added.
#3 Add the following values to the root of your appsettings.json file added to your project:
- "EbbuildApiBaseUri": "https://api.ebiblockchain.io/",
- "QueryChainToken": [enter the API key obtained supplied to you.],
- "QueryChainRoles": [enter user groups here.  For example you could enter: "Testers"],

How To's


#1 After installing the EBBuildClient nuget package, add the following to your code:
      using EBBuildClient.Core;
      
#2 Defiine a data type that you want to store and or retrieve from the EBBuild cloud storage services.
    public class SampleDataClass
    {
        public string ID {get;set;}
        public string Name {get; set;}
        public AddressClass Address1 {get; set;}
    }
    public class AddressClass
    {
        public string City {get; set;}
        public string State {get; set;}
        public string Zip {get; set;}
    }
    
    NOTE: If you require raw data, then use our internal RawDataType class type.
    NOTE: The RawDataType class has a single property called "RawData" which will contain your unstructured json payload.
    
    RawDataType rawData = await EBBuildAPIService.GetLedgerRecord<RawDataType>(EBBuildAPIServices);
    
#3 Set the following required parameters.
     Microsoft.Extensions.Configuration.IConfiguration configuration;
     string email = "a valid email address";
     string tenantID = "any unique string to identify your organization";
     string ledgerPreface = "any string to identify your ledger.  i.e.: prod, qa, dev, crypto, etc.";
     string ledgerName = "any name of your ledger where your data class will be stored.  i.e. payments";
    
#4 Create an instance of the EBBuildClient instance.
     var EBBuildAPIServices = new EBBuildAPIService(
     configuration, 
     email, 
     tenantID, 
     ledgerPreface,  
     ledgerName);
   
#5 After creating an instance of the EBBuild Client in step #4 you MUST call either of the two methods:
     NOTE: Blockchain ledgers can contain multiples data types.  
     NOTE: By defailt all blocks for all datat types can be returned.  
     NOTE: To filter by a specific data type you can specify the name of the blocks data type you want returned.
     
     string blockTypeName = "SampleDataClass";
     
     NOTE: This method is static.
   - SampleDataClass record = await EBBuildAPIService.GetLedgerRecord<SampleDataClass>(
      EBBuildAPIServices, 
      blockTypeName); 
     
     NOTE: After calling this method, the internal context need to save updates is set and can be retrieved by calling:
   - EBBuildAPIService.GetLedgerListResponseRecord();
    
     NOTE: If you want to retrieve multiple ledger block records, you must (first) define filter conditions.
     NOTE: This method is static.
   - List<string> ledgerFilterConditions = new List<string>() 
     { {"FirstName:EQ:Tom:AND"},
       {"Address1.State:IN:[New York;Phoenix;London;Miami;Berlin "} 
     };
   
    NOTE: Blockchain ledgers can contain multiples data types.  
    NOTE: By defailt all blocks for all datat types can be returned.  
    NOTE: To filter by a specific data type you can specify the name of the blocks data type you want returned.
     
    string blockTypeName = "SampleDataClass";
   
   - List<SampleDataClass> records = await EBBuildAPIService.GetLedgerRecords<SampleDataClass>(
     ledgerFilterConditions, 
     EBBuildAPIServices, 
     blockTypeName); 
     
     NOTE: After calling this method, the internal context need to save updates is set and can be retrieved by calling:
   - EBBuildAPIService.GetLedgerListResponseRecords();
    
#6. Once the internal context has been set, you can save updated blocks to the ledger by calling the following method:
     SampleDataClass dataContext = new SampleDataClass();
     NOTE: To enforce multi-factor authentication (MFA) you can set the enableMFA parameter.
     NOTE: When suspicious access to the ledger is detected on the write an email will be issued is MFA is set to true.
     
     bool enableMFA = true;   
     string blockTypeName = "SampleDataClass";
     
     NOTE: This method is static.
     
   - EBBuildAPIService.SaveDataToLedger(
      dataContext,
      EBBuildAPIServices,
      enableMFS,
      blockTypeName);

Adding Filter Conditions


Operation Description Example Notes
Regexp Regular expressions {LastName:REGEX:\b[L]\w+}
Or Logical OR {FirstName:EQ:Joe:OR},{LastName:EQ:Biden} Filter conditions combine multiple filter conditions by adding an optional "AND" "OR" boolean operator to the end of each filter.
Gt, Gte Greater than or equal. {Age:Gte:25}
Le, Lte Less than or less than or equal. {Age:Lte:25}
Between Between two values. {Age:BETWEEN:[10;41]}
Inq, Nin In or not inv an array of values. {City:Inq:[New York; Phoenix; London; Miami; Berlin]}
Neq Not equal. {LastName:Neq:”Miller”}
Like, Nlike Like or not like a value. {LastName:Like:”Miller”}
ILke, Nilike Case insensitive like and not like. {LastName:ILike:”Miller”}

Company Contact Information


Contact Email
Technical Support support@everythingblockchain.io
Sales sales@everythingblockchain.io
Partners partners@everythingblockchain.io
Marketing marketing@everythingblockchain.io
Investors invest@everythingblockchain.io
Press press@everythingblockchain.io

License


MIT- The API is and will always remain free! The data storage is based on a fixed fee. Contact EverythingBlockchain, Inc for details.

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
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.0.117 162 6/22/2024
1.0.116 139 5/29/2024
1.0.115 190 5/6/2024
1.0.114 177 4/16/2024
1.0.113 203 4/5/2024
1.0.112 415 2/21/2024
1.0.111 493 2/7/2024
1.0.110 536 2/4/2024
1.0.109 567 1/23/2024
1.0.108 799 12/20/2023
1.0.107 821 12/6/2023
1.0.106 827 12/5/2023
1.0.105 818 11/30/2023
1.0.104 803 11/30/2023
1.0.103 798 11/28/2023
1.0.102 821 11/28/2023
1.0.101 782 11/13/2023
1.0.100 794 11/13/2023
1.0.99 848 11/13/2023
1.0.98 786 11/10/2023
1.0.97 807 11/10/2023
1.0.96 798 11/9/2023
1.0.95 785 11/9/2023
1.0.94 806 11/9/2023
1.0.93 851 10/25/2023
1.0.92 823 10/23/2023
1.0.91 886 10/15/2023
1.0.90 825 10/11/2023
1.0.89 806 10/11/2023
1.0.88 836 10/10/2023
1.0.87 864 9/4/2023
1.0.86 972 8/15/2023
1.0.85 883 7/18/2023
1.0.84 894 7/6/2023
1.0.83 894 7/6/2023
1.0.82 908 7/1/2023
1.0.81 898 6/20/2023
1.0.80 880 5/12/2023
1.0.79 889 5/11/2023 1.0.79 is deprecated because it is no longer maintained.
1.0.78 921 5/4/2023 1.0.78 is deprecated because it is no longer maintained.
1.0.77 1,476 3/19/2023 1.0.77 is deprecated because it is no longer maintained.
1.0.76 1,007 3/15/2023 1.0.76 is deprecated because it is no longer maintained.
1.0.75 1,044 3/14/2023 1.0.75 is deprecated because it is no longer maintained.
1.0.74 1,074 3/14/2023 1.0.74 is deprecated because it is no longer maintained.
1.0.72 1,072 3/14/2023 1.0.72 is deprecated because it is no longer maintained.
1.0.71 1,083 3/10/2023 1.0.71 is deprecated because it is no longer maintained.
1.0.70 1,066 3/8/2023 1.0.70 is deprecated because it is no longer maintained.
1.0.69 1,091 3/3/2023 1.0.69 is deprecated because it is no longer maintained.
1.0.68 1,074 3/2/2023 1.0.68 is deprecated because it is no longer maintained.
1.0.67 1,057 3/2/2023 1.0.67 is deprecated because it is no longer maintained.
1.0.66 1,084 2/28/2023 1.0.66 is deprecated because it is no longer maintained.
1.0.65 1,109 2/21/2023 1.0.65 is deprecated because it is no longer maintained.
1.0.64 1,109 2/7/2023 1.0.64 is deprecated because it is no longer maintained.
1.0.63 1,080 2/7/2023 1.0.63 is deprecated because it is no longer maintained.
1.0.62 1,107 2/6/2023 1.0.62 is deprecated because it is no longer maintained.
1.0.61 1,119 2/3/2023 1.0.61 is deprecated because it is no longer maintained.
1.0.60 1,103 1/30/2023 1.0.60 is deprecated because it is no longer maintained.
1.0.59 1,151 1/29/2023 1.0.59 is deprecated because it is no longer maintained.
1.0.58 1,138 1/27/2023 1.0.58 is deprecated because it is no longer maintained.
1.0.57 1,110 1/27/2023 1.0.57 is deprecated because it is no longer maintained.
1.0.56 1,108 1/27/2023 1.0.56 is deprecated because it is no longer maintained.
1.0.55 1,157 1/27/2023 1.0.55 is deprecated because it is no longer maintained.
1.0.54 1,087 1/26/2023 1.0.54 is deprecated because it is no longer maintained.
1.0.53 1,115 1/26/2023 1.0.53 is deprecated because it is no longer maintained.
1.0.52 1,128 1/26/2023 1.0.52 is deprecated because it is no longer maintained.
1.0.51 1,142 1/26/2023 1.0.51 is deprecated because it is no longer maintained.
1.0.50 1,094 1/26/2023 1.0.50 is deprecated because it is no longer maintained.
1.0.49 1,104 1/26/2023 1.0.49 is deprecated because it is no longer maintained.
1.0.48 1,101 1/26/2023 1.0.48 is deprecated because it is no longer maintained.
1.0.47 1,139 1/25/2023 1.0.47 is deprecated because it is no longer maintained.
1.0.46 1,129 1/25/2023 1.0.46 is deprecated because it is no longer maintained.
1.0.45 1,142 1/25/2023 1.0.45 is deprecated because it is no longer maintained.
1.0.44 1,122 1/25/2023 1.0.44 is deprecated because it is no longer maintained.
1.0.43 1,126 1/24/2023 1.0.43 is deprecated because it is no longer maintained.
1.0.42 1,116 1/24/2023 1.0.42 is deprecated because it is no longer maintained.
1.0.41 1,131 1/24/2023 1.0.41 is deprecated because it is no longer maintained.
1.0.40 1,126 1/24/2023 1.0.40 is deprecated because it is no longer maintained.
1.0.39 1,132 1/24/2023 1.0.39 is deprecated because it is no longer maintained.
1.0.38 1,163 1/24/2023 1.0.38 is deprecated because it is no longer maintained.
1.0.37 1,160 1/23/2023 1.0.37 is deprecated because it is no longer maintained.
1.0.36 1,142 1/22/2023 1.0.36 is deprecated because it is no longer maintained.
1.0.35 1,144 1/22/2023 1.0.35 is deprecated because it is no longer maintained.
1.0.34 1,122 1/20/2023 1.0.34 is deprecated because it is no longer maintained.
1.0.33 1,152 1/20/2023 1.0.33 is deprecated because it is no longer maintained.
1.0.32 1,099 1/19/2023 1.0.32 is deprecated because it is no longer maintained.
1.0.31 1,298 1/19/2023 1.0.31 is deprecated because it is no longer maintained.
1.0.30 1,198 1/19/2023 1.0.30 is deprecated because it is no longer maintained.
1.0.29 1,133 1/19/2023 1.0.29 is deprecated because it is no longer maintained.
1.0.28 1,205 1/17/2023 1.0.28 is deprecated because it is no longer maintained.
1.0.27 1,222 1/17/2023 1.0.27 is deprecated because it is no longer maintained.
1.0.26 1,195 1/11/2023 1.0.26 is deprecated because it is no longer maintained.
1.0.25 1,234 12/9/2022 1.0.25 is deprecated because it is no longer maintained.
1.0.24 1,247 12/8/2022 1.0.24 is deprecated because it is no longer maintained.
1.0.23 1,171 12/8/2022 1.0.23 is deprecated because it is no longer maintained.
1.0.22 1,237 11/23/2022 1.0.22 is deprecated because it is no longer maintained.
1.0.21 1,204 11/23/2022 1.0.21 is deprecated because it is no longer maintained.
1.0.20 1,198 11/21/2022 1.0.20 is deprecated because it is no longer maintained.
1.0.18 1,128 11/21/2022 1.0.18 is deprecated because it is no longer maintained.
1.0.17 1,151 11/21/2022 1.0.17 is deprecated because it is no longer maintained.
1.0.16 1,165 11/18/2022 1.0.16 is deprecated because it is no longer maintained.
1.0.15 1,245 11/18/2022 1.0.15 is deprecated because it is no longer maintained.
1.0.14 1,286 11/18/2022 1.0.14 is deprecated because it is no longer maintained.
1.0.13 1,304 11/18/2022 1.0.13 is deprecated because it is no longer maintained.
1.0.9 2,906 11/18/2022 1.0.9 is deprecated because it is no longer maintained.
1.0.8 2,813 11/17/2022 1.0.8 is deprecated because it is no longer maintained.
1.0.7 2,820 11/17/2022 1.0.7 is deprecated because it is no longer maintained.
1.0.6 2,702 11/17/2022 1.0.6 is deprecated because it is no longer maintained.
1.0.5 2,793 11/17/2022 1.0.5 is deprecated because it is no longer maintained.
1.0.4 2,607 11/17/2022 1.0.4 is deprecated because it is no longer maintained.
1.0.3 2,778 11/17/2022 1.0.3 is deprecated because it is no longer maintained.
1.0.2 2,843 11/17/2022 1.0.2 is deprecated because it is no longer maintained.
1.0.1 2,748 11/17/2022 1.0.1 is deprecated because it is no longer maintained.
1.0.0 2,939 11/17/2022 1.0.0 is deprecated because it is no longer maintained.

EBBuild Client for .NetCore 6.0 and above