Viren.Execution
1.1.5
.NET 6.0
This package targets .NET 6.0. The package is compatible with this framework or higher.
.NET Standard 1.3
This package targets .NET Standard 1.3. The package is compatible with this framework or higher.
dotnet add package Viren.Execution --version 1.1.5
NuGet\Install-Package Viren.Execution -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" 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 --version 1.1.5
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Viren.Execution, 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 as a Cake Addin #addin nuget:?package=Viren.Execution&version=1.1.5 // Install Viren.Execution as a Cake Tool #tool nuget:?package=Viren.Execution&version=1.1.5
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Viren.NET
.NET client for the Viren API
Packages
Package | Version |
---|---|
Viren.Core | |
Viren.Execution | |
Viren.Execution.Extensions.DependencyInjection |
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 | Versions 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 | netcoreapp1.0 was computed. netcoreapp1.1 was computed. netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard1.3 is compatible. netstandard1.4 was computed. netstandard1.5 was computed. netstandard1.6 was computed. netstandard2.0 is compatible. netstandard2.1 is compatible. |
.NET Framework | net46 was computed. 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 | tizen30 was computed. tizen40 was computed. tizen60 was computed. |
Universal Windows Platform | uap was computed. uap10.0 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.
-
.NETStandard 1.3
- NETStandard.Library (>= 1.6.1)
- Viren.Core (>= 1.1.5)
-
.NETStandard 2.0
- Viren.Core (>= 1.1.5)
-
.NETStandard 2.1
- Viren.Core (>= 1.1.5)
-
net6.0
- Viren.Core (>= 1.1.5)
-
net7.0
- Viren.Core (>= 1.1.5)
-
net8.0
- Viren.Core (>= 1.1.5)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Viren.Execution:
Package | Downloads |
---|---|
Viren.Execution.Extensions.DependencyInjection
.NET dependency injection extensions for the Viren Execution API |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated | |
---|---|---|---|
1.1.5 | 227 | 10/3/2024 | |
1.1.4 | 111 | 10/3/2024 | |
1.1.3 | 1,001 | 7/6/2023 | |
1.1.2 | 926 | 5/24/2023 | |
1.1.1 | 897 | 5/10/2023 | |
1.1.0 | 1,506 | 5/5/2023 | |
1.1.0-rc.1 | 87 | 5/3/2023 | |
1.0.5 | 4,620 | 12/10/2021 | |
1.0.4 | 1,277 | 12/10/2021 | |
1.0.3 | 5,568 | 2/24/2020 | |
1.0.2 | 1,427 | 11/19/2019 | |
1.0.1 | 1,182 | 11/8/2019 | |
1.0.0 | 1,206 | 9/30/2019 | |
0.13.0 | 2,456 | 9/4/2019 | |
0.12.2 | 1,284 | 8/2/2019 | |
0.12.1 | 1,259 | 7/31/2019 | |
0.12.0 | 1,271 | 7/23/2019 | |
0.11.0 | 1,731 | 7/5/2019 | |
0.10.0 | 2,327 | 6/4/2019 | |
0.9.0 | 1,400 | 6/3/2019 | |
0.9.0-alpha.3 | 339 | 5/31/2019 | |
0.9.0-alpha.2 | 313 | 5/31/2019 | |
0.9.0-alpha.1 | 309 | 5/31/2019 | |
0.8.2 | 1,247 | 5/17/2019 | |
0.8.1 | 1,277 | 5/15/2019 | |
0.8.0 | 1,226 | 5/15/2019 | |
0.7.4 | 1,260 | 5/10/2019 | |
0.7.3 | 1,223 | 5/10/2019 | |
0.7.2 | 1,273 | 4/29/2019 | |
0.7.1 | 1,322 | 3/11/2019 | |
0.7.0 | 1,310 | 3/11/2019 | |
0.6.1 | 1,245 | 2/21/2019 | |
0.6.0 | 1,277 | 2/20/2019 | |
0.5.7 | 1,396 | 2/7/2019 | |
0.5.6 | 1,341 | 1/25/2019 | |
0.5.5 | 1,255 | 1/25/2019 | |
0.5.4 | 1,331 | 1/16/2019 | |
0.5.3 | 1,361 | 1/16/2019 | |
0.5.2 | 1,363 | 1/3/2019 | |
0.5.1 | 1,345 | 12/21/2018 | |
0.4.0 | 1,407 | 12/11/2018 | |
0.3.0 | 1,376 | 12/5/2018 | |
0.2.0 | 1,847 | 11/5/2018 | |
0.2.0-rc.1 | 456 | 10/31/2018 | |
0.0.1 | 1,532 | 10/24/2018 |