ServiceResolver.Ioc
2.9.3
dotnet add package ServiceResolver.Ioc --version 2.9.3
NuGet\Install-Package ServiceResolver.Ioc -Version 2.9.3
<PackageReference Include="ServiceResolver.Ioc" Version="2.9.3" />
<PackageVersion Include="ServiceResolver.Ioc" Version="2.9.3" />
<PackageReference Include="ServiceResolver.Ioc" />
paket add ServiceResolver.Ioc --version 2.9.3
#r "nuget: ServiceResolver.Ioc, 2.9.3"
#:package ServiceResolver.Ioc@2.9.3
#addin nuget:?package=ServiceResolver.Ioc&version=2.9.3
#tool nuget:?package=ServiceResolver.Ioc&version=2.9.3
ServiceResolver.Ioc is a lightweight, engine-agnostic abstraction for dependency injection: one API to register and resolve services, backed by a pluggable DI engine of your choice.
- Engine-agnostic — code against
IServiceRegister/IGenericServiceProvider, swap the underlying container without touching your registrations. - Strict by default — a single public constructor, no silent fallback to optional parameters or empty collections, no overriding an existing registration. Configuration mistakes surface immediately instead of being hidden.
- Broad framework support — targets
netstandard2.1and up, from legacy runtimes through the latest .NET release.
This package only defines the abstraction. Install an engine implementation to actually use it:
Getting started
using ServiceResolver.Ioc;
// 'provider' is created by the engine package you install (see above);
// its construction is engine-specific and documented in that package's readme.
IServiceRegisterProvider provider = ...;
provider.Register<IGreeter, ConsoleGreeter>();
var greeter = provider.GetService<IGreeter>();
Main types
IServiceRegister— registers services, decorators, initializers and modules.IGenericServiceProvider— resolves services and manages scopes.IServiceRegisterProvider— combines both, plus module discovery and container diagnostics (Verify()).LifetimeScope—Transient,Scoped,Singleton.
For the full guide (conditional registrations, decorators, modules, lazy/resolver registrations, ASP.NET Core / Generic Host integration) see the documentation.
| 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 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 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 is compatible. 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. |
| .NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.1 is compatible. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.1
- No dependencies.
-
net10.0
- No dependencies.
-
net6.0
- No dependencies.
-
net8.0
- No dependencies.
-
net9.0
- No dependencies.
NuGet packages (3)
Showing the top 3 NuGet packages that depend on ServiceResolver.Ioc:
| Package | Downloads |
|---|---|
|
ServiceResolver.Ioc.SimpleInjector
ServiceResolver.Ioc.SimpleInjector is the implementation of ServiceResolver.Ioc framework, which uses SimpleInjector as underlying injection engine. |
|
|
ServiceResolver.GenericHost
ServiceResolver.GenericHost is an abstract library for .NET generic host, using ServiceResolver.Ioc integration. |
|
|
ServiceResolver.Ioc.DryIoc
ServiceResolver.Ioc.DryIoc is the implementation of ServiceResolver.Ioc framework, which uses DryIoc as underlying injection engine. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2.9.3 | 46 | 8/20/2026 |
| 2.9.2 | 55 | 8/20/2026 |
| 2.9.1 | 2,338 | 12/1/2025 |
| 2.8.1 | 892 | 8/6/2025 |
| 2.7.1 | 314 | 8/2/2025 |
| 2.6.1 | 2,097 | 3/4/2025 |
| 2.6.1-rc2 | 315 | 2/27/2025 |
| 2.6.1-rc1 | 303 | 2/27/2025 |
| 2.5.1 | 1,480 | 9/10/2024 |
| 2.4.1 | 492 | 9/9/2024 |
| 2.3.1 | 313 | 9/6/2024 |
| 2.2.1 | 1,368 | 4/5/2024 |
| 2.1.1 | 629 | 2/28/2024 |
| 1.7.1 | 502 | 2/8/2024 |
| 1.6.1 | 503 | 1/18/2024 |
| 1.5.1 | 331 | 1/9/2024 |
| 1.4.1 | 346 | 1/3/2024 |
| 1.3.1 | 757 | 11/15/2023 |
| 1.2.6 | 995 | 9/13/2023 |
| 1.2.5 | 1,130 | 4/7/2023 |