Stashbox 5.4.2

.NET 5.0 .NET Standard 2.0 .NET Framework 4.5
Install-Package Stashbox -Version 5.4.2
dotnet add package Stashbox --version 5.4.2
<PackageReference Include="Stashbox" Version="5.4.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Stashbox --version 5.4.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Stashbox, 5.4.2"
#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.2

// Install Stashbox as a Cake Tool
#tool nuget:?package=Stashbox&version=5.4.2
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 (4)

Showing the top 4 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
z4kn4fein/stashbox
A lightweight, fast and portable dependency injection framework for .NET based solutions.
Version Downloads Last updated
5.4.2 1,354 6/2/2022
5.4.2-preview-760 49 6/1/2022
5.4.2-preview-759 56 5/31/2022
5.4.1 13,115 5/16/2022
5.4.0 1,354 5/3/2022
5.4.0-preview-755 57 5/2/2022
5.3.0 1,144 4/10/2022
5.2.1 9,419 3/12/2022
5.2.1-preview-745 54 3/12/2022
5.2.0 438 3/7/2022
5.2.0-preview-743 56 3/6/2022
5.2.0-preview-742 57 3/6/2022
5.2.0-preview-740 57 3/3/2022
5.2.0-preview-739 58 3/3/2022
5.2.0-preview-737 54 3/3/2022
5.2.0-preview-736 57 3/2/2022
5.1.0 142 2/26/2022
5.1.0-preview-727 53 2/26/2022
5.0.1 11,432 2/10/2022
5.0.1-preview-726 54 2/20/2022
5.0.1-preview-725 59 2/10/2022
5.0.1-preview-724 50 2/10/2022
5.0.1-preview-723 55 2/10/2022
5.0.1-preview-722 54 2/10/2022
5.0.1-preview-721 49 2/10/2022
5.0.0 396 2/9/2022
5.0.0-preview-720 56 2/9/2022
5.0.0-preview-719 56 2/9/2022
5.0.0-preview-718 54 2/9/2022
5.0.0-preview-717 54 2/9/2022
5.0.0-preview-715 60 2/9/2022
4.2.0-preview-690 71 1/22/2022
4.2.0-preview-688 79 12/24/2021
4.2.0-preview-687 74 12/24/2021
4.2.0-preview-686 80 12/24/2021
4.2.0-preview-685 86 12/21/2021
4.2.0-preview-684 82 12/20/2021
4.2.0-preview-683 81 12/20/2021
4.2.0-preview-682 95 12/6/2021
4.1.0 4,668 11/21/2021
4.1.0-preview-681 89 11/22/2021
4.1.0-preview-680 265 11/21/2021
4.1.0-preview-677 182 11/19/2021
4.1.0-preview-676 128 11/19/2021
4.0.0 165 11/18/2021
4.0.0-preview-675 96 11/18/2021
4.0.0-preview-672 114 11/18/2021
4.0.0-preview-671 202 11/18/2021
4.0.0-preview-670 109 11/18/2021
4.0.0-preview-669 76 11/18/2021
4.0.0-preview-665 178 9/10/2021
4.0.0-preview-664 154 9/7/2021
4.0.0-preview-663 144 9/2/2021
4.0.0-preview-662 142 9/2/2021
3.6.4 1,896 8/31/2021
3.6.4-preview-652 128 8/30/2021
3.6.4-preview-649 131 8/30/2021
3.6.4-preview-648 145 8/30/2021
3.6.4-preview-646 133 8/23/2021
3.6.4-preview-642 135 8/23/2021
3.6.4-preview-641 138 8/23/2021
3.6.3 10,348 5/26/2021
3.6.3-preview-640 155 5/26/2021
3.6.3-preview-639 152 5/20/2021
3.6.3-preview-638 142 5/20/2021
3.6.3-preview-636 187 5/19/2021
3.6.2 1,966 4/23/2021
3.6.2-preview-635 162 4/23/2021
3.6.2-preview-634 169 4/16/2021
3.6.1 3,307 3/16/2021
3.6.1-preview-633 149 3/16/2021
3.6.1-preview-632 152 3/16/2021
3.6.0 604 2/25/2021
3.6.0-preview-631 161 2/25/2021
3.5.1 430 2/19/2021
3.5.1-preview-630 159 2/19/2021
3.5.1-preview-629 167 2/19/2021
3.5.1-preview-628 164 2/19/2021
3.5.1-preview-627 159 2/19/2021
3.5.1-preview-626 159 2/19/2021
3.5.1-preview-625 167 2/19/2021
3.5.1-preview-624 151 2/19/2021
3.5.1-preview-623 165 2/19/2021
3.5.1-preview-622 153 2/19/2021
3.5.1-preview-621 171 2/19/2021
3.5.1-preview-620 163 2/19/2021
3.5.1-preview-617 194 2/7/2021
3.5.0 4,996 1/29/2021
3.5.0-preview-616 177 1/26/2021
3.5.0-preview-615 187 1/26/2021
3.5.0-preview-614 183 1/25/2021
3.5.0-preview-613 205 1/25/2021
3.5.0-preview-612 220 1/25/2021
3.5.0-preview-611 170 1/25/2021
3.5.0-preview-610 187 1/24/2021
3.5.0-preview-609 189 1/24/2021
3.4.1-preview-608 178 1/24/2021
3.4.1-preview-606 220 1/23/2021
3.4.1-preview-605 236 1/23/2021
3.4.1-preview-604 233 1/22/2021
3.4.0 7,190 11/15/2020
3.4.0-preview-603 230 11/15/2020
3.4.0-preview-602 234 11/11/2020
3.3.0 3,369 11/5/2020
3.3.0-preview-601 252 11/4/2020
3.2.9 1,490 11/2/2020
3.2.9-preview-600 352 10/31/2020
3.2.9-preview-599 243 10/29/2020
3.2.8 2,905 10/17/2020
3.2.8-preview-596 238 10/17/2020
3.2.8-preview-595 251 10/17/2020
3.2.7 572 10/16/2020
3.2.7-preview-594 236 10/16/2020
3.2.6 569 10/16/2020
3.2.6-preview-593 242 10/15/2020
3.2.6-preview-592 254 10/15/2020
3.2.6-preview-591 261 10/15/2020
3.2.5 1,108 10/12/2020
3.2.5-preview-590 331 10/12/2020
3.2.5-preview-589 269 9/14/2020
3.2.5-preview-588 281 9/14/2020
3.2.4 7,333 7/22/2020
3.2.4-preview-587 277 7/22/2020
3.2.4-preview-586 271 7/22/2020
3.2.4-preview-585 269 7/22/2020
3.2.2 1,427 7/21/2020
3.2.2-preview-584 276 7/21/2020
3.2.2-preview-583 285 7/21/2020
3.2.2-preview-582 310 7/18/2020
3.2.2-preview-581 305 7/18/2020
3.2.2-preview-580 312 7/17/2020
3.2.2-preview-579 343 7/17/2020
3.2.2-preview-578 349 7/17/2020
3.2.2-preview-577 260 7/17/2020
3.2.1 91,250 7/9/2020
3.2.1-preview-576 386 7/9/2020
3.2.1-preview-575 338 7/9/2020
3.2.1-preview-574 339 7/9/2020
3.2.1-preview-573 287 7/9/2020
3.2.1-preview-572 289 7/9/2020
3.2.1-preview-571 308 7/9/2020
3.2.1-preview-570 382 7/9/2020
3.2.1-preview-569 347 7/9/2020
3.2.1-preview-568 439 6/30/2020
3.2.1-preview-567 298 6/30/2020
3.2.0 13,981 6/29/2020
3.2.0-preview-565 331 6/29/2020
3.2.0-preview-564 268 6/29/2020
3.2.0-preview-563 268 6/29/2020
3.2.0-preview-562 265 6/29/2020
3.1.2 1,418 6/22/2020
3.1.2-preview-560 357 6/22/2020
3.1.2-preview-556 326 6/22/2020
3.1.2-preview-555 504 6/11/2020
3.1.2-preview-554 301 6/11/2020
3.1.2-preview-553 296 6/11/2020
3.1.1 507 6/11/2020
3.1.1-preview-552 286 6/11/2020
3.1.1-preview-551 298 6/10/2020
3.1.1-preview-550 267 6/10/2020
3.1.1-preview-549 284 6/9/2020
3.1.1-preview-548 294 6/9/2020
3.1.0 2,457 6/8/2020
3.1.0-preview-547 312 6/8/2020
3.1.0-preview-546 337 6/8/2020
3.1.0-preview-545 325 6/5/2020
3.1.0-preview-544 306 6/5/2020
3.1.0-preview-543 360 6/4/2020
3.1.0-preview-542 362 6/4/2020
3.1.0-preview-541 350 6/3/2020
3.1.0-preview-540 345 6/1/2020
3.1.0-preview-539 269 6/1/2020
3.1.0-preview-538 289 6/1/2020
3.1.0-preview-537 479 5/23/2020
3.1.0-preview-536 556 4/30/2020
3.1.0-preview-535 322 4/28/2020
3.1.0-preview-534 355 4/24/2020
3.1.0-preview-533 307 4/22/2020
3.1.0-preview-532 371 4/17/2020
3.1.0-preview-531 525 4/5/2020
3.1.0-preview-530 414 4/3/2020
3.1.0-preview-529 326 4/3/2020
3.1.0-preview-528 345 4/3/2020
3.1.0-preview-527 340 4/3/2020
3.1.0-preview-526 365 4/3/2020
3.1.0-preview-525 319 4/3/2020
2.9.0-preview-524 394 3/24/2020
2.9.0-preview-523 326 3/19/2020
2.9.0-preview-522 308 3/18/2020
2.9.0-preview-521 503 3/2/2020
2.9.0-preview-520 319 3/2/2020
2.9.0-preview-519 358 2/28/2020
2.9.0-preview-518 352 2/19/2020
2.9.0-preview-517 340 2/18/2020
2.9.0-preview-516 378 2/17/2020
2.9.0-preview-515 366 2/13/2020
2.9.0-preview-514 305 2/13/2020
2.8.9 4,996 1/15/2020
2.8.9-preview-513 372 1/15/2020
2.8.8 2,787 1/15/2020