Excellent less-known .NET libraries
Imperator
Posted on October 1, 2023
With .Net platform being faster and richer with every release, there are still things missing as they are limiting themselves to really necessary functionality.
Beside convenience, I like performance and authors of these libraries are performance junkies themselves so they made sure that they are the fastest...
Once you learn XPATH (query language for XML/HTML), there is no turning back. Query into HTML with a help of this library and accomplish anything in few lines of code.
Useful and rich low-level additions to .Net system libraries. Must have if you are creating any sort of infrastructure code.
Modern cryptography primitives (hashes, encryption, key exchange, signatures) - wrapper around LibSodium C implemenation - really fast!
If you need binary serialization to well-known format (message pack), use this very fast library. Beats JSON in time and space consumption.
If you need minimal web server, this is minimal wrapper around Kestrel, much faster than ASP.Net Core.
Fastest unmanaged memory allocator I have found.
Crontab scheduler expression handling library.
Concurrent dictionary which doesn't block threads - faster than one which comes with framework, especially in concurrent work.
Excellent toolkit for writing command-line applications plus nice GUI elements for these.
Some gurus with lot of performant low-level libraries (dig inside for more gems):
I have to mention awesome lists for .Net Core, they are good starting point for research, but I have found much more in GitHub.
https://github.com/quozd/awesome-dotnet
https://github.com/thangchung/awesome-dotnet-core
Posted on October 1, 2023
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.