SystemLibrary.Common.Net 7.18.0.16

Additional Details

Replaced by nuget package: SystemLibrary.Common.Framework

There is a newer version of this package available.
See the version list below for details.
dotnet add package SystemLibrary.Common.Net --version 7.18.0.16
                    
NuGet\Install-Package SystemLibrary.Common.Net -Version 7.18.0.16
                    
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="7.18.0.16" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SystemLibrary.Common.Net" Version="7.18.0.16" />
                    
Directory.Packages.props
<PackageReference Include="SystemLibrary.Common.Net" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add SystemLibrary.Common.Net --version 7.18.0.16
                    
#r "nuget: SystemLibrary.Common.Net, 7.18.0.16"
                    
#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.
#:package SystemLibrary.Common.Net@7.18.0.16
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=SystemLibrary.Common.Net&version=7.18.0.16
                    
Install as a Cake Addin
#tool nuget:?package=SystemLibrary.Common.Net&version=7.18.0.16
                    
Install as a Cake Tool

SystemLibrary Common Net

Description

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

Features

  • Extensions for Strings, Arrays, Lists, Enums, ... such as Is(), IsNot() and ToEnum()
  • Dump.Write() "equivalent" to console.log in javascript
  • Config<> class, inherit it and it reads .json config file that has the same name, and also runs transformations based on EnvironmentName
  • ToValue and ToText extensions on Enum, through two attributes: EnumText, EnumValue
  • Json() on any object, converting to json string or to a C# model from a json string
  • JsonPartial() on a json string, to convert only a part of the whole json, into the C# class, no need to model it all
  • Fire and forget in Async.Run()!
  • Cryptation of string or byte[] through the extension methods: Encrypt() and Decrypt() - uses AES CBC PKCS7
  • Obfuscate a string through extension Obfuscate() and Deobfuscate()
  • Convert to Base64 for string and byte[] through extension method ToBase64()
  • Hash anything through ToSha1(), ToSha256() and ToMd5() extensions for string, byte[] and Stream
  • Services.Get() as a service locator

Requirements

  • >= .NET 7

Latest Release Notes

  • 7.18.0.16
  • Md5, Sha1, Sha256 creates a new instance as they throw null 2-5% of the time in highly concurrent applications (fix)
Major Breaking Versions
  • 7.12.0.1
  • Cryptation rewritten, parameterless Encrypt() returns cipher text with a random IV
  • Cryptation environment key "SYSLIBCRYPTATIONKEY" removed
  • Json() conversions for date time rewritten
  • Config files read from 'content root', never /bin/
Version history
  • View git history of this file if interested

Installation

Documentation

Nuget

Source

Suggestions and feedback

License

  • 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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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.