Stashbox 5.7.1

.NET 5.0 .NET Standard 2.0 .NET Framework 4.5
dotnet add package Stashbox --version 5.7.1
NuGet\Install-Package Stashbox -Version 5.7.1
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.7.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Stashbox --version 5.7.1
#r "nuget: Stashbox, 5.7.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.7.1

// Install Stashbox as a Cake Tool
#tool nuget:?package=Stashbox&version=5.7.1

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 5+
  • .NET Standard 2.0+
  • .NET Framework 4.5+
  • 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 net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.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 net481
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.AspNet.SignalR

ASP.NET SignalR 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.7.1 730 1/20/2023
5.7.1-preview-788 45 1/20/2023
5.7.1-preview-787 46 1/19/2023
5.7.0 657 12/19/2022
5.7.0-preview-776 43 12/19/2022
5.7.0-preview-775 44 12/19/2022
5.6.0 5,721 12/6/2022
5.5.3 1,251 11/29/2022
5.5.2 2,875 10/14/2022
5.5.2-preview-768 53 10/14/2022
5.5.1 246 10/13/2022
5.5.0 2,398 10/12/2022
5.4.3 13,177 9/9/2022
5.4.3-preview-762 69 9/8/2022
5.4.2 7,008 6/2/2022
5.4.2-preview-760 94 6/1/2022
5.4.2-preview-759 80 5/31/2022
5.4.1 20,017 5/16/2022
5.4.0 4,358 5/3/2022
5.4.0-preview-755 77 5/2/2022
5.3.0 6,198 4/10/2022
5.2.1 12,721 3/12/2022
5.2.1-preview-745 74 3/12/2022
5.2.0 3,158 3/7/2022
5.2.0-preview-743 78 3/6/2022
5.2.0-preview-742 78 3/6/2022
5.2.0-preview-740 77 3/3/2022
5.2.0-preview-739 79 3/3/2022
5.2.0-preview-737 74 3/3/2022
5.2.0-preview-736 74 3/2/2022
5.1.0 353 2/26/2022
5.1.0-preview-727 74 2/26/2022
5.0.1 13,889 2/10/2022
5.0.1-preview-726 73 2/20/2022
5.0.1-preview-725 80 2/10/2022
5.0.1-preview-724 72 2/10/2022
5.0.1-preview-723 76 2/10/2022
5.0.1-preview-722 75 2/10/2022
5.0.1-preview-721 71 2/10/2022
5.0.0 2,809 2/9/2022
5.0.0-preview-720 78 2/9/2022
5.0.0-preview-719 78 2/9/2022
5.0.0-preview-718 78 2/9/2022
5.0.0-preview-717 77 2/9/2022
5.0.0-preview-715 83 2/9/2022
4.2.0-preview-690 91 1/22/2022
4.2.0-preview-688 98 12/24/2021
4.2.0-preview-687 93 12/24/2021
4.2.0-preview-686 99 12/24/2021
4.2.0-preview-685 105 12/21/2021
4.2.0-preview-684 100 12/20/2021
4.2.0-preview-683 100 12/20/2021
4.2.0-preview-682 112 12/6/2021
4.1.0 8,801 11/21/2021
4.1.0-preview-681 112 11/22/2021
4.1.0-preview-680 285 11/21/2021
4.1.0-preview-677 201 11/19/2021
4.1.0-preview-676 148 11/19/2021
4.0.0 280 11/18/2021
4.0.0-preview-675 114 11/18/2021
4.0.0-preview-672 131 11/18/2021
4.0.0-preview-671 218 11/18/2021
4.0.0-preview-670 130 11/18/2021
4.0.0-preview-669 93 11/18/2021
4.0.0-preview-665 198 9/10/2021
4.0.0-preview-664 174 9/7/2021
4.0.0-preview-663 168 9/2/2021
4.0.0-preview-662 165 9/2/2021
3.6.4 2,032 8/31/2021
3.6.4-preview-652 144 8/30/2021
3.6.4-preview-649 147 8/30/2021
3.6.4-preview-648 163 8/30/2021
3.6.4-preview-646 150 8/23/2021
3.6.4-preview-642 154 8/23/2021
3.6.4-preview-641 155 8/23/2021
3.6.3 12,166 5/26/2021
3.6.3-preview-640 173 5/26/2021
3.6.3-preview-639 169 5/20/2021
3.6.3-preview-638 158 5/20/2021
3.6.3-preview-636 207 5/19/2021
3.6.2 2,073 4/23/2021
3.6.2-preview-635 185 4/23/2021
3.6.2-preview-634 187 4/16/2021
3.6.1 4,358 3/16/2021
3.6.1-preview-633 171 3/16/2021
3.6.1-preview-632 175 3/16/2021
3.6.0 725 2/25/2021
3.6.0-preview-631 179 2/25/2021
3.5.1 553 2/19/2021
3.5.1-preview-630 181 2/19/2021
3.5.1-preview-629 188 2/19/2021
3.5.1-preview-628 183 2/19/2021
3.5.1-preview-627 180 2/19/2021
3.5.1-preview-626 179 2/19/2021
3.5.1-preview-625 186 2/19/2021
3.5.1-preview-624 170 2/19/2021
3.5.1-preview-623 186 2/19/2021
3.5.1-preview-622 171 2/19/2021
3.5.1-preview-621 190 2/19/2021
3.5.1-preview-620 183 2/19/2021
3.5.1-preview-617 212 2/7/2021
3.5.0 5,435 1/29/2021
3.5.0-preview-616 196 1/26/2021
3.5.0-preview-615 204 1/26/2021
3.5.0-preview-614 199 1/25/2021
3.5.0-preview-613 222 1/25/2021
3.5.0-preview-612 235 1/25/2021
3.5.0-preview-611 189 1/25/2021
3.5.0-preview-610 206 1/24/2021
3.5.0-preview-609 208 1/24/2021
3.4.1-preview-608 198 1/24/2021
3.4.1-preview-606 239 1/23/2021
3.4.1-preview-605 256 1/23/2021
3.4.1-preview-604 254 1/22/2021
3.4.0 8,970 11/15/2020
3.4.0-preview-603 247 11/15/2020
3.4.0-preview-602 250 11/11/2020
3.3.0 3,708 11/5/2020
3.3.0-preview-601 268 11/4/2020
3.2.9 2,451 11/2/2020
3.2.9-preview-600 371 10/31/2020
3.2.9-preview-599 262 10/29/2020
3.2.8 4,343 10/17/2020
3.2.8-preview-596 255 10/17/2020
3.2.8-preview-595 267 10/17/2020
3.2.7 895 10/16/2020
3.2.7-preview-594 252 10/16/2020
3.2.6 900 10/16/2020
3.2.6-preview-593 260 10/15/2020
3.2.6-preview-592 278 10/15/2020
3.2.6-preview-591 282 10/15/2020
3.2.5 1,429 10/12/2020
3.2.5-preview-590 350 10/12/2020
3.2.5-preview-589 293 9/14/2020
3.2.5-preview-588 303 9/14/2020
3.2.4 7,553 7/22/2020
3.2.4-preview-587 293 7/22/2020
3.2.4-preview-586 288 7/22/2020
3.2.4-preview-585 286 7/22/2020
3.2.2 1,750 7/21/2020
3.2.2-preview-584 293 7/21/2020
3.2.2-preview-583 304 7/21/2020
3.2.2-preview-582 327 7/18/2020
3.2.2-preview-581 321 7/18/2020
3.2.2-preview-580 329 7/17/2020
3.2.2-preview-579 357 7/17/2020
3.2.2-preview-578 365 7/17/2020
3.2.2-preview-577 282 7/17/2020
3.2.1 91,581 7/9/2020
3.2.1-preview-576 407 7/9/2020
3.2.1-preview-575 358 7/9/2020
3.2.1-preview-574 360 7/9/2020
3.2.1-preview-573 307 7/9/2020
3.2.1-preview-572 305 7/9/2020
3.2.1-preview-571 326 7/9/2020
3.2.1-preview-570 400 7/9/2020
3.2.1-preview-569 366 7/9/2020
3.2.1-preview-568 457 6/30/2020
3.2.1-preview-567 318 6/30/2020
3.2.0 16,887 6/29/2020
3.2.0-preview-565 346 6/29/2020
3.2.0-preview-564 287 6/29/2020
3.2.0-preview-563 287 6/29/2020
3.2.0-preview-562 284 6/29/2020
3.1.2 1,973 6/22/2020
3.1.2-preview-560 381 6/22/2020
3.1.2-preview-556 351 6/22/2020
3.1.2-preview-555 522 6/11/2020
3.1.2-preview-554 319 6/11/2020
3.1.2-preview-553 311 6/11/2020
3.1.1 625 6/11/2020
3.1.1-preview-552 302 6/11/2020
3.1.1-preview-551 315 6/10/2020
3.1.1-preview-550 285 6/10/2020
3.1.1-preview-549 301 6/9/2020
3.1.1-preview-548 310 6/9/2020
3.1.0 3,930 6/8/2020
3.1.0-preview-547 331 6/8/2020
3.1.0-preview-546 358 6/8/2020
3.1.0-preview-545 342 6/5/2020
3.1.0-preview-544 324 6/5/2020
3.1.0-preview-543 378 6/4/2020
3.1.0-preview-542 382 6/4/2020
3.1.0-preview-541 373 6/3/2020
3.1.0-preview-540 362 6/1/2020
3.1.0-preview-539 290 6/1/2020
3.1.0-preview-538 310 6/1/2020
3.1.0-preview-537 495 5/23/2020
3.1.0-preview-536 576 4/30/2020
3.1.0-preview-535 339 4/28/2020
3.1.0-preview-534 372 4/24/2020
3.1.0-preview-533 326 4/22/2020
3.1.0-preview-532 387 4/17/2020
3.1.0-preview-531 545 4/5/2020
3.1.0-preview-530 436 4/3/2020
3.1.0-preview-529 347 4/3/2020
3.1.0-preview-528 367 4/3/2020
3.1.0-preview-527 360 4/3/2020
3.1.0-preview-526 387 4/3/2020
3.1.0-preview-525 338 4/3/2020
2.9.0-preview-524 409 3/24/2020
2.9.0-preview-523 345 3/19/2020
2.9.0-preview-522 327 3/18/2020
2.9.0-preview-521 520 3/2/2020
2.9.0-preview-520 336 3/2/2020
2.9.0-preview-519 376 2/28/2020
2.9.0-preview-518 372 2/19/2020
2.9.0-preview-517 358 2/18/2020
2.9.0-preview-516 397 2/17/2020
2.9.0-preview-515 382 2/13/2020
2.9.0-preview-514 321 2/13/2020
2.8.9 5,374 1/15/2020
2.8.9-preview-513 393 1/15/2020
2.8.8 5,159 1/15/2020