Awesome
Stashbox
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) |
---|---|---|
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
- ASP.NET Core
- ASP.NET
- OWIN
- WCF
- Hangfire
- Mocking
- Stashbox.Mocking (Moq, FakeItEasy, NSubstitute, RhinoMocks)
Benchmarks
<br>Powered by Jetbrains' Open Source License