Stashbox 5.4.1

.NET 5.0 .NET Standard 2.0 .NET Framework 4.5
Install-Package Stashbox -Version 5.4.1
dotnet add package Stashbox --version 5.4.1
<PackageReference Include="Stashbox" Version="5.4.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Stashbox --version 5.4.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Stashbox, 5.4.1"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Stashbox as a Cake Addin
#addin nuget:?package=Stashbox&version=5.4.1

// Install Stashbox as a Cake Tool
#tool nuget:?package=Stashbox&version=5.4.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Stashbox

Appveyor Build Status GitHub Workflow Status 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) Fuget (stable) NuGet (pre-release)
Github release NuGet Version Stashbox on fuget.org 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 4.5 and above
  • .NET Core
  • Mono
  • Universal Windows Platform
  • Xamarin (Android/iOS/Mac)
  • Unity

Contact & Support

  • Join the chat at https://gitter.im/z4kn4fein/stashbox Slack
  • 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
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
.NET Core netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.0 netstandard2.1
.NET Framework net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen40 tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (18)

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.FakeItEasy

FakeItEasy auto mocking integration for Stashbox.

GitHub repositories (3)

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

Repository Stars
jbogard/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.4.1 67 5/16/2022
5.4.0 599 5/3/2022
5.4.0-preview-755 28 5/2/2022
5.3.0 417 4/10/2022
5.2.1 7,528 3/12/2022
5.2.1-preview-745 37 3/12/2022
5.2.0 294 3/7/2022
5.2.0-preview-743 39 3/6/2022
5.2.0-preview-742 40 3/6/2022
5.2.0-preview-740 42 3/3/2022
5.2.0-preview-739 41 3/3/2022
5.2.0-preview-737 39 3/3/2022
5.2.0-preview-736 40 3/2/2022
5.1.0 115 2/26/2022
5.1.0-preview-727 41 2/26/2022
5.0.1 11,227 2/10/2022
5.0.1-preview-726 37 2/20/2022
5.0.1-preview-725 42 2/10/2022
5.0.1-preview-724 38 2/10/2022
5.0.1-preview-723 43 2/10/2022
5.0.1-preview-722 42 2/10/2022
5.0.1-preview-721 39 2/10/2022
5.0.0 235 2/9/2022
5.0.0-preview-720 39 2/9/2022
5.0.0-preview-719 39 2/9/2022
5.0.0-preview-718 39 2/9/2022
5.0.0-preview-717 38 2/9/2022
5.0.0-preview-715 42 2/9/2022
4.2.0-preview-690 55 1/22/2022
4.2.0-preview-688 60 12/24/2021
4.2.0-preview-687 54 12/24/2021
4.2.0-preview-686 58 12/24/2021
4.2.0-preview-685 69 12/21/2021
4.2.0-preview-684 63 12/20/2021
4.2.0-preview-683 61 12/20/2021
4.2.0-preview-682 76 12/6/2021
4.1.0 3,010 11/21/2021
4.1.0-preview-681 71 11/22/2021
4.1.0-preview-680 247 11/21/2021
4.1.0-preview-677 162 11/19/2021
4.1.0-preview-676 109 11/19/2021
4.0.0 132 11/18/2021
4.0.0-preview-675 79 11/18/2021
4.0.0-preview-672 95 11/18/2021
4.0.0-preview-671 186 11/18/2021
4.0.0-preview-670 91 11/18/2021
4.0.0-preview-669 60 11/18/2021
4.0.0-preview-665 160 9/10/2021
4.0.0-preview-664 138 9/7/2021
4.0.0-preview-663 127 9/2/2021
4.0.0-preview-662 124 9/2/2021
3.6.4 1,788 8/31/2021
3.6.4-preview-652 111 8/30/2021
3.6.4-preview-649 114 8/30/2021
3.6.4-preview-648 129 8/30/2021
3.6.4-preview-646 117 8/23/2021
3.6.4-preview-642 119 8/23/2021
3.6.4-preview-641 122 8/23/2021
3.6.3 7,726 5/26/2021
3.6.3-preview-640 141 5/26/2021
3.6.3-preview-639 135 5/20/2021
3.6.3-preview-638 127 5/20/2021
3.6.3-preview-636 173 5/19/2021
3.6.2 1,930 4/23/2021
3.6.2-preview-635 147 4/23/2021
3.6.2-preview-634 153 4/16/2021
3.6.1 3,149 3/16/2021
3.6.1-preview-633 134 3/16/2021
3.6.1-preview-632 135 3/16/2021
3.6.0 579 2/25/2021
3.6.0-preview-631 144 2/25/2021
3.5.1 398 2/19/2021
3.5.1-preview-630 144 2/19/2021
3.5.1-preview-629 150 2/19/2021
3.5.1-preview-628 147 2/19/2021
3.5.1-preview-627 142 2/19/2021
3.5.1-preview-626 139 2/19/2021
3.5.1-preview-625 149 2/19/2021
3.5.1-preview-624 134 2/19/2021
3.5.1-preview-623 146 2/19/2021
3.5.1-preview-622 140 2/19/2021
3.5.1-preview-621 155 2/19/2021
3.5.1-preview-620 148 2/19/2021
3.5.1-preview-617 174 2/7/2021
3.5.0 4,795 1/29/2021
3.5.0-preview-616 160 1/26/2021
3.5.0-preview-615 171 1/26/2021
3.5.0-preview-614 169 1/25/2021
3.5.0-preview-613 190 1/25/2021
3.5.0-preview-612 204 1/25/2021
3.5.0-preview-611 156 1/25/2021
3.5.0-preview-610 172 1/24/2021
3.5.0-preview-609 174 1/24/2021
3.4.1-preview-608 163 1/24/2021
3.4.1-preview-606 203 1/23/2021
3.4.1-preview-605 221 1/23/2021
3.4.1-preview-604 215 1/22/2021
3.4.0 6,543 11/15/2020
3.4.0-preview-603 213 11/15/2020
3.4.0-preview-602 216 11/11/2020
3.3.0 2,876 11/5/2020
3.3.0-preview-601 237 11/4/2020
3.2.9 1,359 11/2/2020
3.2.9-preview-600 335 10/31/2020
3.2.9-preview-599 228 10/29/2020
3.2.8 2,744 10/17/2020
3.2.8-preview-596 223 10/17/2020
3.2.8-preview-595 234 10/17/2020
3.2.7 510 10/16/2020
3.2.7-preview-594 221 10/16/2020
3.2.6 513 10/16/2020
3.2.6-preview-593 225 10/15/2020
3.2.6-preview-592 239 10/15/2020
3.2.6-preview-591 244 10/15/2020
3.2.5 1,057 10/12/2020
3.2.5-preview-590 313 10/12/2020
3.2.5-preview-589 248 9/14/2020
3.2.5-preview-588 265 9/14/2020
3.2.4 7,089 7/22/2020
3.2.4-preview-587 257 7/22/2020
3.2.4-preview-586 255 7/22/2020
3.2.4-preview-585 252 7/22/2020
3.2.2 1,364 7/21/2020
3.2.2-preview-584 258 7/21/2020
3.2.2-preview-583 268 7/21/2020
3.2.2-preview-582 291 7/18/2020
3.2.2-preview-581 289 7/18/2020
3.2.2-preview-580 295 7/17/2020
3.2.2-preview-579 325 7/17/2020
3.2.2-preview-578 331 7/17/2020
3.2.2-preview-577 241 7/17/2020
3.2.1 91,185 7/9/2020
3.2.1-preview-576 368 7/9/2020
3.2.1-preview-575 317 7/9/2020
3.2.1-preview-574 321 7/9/2020
3.2.1-preview-573 267 7/9/2020
3.2.1-preview-572 268 7/9/2020
3.2.1-preview-571 287 7/9/2020
3.2.1-preview-570 363 7/9/2020
3.2.1-preview-569 330 7/9/2020
3.2.1-preview-568 420 6/30/2020
3.2.1-preview-567 279 6/30/2020
3.2.0 13,187 6/29/2020
3.2.0-preview-565 313 6/29/2020
3.2.0-preview-564 250 6/29/2020
3.2.0-preview-563 246 6/29/2020
3.2.0-preview-562 247 6/29/2020
3.1.2 1,343 6/22/2020
3.1.2-preview-560 340 6/22/2020
3.1.2-preview-556 306 6/22/2020
3.1.2-preview-555 486 6/11/2020
3.1.2-preview-554 282 6/11/2020
3.1.2-preview-553 276 6/11/2020
3.1.1 477 6/11/2020
3.1.1-preview-552 268 6/11/2020
3.1.1-preview-551 281 6/10/2020
3.1.1-preview-550 252 6/10/2020
3.1.1-preview-549 267 6/9/2020
3.1.1-preview-548 276 6/9/2020
3.1.0 2,265 6/8/2020
3.1.0-preview-547 292 6/8/2020
3.1.0-preview-546 320 6/8/2020
3.1.0-preview-545 306 6/5/2020
3.1.0-preview-544 288 6/5/2020
3.1.0-preview-543 340 6/4/2020
3.1.0-preview-542 342 6/4/2020
3.1.0-preview-541 328 6/3/2020
3.1.0-preview-540 329 6/1/2020
3.1.0-preview-539 251 6/1/2020
3.1.0-preview-538 271 6/1/2020
3.1.0-preview-537 458 5/23/2020
3.1.0-preview-536 540 4/30/2020
3.1.0-preview-535 306 4/28/2020
3.1.0-preview-534 331 4/24/2020
3.1.0-preview-533 291 4/22/2020
3.1.0-preview-532 354 4/17/2020
3.1.0-preview-531 507 4/5/2020
3.1.0-preview-530 396 4/3/2020
3.1.0-preview-529 308 4/3/2020
3.1.0-preview-528 325 4/3/2020
3.1.0-preview-527 322 4/3/2020
3.1.0-preview-526 346 4/3/2020
3.1.0-preview-525 301 4/3/2020
2.9.0-preview-524 376 3/24/2020
2.9.0-preview-523 308 3/19/2020
2.9.0-preview-522 287 3/18/2020
2.9.0-preview-521 483 3/2/2020
2.9.0-preview-520 301 3/2/2020
2.9.0-preview-519 340 2/28/2020
2.9.0-preview-518 334 2/19/2020
2.9.0-preview-517 324 2/18/2020
2.9.0-preview-516 358 2/17/2020
2.9.0-preview-515 346 2/13/2020
2.9.0-preview-514 288 2/13/2020
2.8.9 4,885 1/15/2020
2.8.9-preview-513 352 1/15/2020
2.8.8 920 1/15/2020