Inkton.NesterWorks 1.4.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package Inkton.NesterWorks --version 1.4.0                
NuGet\Install-Package Inkton.NesterWorks -Version 1.4.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="Inkton.NesterWorks" Version="1.4.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Inkton.NesterWorks --version 1.4.0                
#r "nuget: Inkton.NesterWorks, 1.4.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 Inkton.NesterWorks as a Cake Addin
#addin nuget:?package=Inkton.NesterWorks&version=1.4.0

// Install Inkton.NesterWorks as a Cake Tool
#tool nuget:?package=Inkton.NesterWorks&version=1.4.0                

Introduction

NesterWorks is a library used by nest.yt apps to access nest.yt PaaS services.

Getting Started

1. Installation process

dotnet add package Inkton.NesterWorks
or Install-Package Inkton.NesterWorks

2. Software dependencies

The library depends on https://github.com/inkton/nest.model module.

3. Runtime information

eg. MySQL Connection Details

    Runtime runtime = new Runtime();
    services.AddDbContext<CafeContext>(options =>
       options.UseMySql(
            string.Format(@"Server={0};database={1};uid={2};pwd={3};",
                 runtime.MySQL.Host,
                 runtime.MySQL.Resource,
                 runtime.MySQL.User,                        
                 runtime.MySQL.Password)
    ));`   

eg. Queue Server

    Runtime runtime = new Runtime(QueueMode.Server);
    runtime.QueueSendType = "Order";    
    
    runtime.SendToNest(JsonConvert.SerializeObject(order), "stockallocator");

eg. Queue Client

        static object Parse(IDictionary<string, object> headers, string message)
        {
            if (headers != null && headers.ContainsKey("Type"))
            {
                switch(Encoding.Default.GetString(headers["Type"] as byte[]))
                {
                    case "Order":
                        return JsonConvert.DeserializeObject<Order>(message);                    
                }
            }

            return null;
        }
    Runtime runtime = new Runtime(QueueMode.Client);
    Runtime.ReceiveParser parsr = new Runtime.ReceiveParser(Parse);`   
    Order order = runtime.Receive(parsr) as Order;
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 netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos 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.6.10 832 8/4/2019
1.6.9 665 7/10/2019
1.6.8 678 6/24/2019
1.6.7 821 6/18/2019
1.6.6 900 3/9/2019
1.6.4 988 1/21/2019
1.6.3 1,019 12/13/2018
1.6.2 840 12/2/2018
1.6.1 1,011 11/18/2018
1.6.0 801 11/18/2018
1.5.6 918 10/3/2018
1.5.5 883 9/28/2018
1.5.4 1,130 9/12/2018
1.5.3 961 8/31/2018
1.5.2 965 8/23/2018
1.5.1 1,776 1/12/2018
1.5.0 1,074 1/11/2018
1.4.1 1,302 1/3/2018
1.4.0 1,087 1/3/2018
1.3.1 1,042 12/15/2017
1.3.0 1,261 8/22/2017
1.2.2 957 8/15/2017
1.2.1 936 8/10/2017
1.2.0 931 8/10/2017
1.1.0 1,060 8/9/2017
1.0.6 929 8/2/2017
1.0.5 955 8/2/2017
1.0.4 1,053 7/16/2017
1.0.3 966 7/16/2017
1.0.2 952 7/13/2017
1.0.1 1,027 7/5/2017
1.0.0 1,280 6/29/2017

1. changed logging time resolution to microseconds
     2. added queue queue clean up functions
     3. changed the queue get to do auto-ack
     4. added 'object type' in properties for queue routing
     5. runtime open modes relating to how queue is used