Skip to content

DotNetPotion is a NuGet package that offers ready-to-use tools designed to simplify and enhance the development experience, aiming to make code more efficient and easier to manage.

Notifications You must be signed in to change notification settings

soroushkavousi/DotNetPotion

Repository files navigation

DotNetPotion

NuGet NuGet NuGet

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.


Installation

To install DotNetPotion, run one of the following commands:

dotnet add package DotNetPotion

or

Install-Package DotNetPotion

Project Structure

  • 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.


Provided Tools

  1. ScopedTaskRunner [docs]

The ScopedTaskRunner service allows you to run a task in a new thread within a new Service Provider scope.

  1. 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.


Contributing

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.


Contact

You can contact me via the email soroushkavousi.me@gmail.com.

About

DotNetPotion is a NuGet package that offers ready-to-use tools designed to simplify and enhance the development experience, aiming to make code more efficient and easier to manage.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages