Skip to content

systemlibrary/systemlibrary-common-net

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

SystemLibrary Common Net

Description

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

Features

  • 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()

Requirements

  • >= .NET 7

Latest Version

  • 7.6.0.2
  • nuget doesnt show 7.6.0.1... even though listed; just trying a bump
  • updated docs

Version history

  • View git history of this file if interested

Installation

Documentation

Nuget

Source

Suggestions and feedback

License

  • Free

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published