A lightweight, fast, and portable dependency injection framework for .NET-based solutions.
Stashbox is a lightweight, fast, and portable dependency injection framework for .NET-based solutions. It encourages building loosely coupled applications and simplifies the construction of hierarchical object structures, integrating easily with .NET Core, ASP.NET, Xamarin, and other platforms.
.NET developers building applications on platforms like .NET Core, ASP.NET, Xamarin, or Unity who need a performant and portable dependency injection solution.
Developers choose Stashbox for its speed, small memory footprint, and extensive platform support, along with its easy-to-use Fluent API and robust diagnostic features for detecting configuration issues.
A lightweight, fast, and portable dependency injection framework for .NET-based solutions.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Benchmarked as fast, thread-safe, and lock-free with a small memory footprint, making it ideal for high-throughput .NET applications.
Tracks dependency trees to detect cycles and misconfigurations, providing immediate feedback during registration and resolution to reduce debugging time.
Supports .NET 5+, .NET Standard 2.0+, .NET Framework 4.5+, Mono, UWP, Xamarin, and Unity, ensuring versatility across diverse development environments.
Offers an intuitive Fluent API for easy setup and management of dependency registrations, simplifying the configuration process compared to XML or attribute-based methods.
Has fewer community resources, third-party integrations, and learning materials compared to established DI containers like Autofac or Ninject, which can slow adoption.
Lacks built-in support for advanced patterns such as interception, decorators, or compile-time weaving, requiring custom implementations for complex scenarios.
Some integrations, like those for WCF or mocking libraries, are maintained in separate repositories, potentially leading to inconsistent updates and maintenance overhead.