Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/z4kn4fein/stashbox
A lightweight, fast, and portable dependency injection framework for .NET-based solutions.
https://github.com/z4kn4fein/stashbox
dependency-injection dependency-injection-container dependency-injection-framework di inversion-of-control ioc net-standard stashbox
Last synced: 6 days ago
JSON representation
A lightweight, fast, and portable dependency injection framework for .NET-based solutions.
- Host: GitHub
- URL: https://github.com/z4kn4fein/stashbox
- Owner: z4kn4fein
- License: mit
- Created: 2015-09-03T08:32:20.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2024-12-20T16:14:23.000Z (about 2 months ago)
- Last Synced: 2025-02-01T20:39:30.303Z (13 days ago)
- Topics: dependency-injection, dependency-injection-container, dependency-injection-framework, di, inversion-of-control, ioc, net-standard, stashbox
- Language: C#
- Homepage: https://z4kn4fein.github.io/stashbox
- Size: 10 MB
- Stars: 143
- Watchers: 12
- Forks: 10
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
- awesome-dotnet-core - Stashbox - A lightweight, portable dependency injection framework for .NET based solutions. (Frameworks, Libraries and Tools / IOC)
- awesome-dotnet-core - Stashbox - 基于.NET的解决方案的轻量级,可移植依赖注入框架。 (框架, 库和工具 / 控制反转IOC)
- fucking-awesome-dotnet-core - Stashbox - A lightweight, portable dependency injection framework for .NET based solutions. (Frameworks, Libraries and Tools / IOC)
- awesome-dotnet-core - Stashbox - A lightweight, portable dependency injection framework for .NET based solutions. (Frameworks, Libraries and Tools / IOC)
README
# Stashbox
[![Appveyor Build Status](https://img.shields.io/appveyor/build/pcsajtai/stashbox?logo=appveyor&logoColor=white)](https://ci.appveyor.com/project/pcsajtai/stashbox/branch/master)
[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/z4kn4fein/stashbox/linux-macOS-CI.yml?logo=GitHub&branch=master)](https://github.com/z4kn4fein/stashbox/actions/workflows/linux-macOS-CI.yml)
[![NuGet Downloads](https://img.shields.io/nuget/dt/Stashbox?label=nuget)](https://www.nuget.org/packages/Stashbox)
[![Sonar Tests](https://img.shields.io/sonar/tests/z4kn4fein_stashbox?compact_message&logo=sonarcloud&server=https%3A%2F%2Fsonarcloud.io)](https://sonarcloud.io/project/overview?id=z4kn4fein_stashbox)
[![Sonar Coverage](https://img.shields.io/sonar/coverage/z4kn4fein_stashbox?logo=SonarCloud&server=https%3A%2F%2Fsonarcloud.io)](https://sonarcloud.io/project/overview?id=z4kn4fein_stashbox)
[![Sonar Quality Gate](https://img.shields.io/sonar/quality_gate/z4kn4fein_stashbox?logo=sonarcloud&server=https%3A%2F%2Fsonarcloud.io)](https://sonarcloud.io/project/overview?id=z4kn4fein_stashbox)
[![Sourcelink](https://img.shields.io/badge/sourcelink-enabled-brightgreen.svg)](https://github.com/dotnet/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.
- [Documentation](https://z4kn4fein.github.io/stashbox)
- [Release notes](https://github.com/z4kn4fein/stashbox/blob/master/CHANGELOG.md)
- [ASP.NET Core sample](https://github.com/z4kn4fein/stashbox-extensions-dependencyinjection/tree/master/sample)Github (stable) | NuGet (stable) | NuGet (pre-release)
--- | --- | ---
[![Github release](https://img.shields.io/github/release/z4kn4fein/stashbox.svg)](https://github.com/z4kn4fein/stashbox/releases) | [![NuGet Version](https://img.shields.io/nuget/v/Stashbox)](https://www.nuget.org/packages/Stashbox) | [![Nuget pre-release](https://img.shields.io/nuget/vpre/Stashbox)](https://www.nuget.org/packages/Stashbox/)## 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](https://img.shields.io/gitter/room/z4kn4fein/stashbox.svg)](https://gitter.im/z4kn4fein/stashbox) [![Slack](https://img.shields.io/badge/chat-on%20slack-orange.svg?style=flat)](https://3vj.short.gy/stashbox-slack)
- Create an [issue](https://github.com/z4kn4fein/stashbox/issues) for bug reports and feature requests.
- Start a [discussion](https://github.com/z4kn4fein/stashbox/discussions) for your questions and ideas.
- Add a ⭐️ to support the project!## Extensions
- ASP.NET Core
- [Stashbox.Extensions.DependencyInjection](https://github.com/z4kn4fein/stashbox-extensions-dependencyinjection)
- [Stashbox.Extensions.Hosting](https://github.com/z4kn4fein/stashbox-extensions-dependencyinjection#net-generic-host)
- [Stashbox.AspNetCore.Hosting](https://github.com/z4kn4fein/stashbox-extensions-dependencyinjection)
- [Stashbox.AspNetCore.Multitenant](https://github.com/z4kn4fein/stashbox-extensions-dependencyinjection#multitenant)
- [Stashbox.AspNetCore.Testing](https://github.com/z4kn4fein/stashbox-extensions-dependencyinjection#testing)
- ASP.NET
- [Stashbox.Web.WebApi](https://github.com/z4kn4fein/stashbox-extensions/tree/main/src/stashbox-web-webapi)
- [Stashbox.Web.Mvc](https://github.com/z4kn4fein/stashbox-extensions/tree/main/src/stashbox-web-mvc)
- [Stashbox.AspNet.SignalR](https://github.com/z4kn4fein/stashbox-extensions/tree/main/src/stashbox-signalr)
- OWIN
- [Stashbox.Owin](https://github.com/z4kn4fein/stashbox-extensions/tree/main/src/stashbox-owin)
- [Stashbox.AspNet.WebApi.Owin](https://github.com/z4kn4fein/stashbox-extensions/tree/main/src/stashbox-webapi-owin)
- [Stashbox.AspNet.SignalR.Owin](https://github.com/z4kn4fein/stashbox-extensions/tree/main/src/stashbox-signalr-owin)
- WCF
- [Stashbox.Extension.Wcf](https://github.com/devworker55/stashbox-extension-wcf)
- Hangfire
- [Stashbox.Hangfire](https://github.com/z4kn4fein/stashbox-extensions/tree/main/src/stashbox-hangfire)
- Mocking
- [Stashbox.Mocking](https://github.com/z4kn4fein/stashbox-mocking) (Moq, FakeItEasy, NSubstitute, RhinoMocks)
## Benchmarks
- [Performance](https://github.com/danielpalme/IocPerformance)
*Powered by [Jetbrains'](https://www.jetbrains.com/?from=Stashbox) [Open Source License](https://www.jetbrains.com/community/opensource/?from=Stashbox)*
[![Jetbrains](https://raw.githubusercontent.com/z4kn4fein/stashbox/master/assets/jetbrains.svg)](https://www.jetbrains.com/?from=Stashbox)