Micro-libraries (pieces of utility code) for .Net that are safe and simple to use.
In every project there are lot's of reusable patterns that we find our selves rewriting or just doing some copy & paste, and thus the idea behind SimpleHelpers micro-libraries is to create a small collection of such code but keeping it reliable and easy to use.
Most of SimpleHelpers.Net libraries are distributed by Nuget.org as source code files (C#), since this enable us to use these utility code as micro-libraries without creating and having to deploy a huge number of assemblies (dlls). The idea is to keep things simple!
Distributing source code also make things easier in case of doubt or curiosity. You can just take a look into the full source code!
All micro-libraries are well-tested for both performance and reliability. So feel free to use them!
http://khalidsalomao.github.io/SimpleHelpers.Net/
- Detect any text file charset encoding using Mozilla Charset Detector.
- Check if a file is text or binary.
- See documentation
- Simple, lightweight and fast in-memory caching.
- See documentation
- Synchronization helper: a lock associated with a key and with timeout.
- See documentation
- Simple key & value storage using sqlite with json serialization.
- See documentation
- Simple Object Comparer that generates a Diff between objects and is able to Patch one object to transforms into the other.
- See documentation
- Application initialization helper:
- merge application settings, command line arguments & external options
- configure nlog
- ...
- Simple configuration manager to get and set the values in the AppSettings section of the default configuration file.
- See documentation
- A fast lightweight object pool for fast and simple object reuse.
- See documentation
- Fast lightweight in-memory queue that stores data in a concurrent queue and periodically process the queued items.
- See documentation
- Similar to
Parallel.For
but more flexible and with bounded task queue.
- Loads C# source code.
- Easy, fast and non-invasive dependency injection and plugin system.
- See documentation
- Use RabbitMQ as a distributed work queue!
- See documentation
- Issue Tracker: https://github.com/khalidsalomao/SimpleHelpers.Net/issues
- Source Code: https://github.com/khalidsalomao/SimpleHelpers.Net
If you are having issues, please let us know here.
The project is licensed under the MIT license.