VOOZH about

URL: https://www.nuget.org/packages/Stashbox/

⇱ NuGet Gallery | Stashbox 5.20.0




👁 Image
Stashbox 5.20.0

dotnet add package Stashbox --version 5.20.0
 
 
NuGet\Install-Package Stashbox -Version 5.20.0
 
 
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="Stashbox" Version="5.20.0" />
 
 
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Stashbox" Version="5.20.0" />
 
Directory.Packages.props
<PackageReference Include="Stashbox" />
 
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 Stashbox --version 5.20.0
 
 
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Stashbox, 5.20.0"
 
 
#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 Stashbox@5.20.0
 
 
#: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=Stashbox&version=5.20.0
 
Install as a Cake Addin
#tool nuget:?package=Stashbox&version=5.20.0
 
Install as a Cake Tool
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Stashbox

👁 Appveyor Build Status
👁 GitHub Workflow Status
👁 NuGet Downloads
👁 Sonar Tests
👁 Sonar Coverage
👁 Sonar Quality Gate
👁 Sourcelink

Stashbox is a lightweight, fast, and portable dependency injection framework for .NET-based solutions. It encourages the building of loosely coupled applications and simplifies the construction of hierarchical object structures. It can be integrated easily with .NET Core, Generic Host, ASP.NET, Xamarin, and many other applications.

Github (stable) NuGet (stable) NuGet (pre-release)
👁 Github release
👁 NuGet Version
👁 Nuget pre-release

Core Attributes

  • 🚀 Fast, thread-safe, and lock-free operations.
  • ⚡️ Easy-to-use Fluent configuration API.
  • ♻️ Small memory footprint.
  • 🔄 Tracks the dependency tree for cycles.
  • 🚨 Detects and warns about misconfigurations.
  • 🔥 Gives fast feedback on registration/resolution issues.

Supported Platforms

  • .NET 5+
  • .NET Standard 2.0+
  • .NET Framework 4.5+
  • Mono
  • Universal Windows Platform
  • Xamarin (Android/iOS/Mac)
  • Unity

Contact & Support

  • Create an issue for bug reports and feature requests.
  • Start a discussion for your questions and ideas.
  • Add a ⭐️ to support the project!

Extensions

Benchmarks

<br>

Powered by Jetbrains' Open Source License

👁 Jetbrains

Product Versions Compatible and additional computed target framework versions.
.NET net5.0 net5.0 is compatible.  net5.0-windows net5.0-windows was computed.  net6.0 net6.0 is compatible.  net6.0-android net6.0-android was computed.  net6.0-ios net6.0-ios was computed.  net6.0-maccatalyst net6.0-maccatalyst was computed.  net6.0-macos net6.0-macos was computed.  net6.0-tvos net6.0-tvos was computed.  net6.0-windows net6.0-windows was computed.  net7.0 net7.0 is compatible.  net7.0-android net7.0-android was computed.  net7.0-ios net7.0-ios was computed.  net7.0-maccatalyst net7.0-maccatalyst was computed.  net7.0-macos net7.0-macos was computed.  net7.0-tvos net7.0-tvos was computed.  net7.0-windows net7.0-windows was computed.  net8.0 net8.0 is compatible.  net8.0-android net8.0-android was computed.  net8.0-browser net8.0-browser was computed.  net8.0-ios net8.0-ios was computed.  net8.0-maccatalyst net8.0-maccatalyst was computed.  net8.0-macos net8.0-macos was computed.  net8.0-tvos net8.0-tvos was computed.  net8.0-windows net8.0-windows was computed.  net9.0 net9.0 is compatible.  net9.0-android net9.0-android was computed.  net9.0-browser net9.0-browser was computed.  net9.0-ios net9.0-ios was computed.  net9.0-maccatalyst net9.0-maccatalyst was computed.  net9.0-macos net9.0-macos was computed.  net9.0-tvos net9.0-tvos was computed.  net9.0-windows net9.0-windows was computed.  net10.0 net10.0 is compatible.  net10.0-android net10.0-android was computed.  net10.0-browser net10.0-browser was computed.  net10.0-ios net10.0-ios was computed.  net10.0-maccatalyst net10.0-maccatalyst was computed.  net10.0-macos net10.0-macos was computed.  net10.0-tvos net10.0-tvos was computed.  net10.0-windows net10.0-windows was computed. 
.NET Core netcoreapp2.0 netcoreapp2.0 was computed.  netcoreapp2.1 netcoreapp2.1 was computed.  netcoreapp2.2 netcoreapp2.2 was computed.  netcoreapp3.0 netcoreapp3.0 was computed.  netcoreapp3.1 netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 netstandard2.0 is compatible.  netstandard2.1 netstandard2.1 is compatible. 
.NET Framework net461 net461 is compatible.  net462 net462 was computed.  net463 net463 was computed.  net47 net47 was computed.  net471 net471 was computed.  net472 net472 was computed.  net48 net48 was computed.  net481 net481 was computed. 
MonoAndroid monoandroid monoandroid was computed. 
MonoMac monomac monomac was computed. 
MonoTouch monotouch monotouch was computed. 
Tizen tizen40 tizen40 was computed.  tizen60 tizen60 was computed. 
Xamarin.iOS xamarinios xamarinios was computed. 
Xamarin.Mac xamarinmac xamarinmac was computed. 
Xamarin.TVOS xamarintvos xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (17)

Showing the top 5 NuGet packages that depend on Stashbox:

Package Downloads
Stashbox.Extensions.DependencyInjection

A Microsoft.Extensions.DependencyInjection extension, which allows Stashbox to be configured as the default service provider.

Stashbox.Moq

Moq auto mocking integration for Stashbox.

Stashbox.Web.WebApi

ASP.NET Web API integration for Stashbox.

Stashbox.Web.Mvc

ASP.NET MVC integration for Stashbox.

Stashbox.NSubstitute

NSubstitute auto mocking integration for Stashbox.

GitHub repositories (3)

Showing the top 3 popular GitHub repositories that depend on Stashbox:

Repository Stars
LuckyPennySoftware/MediatR
Simple, unambitious mediator implementation in .NET
structuremap/structuremap
A Dependency Injection/Inversion of Control tool for .NET
danielpalme/IocPerformance
Performance comparison of .NET IoC containers
Version Downloads Last Updated
5.20.0 3,889 5/7/2026
5.19.3 1,454 4/24/2026
5.19.2 3,480 4/14/2026
5.19.1 176 4/10/2026
5.19.0 7,323 3/30/2026
5.18.0 899 3/26/2026
5.17.1 64,846 2/18/2025
5.17.0 66,321 12/20/2024
5.16.0 31,137 8/21/2024
5.15.0 13,440 7/26/2024
5.14.1 46,052 4/8/2024
5.14.0 34,084 12/15/2023
5.13.0 1,681 11/18/2023
5.13.0-preview-828 259 9/26/2023
5.13.0-preview-825 254 9/15/2023
5.12.2 17,698 9/5/2023
5.12.1 309 9/5/2023
5.12.1-preview-822 246 9/4/2023
5.12.0-preview-821 250 9/2/2023
5.11.1 382 8/16/2023
Loading failed