SystemLibrary.Common.Net
7.6.0.4
A newer version exist, but it has breaking changes regards to Encrypt(), Decrypt() (without params) and Transformation/Config are never read from "bin" anymore.
See the version list below for details.
dotnet add package SystemLibrary.Common.Net --version 7.6.0.4
NuGet\Install-Package SystemLibrary.Common.Net -Version 7.6.0.4
<PackageReference Include="SystemLibrary.Common.Net" Version="7.6.0.4" />
paket add SystemLibrary.Common.Net --version 7.6.0.4
#r "nuget: SystemLibrary.Common.Net, 7.6.0.4"
// Install SystemLibrary.Common.Net as a Cake Addin #addin nuget:?package=SystemLibrary.Common.Net&version=7.6.0.4 // Install SystemLibrary.Common.Net as a Cake Tool #tool nuget:?package=SystemLibrary.Common.Net&version=7.6.0.4
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.4
- Added SystemType IListType<>
Version history
- View git history of this file if interested
Installation
- Simply install the nuget package
- Installation guide
Documentation
Nuget
Source
Suggestions and feedback
License
- Free
Product | Versions 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. |
-
net7.0
- Microsoft.AspNetCore.DataProtection (>= 7.0.18)
- Microsoft.Extensions.Configuration.Binder (>= 7.0.4)
- Microsoft.Extensions.Configuration.EnvironmentVariables (>= 7.0.0)
- Microsoft.Extensions.Configuration.Json (>= 7.0.0)
- Microsoft.Extensions.Configuration.Xml (>= 7.0.0)
- Microsoft.Extensions.DependencyInjection (>= 7.0.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on SystemLibrary.Common.Net:
Package | Downloads |
---|---|
SystemLibrary.Common.Web
Library with classes and methods for every >= .NET 8 web application https://github.com/systemlibrary/systemlibrary-common-web/#Description Installation https://systemlibrary.github.io/systemlibrary-common-web/Install.html Documentation with sample code https://systemlibrary.github.io/systemlibrary-common-web/ |
GitHub repositories
This package is not used by any popular GitHub repositories.