Rystem.DependencyInjection.Web 10.0.3

There is a newer version of this package available.
See the version list below for details.
dotnet add package Rystem.DependencyInjection.Web --version 10.0.3
                    
NuGet\Install-Package Rystem.DependencyInjection.Web -Version 10.0.3
                    
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="Rystem.DependencyInjection.Web" Version="10.0.3" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Rystem.DependencyInjection.Web" Version="10.0.3" />
                    
Directory.Packages.props
<PackageReference Include="Rystem.DependencyInjection.Web" />
                    
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 Rystem.DependencyInjection.Web --version 10.0.3
                    
#r "nuget: Rystem.DependencyInjection.Web, 10.0.3"
                    
#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.
#:package Rystem.DependencyInjection.Web@10.0.3
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Rystem.DependencyInjection.Web&version=10.0.3
                    
Install as a Cake Addin
#tool nuget:?package=Rystem.DependencyInjection.Web&version=10.0.3
                    
Install as a Cake Tool

What is Rystem?

Get Started with Runtime Dependency Injection

Adding runtime provider

 builder.Services.AddRuntimeServiceProvider();

and after the build use the runtime provider

var app = builder.Build();
app.UseRuntimeServiceProvider();

Add service at runtime

await RuntimeServiceProvider.GetServiceCollection()
       .AddSingleton<Service2>()
       .RebuildAsync();

Add service at runtime with lock

 await RuntimeServiceProvider
    .AddServicesToServiceCollectionWithLock(configureFurtherServices =>
    {
        configureFurtherServices.AddSingleton(service);
    })
.RebuildAsync();

Add fallback for Factory and automatic rebuild of service collection

In this example Factorized is a simple class with a few parameters.

services.AddFactory<Factorized>("1");
services.AddActionAsFallbackWithServiceCollectionRebuilding<Factorized>(async x =>
{
    //example of retrievieng something
    await Task.Delay(1); 
    //example of ServiceProvider usage during new service addition
    var singletonService = x.ServiceProvider.GetService<SingletonService>();
    if (singletonService != null)
    {
        //example of adding a new service as factory to the service collection. You need to pass a delegate.
        x.ServiceColletionBuilder = (serviceCollection => serviceCollection.AddFactory<Factorized>(x.Name));
    }
});
Product Compatible and additional computed target framework versions.
.NET 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Rystem.DependencyInjection.Web:

Package Downloads
Rystem.Test.XUnit

Rystem is a open-source framework to improve the System namespace in .Net

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
10.0.7 131 3/26/2026
10.0.6 269,646 3/3/2026
10.0.5 175 2/22/2026
10.0.4 199 2/9/2026
10.0.3 147,962 1/28/2026
10.0.1 209,112 11/12/2025
9.1.3 303 9/2/2025
9.1.2 764,517 5/29/2025
9.1.1 97,798 5/2/2025
9.0.32 186,741 4/15/2025
9.0.31 5,805 4/2/2025
9.0.30 88,847 3/26/2025
9.0.29 9,006 3/18/2025
9.0.28 235 3/17/2025
9.0.27 221 3/16/2025
9.0.26 258 3/13/2025
9.0.25 52,113 3/9/2025
9.0.23 212 3/9/2025
9.0.21 312 3/6/2025
9.0.20 19,563 3/6/2025
Loading failed