CoreLib.CORE.Extensions.Compression 1.0.2

There is a newer version of this package available.
See the version list below for details.
dotnet add package CoreLib.CORE.Extensions.Compression --version 1.0.2                
NuGet\Install-Package CoreLib.CORE.Extensions.Compression -Version 1.0.2                
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="CoreLib.CORE.Extensions.Compression" Version="1.0.2" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add CoreLib.CORE.Extensions.Compression --version 1.0.2                
#r "nuget: CoreLib.CORE.Extensions.Compression, 1.0.2"                
#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 CoreLib.CORE.Extensions.Compression as a Cake Addin
#addin nuget:?package=CoreLib.CORE.Extensions.Compression&version=1.0.2

// Install CoreLib.CORE.Extensions.Compression as a Cake Tool
#tool nuget:?package=CoreLib.CORE.Extensions.Compression&version=1.0.2                

CoreLib

A bunch of helper classes for development. Below you will find a description of the library you are interested in:

CoreLib.ASP

This library contains action filter attributes such as:

  • CanonicalRedirectActionFilter - permanently redirects requested page to its canonical name.
  • DeleteFileAfterDownloadActionFilter - deletes the file after downloading.
  • GoogleReCaptchaValidationActionFilter and GoogleReCaptchaValidationPageFilter - for Google ReCaptcha validation.
  • ThrottleActionFilter - limits the execution of the target action in different ways.

Other interesting helper methods in this library:

  • Helper methods that check whether target controller action or page is currently displayed.
  • Helper methods that allows partial views to have their own scripts section.
  • A tag helper that adds a placeholder attribute with DisplayNameAttribute content to input element.
  • The rule that rewrites urls to lowercase.

CoreLib.ASP.Identity.Ru

Russian localization of error messages for the Microsoft.AspNetCore.Identity.UI package.

CoreLib.ASP.Extensions.YouTube

This library allows you to work with YouTube channels to get information about videos, e.g.:

  • Search for a channel by its id.
  • Get all videos from a channel.
  • Get all videos from a playlist.
  • Get all uploaded videos of a channel.
  • Get the latest channel videos.

CoreLib.CORE

The core library of helper classes and types extensions. Here are some interesting things:

  • SearchTypeHelper - a class that allows to search for a type by its name in the current or provided assembly. Can be used for SerializationBinder.
  • Predicates builder.
  • StringExtendedComparer - a helper class that is used to correctly sort strings containing numbers(natural sort).
  • ConcurrentSemaphore - very useful class for concurrent operations.

This library also contains some useful validation attributes:

  • CompareToAttribute
  • DateValidationAttribute
  • RequiredIfAttribute
  • RangeLengthAttribute

CoreLib.CORE.Extensions.Compression

A simple library that allows to pack a file or folder into a zip archive.

CoreLib.CORE.Extensions.Images

A library that allows to perform various operations with images using System.Drawing.Common or SkiaSharp:

  • Change quality.
  • Crop to circle.
  • Cut.
  • Reduce size.
  • Resize.

CoreLib.CORE.Extensions.Json

This library contains various converters for serialization with System.Text.Json:

  • CustomDateTimeConverter - allows to serialize and deserialize DateTime or DateTimeOffset in a specified format.
  • IpAddressConverter - allows to serialize and deserialize the IPAddress type.
  • JsonCamelCaseStringEnumConverter, JsonLowerCaseStringEnumConverter, JsonUpperCaseStringEnumConverter, JsonStringEnumMemberConverter - various converters for enums.
  • UnixTimestampConverter - allows to serialize and deserialize DateTime into a unix timestamp.

CoreLib.CORE.Extensions.Json.Newtonsoft

This library contains some converters for serialization from the previous library, but for Newtonsoft.Json. It also contains a deserializer that uses the SearchTypeHelper class from the CoreLib.CORE library above to search type in assemblies by name.

CoreLib.CORE.Extensions.Ru

This library contains some russian-specific helpers e.g.:

  • An extension method that converts an int value to its string representation in words.
  • Address and document authority formatters.
  • Various russian-specific regular expressions.
  • An extension method for transliterating strings.

CoreLib.Core.Extensions.Ru.GostEncryption

This library contains an implementation of the CryptoService class from the CoreLib.CORE library, which supports GOST encryption(grasshopper).

CoreLib.Core.Extensions.Ru.NameCasesGenerator

This library is a wrapper around the NameCaseLib.Core for generating russian name cases.

CoreLib.Core.Extensions.WEB

This library contains a helper class that handles http request cancellation using timeout and CancellationToken.

CoreLib.OPENXML

A library that allows to perform various operations with OpenXml documents e.g.:

  • Find and replace text in word document.
  • Find text and set it bold in word document.
  • Get all cells from the specified row in excel document.
  • Autosize cells in excel document.

CoreLib.STANDALONE

This library contains various helpers for developing standalone applications(WPF, Xamarin, MAUI):

  • Various converters for data bindings.
  • Implementation of ObservableDictionary.
  • ViewModelBase abstract class as base for the MVVM pattern.
  • Some helper wrapper classes for easier data binding.
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  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 is compatible.  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. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 is compatible. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.3 92 7/10/2024
1.0.2 115 4/24/2024
1.0.1 137 2/27/2024
1.0.0 287 10/17/2023