dotnet add package SystemLibrary.Common.Net --version
NuGet\Install-Package SystemLibrary.Common.Net -Version
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="SystemLibrary.Common.Net" Version="" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SystemLibrary.Common.Net --version
#r "nuget: SystemLibrary.Common.Net,"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install SystemLibrary.Common.Net as a Cake Addin
#addin nuget:?package=SystemLibrary.Common.Net&version=

// Install SystemLibrary.Common.Net as a Cake Tool
#tool nuget:?package=SystemLibrary.Common.Net&version=

SystemLibrary Common Net


Library with classes and methods for every >= .NET 7 application


  • Extensions fro Strings, Arrays, Lists, ... such as Is(), IsNot() and ToEnum()
  • Inherit the Config class which reads .json configuration file into a C# class with transformations based on 'EnvironmentName', at runtime
  • Dump.Write() "equivalent" to console.log in javascript
  • ToValue and ToText extensions on Enums, supporting two attributes (EnumText, EnumValue) to fill data to an Enum
  • ToJson() on any object, converting to json string or to an object from a json string
  • PartialJson on a json string, to convert only a part of the whole json, into the C# class, no need to model it all
  • Simple fire and forget in Async.Run()
  • Simple cryptation of Strings or Bytes[] through extension method Encrypt() and Decrypt() - uses AES CBC PKCS7
  • Simply obfuscate a String through extension Obfuscate() and Deobfuscate()
  • Simply convert to a Base64 string for Strings and Byte[] through extension method ToBase64()
  • Simply hash a String or Byte[] through extension methods ToSha1(), ToSha256() and ToMd5()


  • >= .NET 7

Latest Version

  • nuget doesnt show even though listed; just trying a bump
  • updated docs
Version history
  • View git history of this file if interested





Suggestions and feedback


  • Free
Product Compatible and additional computed target framework versions.
.NET net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on SystemLibrary.Common.Net:

Package Downloads

Library with classes and methods for every >= .NET 7 web application Installation Documentation with sample code


SystemLibrary.Common.Net.Json for any .NET >= 5 application - various reuseable extensions and a partial json searcher Selling points: * Extension for converting C# object to json string * Extension for converting json string to C# object * Extension for converting parts of a json string to C# object Documentation: Source code:

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated 216 4/28/2024 194 12/7/2023 503 10/11/2021