Aleator.DependencyInjection
0.4.1
See the version list below for details.
dotnet add package Aleator.DependencyInjection --version 0.4.1
NuGet\Install-Package Aleator.DependencyInjection -Version 0.4.1
<PackageReference Include="Aleator.DependencyInjection" Version="0.4.1" />
<PackageVersion Include="Aleator.DependencyInjection" Version="0.4.1" />
<PackageReference Include="Aleator.DependencyInjection" />
paket add Aleator.DependencyInjection --version 0.4.1
#r "nuget: Aleator.DependencyInjection, 0.4.1"
#:package Aleator.DependencyInjection@0.4.1
#addin nuget:?package=Aleator.DependencyInjection&version=0.4.1
#tool nuget:?package=Aleator.DependencyInjection&version=0.4.1
Aleator.DependencyInjection
ASP.NET Core / generic-host integration for Aleator, the C# port of the Figaro probabilistic programming library.
builder.Services.AddAleator(options => options.MasterSeed = 2026)
.AddInferenceEngine<RiskRequest, RiskResponse>((universe, request) =>
{
// build the model in the fresh universe, observe request fields, run an engine
return new RiskResponse(...);
});
AddAleator()registersIUniverseFactory(fresh, deterministically seededUniverseper call) andAleatorOptions.AddInferenceEngine<TIn,TOut>(...)exposes a model + inference delegate as a thread-safeIInferenceEngine<TIn,TOut>for controllers and background services.- Pairs with Aleator.MLNet for
PredictionEngine-style scoring overIDataView.
The package depends on Aleator.Core; its only external dependency is
Microsoft.Extensions.DependencyInjection.Abstractions. It deliberately does not reference
Aleator.Library or Aleator.Algorithms: application delegates choose and compose those layers.
Quickstart: Aleator in ASP.NET Core.
Questions, bug reports and feedback: contact the maintainers through nuget.org. The source repository is
private, so there is no public issue tracker yet. Report a suspected vulnerability the same way, with SECURITY: at the
start of the subject, and do not disclose it publicly before it is fixed.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | 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. 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 is compatible. 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. |
-
net10.0
- Aleator.Core (>= 0.4.1)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.15)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.15)
- System.Numerics.Tensors (>= 10.0.15)
-
net8.0
- Aleator.Core (>= 0.4.1)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.15)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.15)
- System.Diagnostics.DiagnosticSource (>= 10.0.15)
- System.Numerics.Tensors (>= 10.0.15)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Aleator.DependencyInjection:
| Package | Downloads |
|---|---|
|
Aleator.MLNet
ML.NET adapter for Aleator — exposes probabilistic-model inference as an ML.NET CustomMapping transform and a prediction-engine facade, so ASP.NET Core teams consume Aleator posteriors through their existing ML.NET / DI surface. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.5.1 | 108 | 11/21/2026 |
| 0.4.1 | 130 | 11/12/2026 |
| 0.3.0-preview.1 | 140 | 9/6/2026 |