Skip to content
Micro-libraries (pieces of utility code) for .Net that are safe and simple to use
C# Pascal Other
Branch: master
Clone or download
stefanlenselink and khalidsalomao Use DefaultSerializer when converting resultJson ToObject (#19)
* Use DefaultSerializer when converting resultJson ToObject while executing PatchObject

* Added unittest case for working with Collections holding references to interface types. Working with the TypeNameHandling.Objects Json SerializerSetting
Latest commit 99e7b4a Oct 17, 2019


GitHub license

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 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!

Documentation Site



  • Detect any text file charset encoding using Mozilla Charset Detector.
  • Check if a file is text or binary.
  • See documentation



  • Synchronization helper: a lock associated with a key and with timeout.
  • 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:
    1. merge application settings, command line arguments & external options
    2. configure nlog
    3. ...


  • Simple configuration manager to get and set the values in the AppSettings section of the default configuration file.
  • 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




If you are having issues, please let us know here.


The project is licensed under the MIT license.

You can’t perform that action at this time.