Viren.Execution.Extensions.DependencyInjection 1.1.5

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

// Install Viren.Execution.Extensions.DependencyInjection as a Cake Tool
#tool nuget:?package=Viren.Execution.Extensions.DependencyInjection&version=1.1.5                

Build status

Viren.NET

.NET client for the Viren API

Packages

Package Version
Viren.Core NuGet version
Viren.Execution NuGet version
Viren.Execution.Extensions.DependencyInjection NuGet version

Examples

Viren namespaces and alias

using Viren.Execution;
using Environment = Viren.Core.Enums.Environment;

Creating a client

var clientSecret = "";
var environment = Environment.Production;
var httpClient = VirenHttpClientFactory.Create(clientSecret, environment);
var executionClient = new ExecutionClient(httpClient);

Execute calculation

var request = new ExecuteCalculationRequest()
{
    Project = "Project",
    Model = "Model",
    Version = 1,
    Revision = null,
    Root = new Dictionary<string, object>
    {
        { "Input", 5 }
    },
    EntryPoint = "RootBlock",

    // Optionally specify an identifier to mark multiple calls as part of a single user session
    ClientSessionId = "my-session-identifier"
};
var calculation = client.Calculation.Execute(request);
calculation.Wait();
return calculation.Result.Result;

Get tables from model

var request = new GetLookupTablesRequest()
{
    Project = "Project",
    Model = "Model",
    Version = 1,
    Revision = null,
    GlobalIds = new []{"CarTable", "WageTable"}
};
var tables = client.Model.GetTables(request);
tables.Wait();
return tables.Result.Result;
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  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 is compatible.  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 is compatible.  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 is compatible. 
.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.1.5 85 10/3/2024
1.1.4 78 10/3/2024
1.1.3 344 7/6/2023
1.1.2 450 5/24/2023
1.1.1 368 5/10/2023
1.1.0 973 5/5/2023
1.1.0-rc.1 83 5/3/2023
1.0.5 3,029 12/10/2021 1.0.5 is deprecated.
1.0.4 328 12/10/2021 1.0.4 is deprecated.
1.0.3 4,267 2/24/2020 1.0.3 is deprecated.
1.0.2 719 11/19/2019 1.0.2 is deprecated.
1.0.1 528 11/8/2019 1.0.1 is deprecated.
1.0.0 604 9/30/2019 1.0.0 is deprecated.
0.13.0 1,246 9/4/2019 0.13.0 is deprecated.
0.12.2 607 8/2/2019 0.12.2 is deprecated.
0.12.1 617 7/31/2019 0.12.1 is deprecated.
0.12.0 593 7/23/2019 0.12.0 is deprecated.
0.11.0 1,104 7/5/2019 0.11.0 is deprecated.
0.10.0 1,325 6/4/2019 0.10.0 is deprecated.
0.9.0 767 6/3/2019 0.9.0 is deprecated.
0.9.0-alpha.3 337 5/31/2019 0.9.0-alpha.3 is deprecated.
0.9.0-alpha.2 314 5/31/2019 0.9.0-alpha.2 is deprecated.
0.9.0-alpha.1 314 5/31/2019 0.9.0-alpha.1 is deprecated.
0.8.2 636 5/17/2019 0.8.2 is deprecated.
0.8.1 594 5/15/2019 0.8.1 is deprecated.
0.8.0 592 5/15/2019 0.8.0 is deprecated.
0.7.4 617 5/10/2019 0.7.4 is deprecated.
0.7.3 616 5/10/2019 0.7.3 is deprecated.
0.7.2 634 4/29/2019 0.7.2 is deprecated.
0.7.1 651 3/11/2019 0.7.1 is deprecated.
0.7.0 630 3/11/2019 0.7.0 is deprecated.
0.6.1 638 2/21/2019 0.6.1 is deprecated.
0.6.0 681 2/20/2019 0.6.0 is deprecated.
0.5.7 724 2/7/2019 0.5.7 is deprecated.
0.5.6 668 1/25/2019 0.5.6 is deprecated.
0.5.5 663 1/25/2019 0.5.5 is deprecated.
0.5.4 769 1/16/2019 0.5.4 is deprecated.
0.5.3 757 1/16/2019 0.5.3 is deprecated.
0.5.2 744 1/3/2019 0.5.2 is deprecated.
0.5.1 684 12/21/2018 0.5.1 is deprecated.
0.4.0 700 12/11/2018 0.4.0 is deprecated.
0.3.0 729 12/5/2018 0.3.0 is deprecated.
0.2.0 1,219 11/5/2018 0.2.0 is deprecated.
0.2.0-rc.1 441 10/31/2018 0.2.0-rc.1 is deprecated.