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.
These are the latest available stable and pre-release versions:
Github (stable) | NuGet (stable) | NuGet (daily) |
---|---|---|
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 a GitHub issue for bug reports and feature requests.
- Start a GitHub discussion for your questions and ideas.
- Add a ⭐️ on GitHub to support the project!
License
This project is licensed under the MIT license.