Ready to write some .NET code? Drink this potion to warm up and get started!
DotNetPotion offers ready-to-use tools designed to simplify and enhance your development experience, aiming to make your code more efficient and easier to manage.
To install DotNetPotion
, run one of the following commands:
dotnet add package DotNetPotion
or
Install-Package DotNetPotion
-
Modular Tools: Each tool is organized in its own directory, allowing you to explore and use them independently.
-
Flexible Usage: You can copy an individual tool and customized it without needing the entire package.
- ScopedTaskRunner [docs]
The ScopedTaskRunner
service allows you to run a task in a new thread within a new Service Provider scope.
- SemaphorePool [docs]
SemaphorePool
provides key-based SemaphoreSlim instances for dynamic and reusable thread-locking mechanism, allowing configurable timeouts and logging thresholds to efficiently manage and monitor access to shared resources.
Contributions are welcome! If you have an idea, find a bug, or want to improve the code, feel free to open an issue or submit a pull request.
You can contact me via the email soroushkavousi.me@gmail.com.